Public Member Functions | |
Constructor / Destructor | |
virtual | ~CP_M_Broadcaster () |
Constructor. | |
Listeners | |
void | AddListener (CP_M_Listener *inListener) |
void | RemoveListener (CP_M_Listener *inListener) |
Message | |
void | BroadcastMessage (CP_Message &inMessage) |
Protected Member Functions | |
Constructor / Destructor | |
CP_M_Broadcaster () | |
Constructor. | |
Protected Attributes | |
CP_Listeners * | fListeners |
Private Member Functions | |
No Copy | |
CP_M_Broadcaster (const CP_M_Broadcaster &inBroadcaster) | |
CP_M_Broadcaster & | operator= (const CP_M_Broadcaster &inString) |
|
Destructor.
|
|
Constructor.
|
|
|
|
Adds the passed in listener to the list of listeners maintained for this object. It first verifies that the listener is not already a member of the known listeners for this object.
|
|
Remove the passed in listener from the list of listeners maintained by this object.
|
|
Sends the passed in message to all of the listeners registered with this object.
|
|
|
|
|