TibrvEvent

Class

Declaration

class TibrvEvent

Purpose

Event objects represent program interest in events, and event occurrences.

Remarks

Programs create instances of event subclasses of TibrvEvent, but not of this superclass.

Each call to a Rendezvous event create method results in a new event object, which represents your program’s interest in a set of events. Rendezvous software uses the same event object to signal each occurrence of such an event.

Destroying an event object cancels the program’s interest in that event. Destroying the queue or transport of an event automatically destroys the event as well.

Although the fault tolerance classes are technically events, they are sufficiently different from listeners and timers that they require separate description. See Fault Tolerance.

Method

Description

TibrvEvent::destroy()

Destroy an event, canceling interest.

TibrvEvent::getClosure()

Extract the closure data of an event object.

TibrvEvent::getHandle()

Return the C event handle of this C++ event object.

TibrvEvent::getType()

Return the C event type token of an event object.

TibrvEvent::getQueue()

Extract the queue of an event object.

TibrvEvent::isIOEvent()

Test whether this event object is an I/O event.

TibrvEvent::isListener()

Test whether this event object is a listener.

TibrvEvent::isTimer()

Test whether this event object is a timer.

TibrvEvent::isValid()

Test whether an event has been destroyed.

TibrvEvent::isVectorListener()

Test whether this event object is a vector listener.

Descendants

TibrvListener

TibrvVectorListener

TibrvTimer

TIBRVFT_ACTIVATE

TibrvCmListener