operator ==

The == operator is a comparison function used by OMTimerManager to manipulate its heap structure. It determines whether the current values of destination and Timeout are the same as those of the specified timeout.

The comparison yields one of the following values:

Visibility
Public
Signature
int operator == (OMTimeout& tn) {
   OMBoolean matchDest = getDestination() ==
      tn.getDestination();
   OMBoolean matchId = ((getTimeoutId() ==
      tn.getTimeoutId()) ||
      (getTimeoutId() == OMEventAnyEventId) || 
      (OMEventAnyEventId == tn.getTimeoutId())); 
   return (matchDest && matchId);}
Parameters
tn

Specifies the address of the timeout


Feedback