ExclusiveObservable::PostEvent
Defined in: C4Observable.h
Posts an event to an observable object.
Prototype
virtual bool 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 and there is an observer installed, the event is sent to the observer, and true is returned. If there is no observer installed, then the return value is false.
If eventType is void for an observable object, then the event parameter should simply be omitted.
See Also
ExclusiveObservable::HasObserver
ExclusiveObservable::SetObserver
|