C4 Engine
C4 Engine API Documentation

ExclusiveObservable::PostEvent

Defined in:  TSObservable.h
Posts an event to an observable object.
Prototype

virtual bool 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 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