This abstract class is used to provide the receiver functionallity used in the messaging class. More...
#include "aNotifier.h"
Public Member Functions | |
| aNotifier () | |
| Will initialize the notifier. | |
| virtual | ~aNotifier () |
| Destructor. | |
| virtual void | notify (ak::UID _senderId, ak::eventType _event, int _info1, int _info2)=0 |
| Will notify this receiver that a message was received by a sender. | |
| void | enable (void) |
| Will enable this notifier. | |
| void | disable (void) |
| Will disable this notifier. | |
| bool | isEnabled (void) const |
| Will return true if this notifier is enabled. | |
Protected Attributes | |
| bool | m_isEnabled |
This abstract class is used to provide the receiver functionallity used in the messaging class.
| ak::aNotifier::aNotifier | ( | ) |
Will initialize the notifier.
|
inlinevirtual |
Destructor.
| void ak::aNotifier::disable | ( | void | ) |
Will disable this notifier.
| void ak::aNotifier::enable | ( | void | ) |
Will enable this notifier.
| bool ak::aNotifier::isEnabled | ( | void | ) | const |
Will return true if this notifier is enabled.
|
pure virtual |
Will notify this receiver that a message was received by a sender.
| _senderId | The id of the sender the message was sent from |
| _event | The event message |
| _info1 | Message addition 1 |
| _info2 | Message addition 2 |
| std::exception | on any error occuring during the execution |
Implemented in ToolBar, ExternalServicesComponent, ViewerComponent, AppBase, and ak::aNotifierObjectManager.
|
protected |