C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Class for notifying a single object about changes of a certain object. More...
#include <mb_data.h>
Public Member Functions | |
void | Subscribe (Object *c) |
Subscribe to a signal. | |
void | Unsubscribe (Object *) |
Unsubscribe from a signal. | |
void | Signal (MbeObjectChangeType type=oct_All) |
Send a signal about changes to the subscribers. | |
Class for notifying a single object about changes of a certain object.
Class for sending signals about changes of an object to another object. An object which wants to notify about its changes must have an instance of MbObjectChangeSignal class and call its Signal() method when gets modified. An object which will receive signals about changes of a certain object must have the Refresh( MbeObjectChangeType) method and subscribe to signals of this object. Signal works without locking.