C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Class for notifying objects 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 *c) |
Unsubscribe from a signal. | |
void | Signal (MbeObjectChangeType type=oct_All) |
Send a signal about changes to the subscribers. | |
Class for notifying objects about changes of a certain object.
Class for sending signals about changes of an object to other objects. An object that wants to notify about its changes must have an instance of MbObjectChangeSignal class and call its Signal() method when gets modified. Objects that want to receive signals about changes of a certain object must have the Refresh( MbeObjectChangeType) method and subscribe to signals of this object.