Public Member Functions | |
Constructor / Destructor | |
virtual | ~CP_M_Listener () |
Destructor. | |
Broadcasters | |
void | AddBroadcaster (CP_M_Broadcaster *inBroadcaster) |
void | RemoveBroadcaster (CP_M_Broadcaster *inBroadcaster) |
Listing | |
virtual void | ListenForMessage (CP_Message &inMessage)=0 |
void | StartListening () |
void | StopListening () |
bool | IsListening () const |
Protected Member Functions | |
Constructor / Destructor | |
CP_M_Listener () | |
Protected Attributes | |
CP_Broadcasters * | fBroadcasters |
bool | fIsListening |
Private Member Functions | |
Constructor / Destructor | |
CP_M_Listener (const CP_M_Listener &) | |
operators | |
CP_M_Listener & | operator= (const CP_M_Listener &) |
|
Destructor. |
|
Constructor. |
|
|
|
Add a new CP_M_Broadcaster to our list of. If the object is already registered with us, then it is not added.
|
|
Remove a CP_M_Broadcaster object from our list.
|
|
Virtual method that subclasses must override.
|
|
Turns off classes from receiving messages.
|
|
Turns on classes to receive messages.
|
|
Returns the flag to indicate if we are currently listening for messages.
|
|
|
|
|
|
List of broadcasters for this listener. |