Observable::PostEvent
Defined in:
Posts an event to an observable object.
TSObservable.h
Prototype
virtual void PostEvent(eventType event);
Parameters
event |
The event to post. |
Description
The PostEvent
function posts the event specified by the event
parameter to an observable object. This function is normally called by the observable object itself. When this function is called, the event is sent to each observer currently installed. (The order in which observers are invoked is undefined.)If
eventType
is void
for an observable object, then the event
parameter should simply be omitted.
See Also