Observable::PostEvent
Defined in: C4Observable.h
Posts an event to an observable object.
Prototype
virtual void PostEvent(eventType event);
Parameters
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
Observable::HasObservers
Observable::AddObserver
Observable::RemoveObserver
|