OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ak::aNotifierObjectManager Class Reference

This notifier is used to notify the core application about incoming events and errors. More...

#include "aNotifierObjectManager.h"

Inheritance diagram for ak::aNotifierObjectManager:
ak::aNotifier

Public Member Functions

 aNotifierObjectManager (aObjectManager *_manager)
 Constructor.
 
virtual ~aNotifierObjectManager (void)
 Deconstructor.
 
virtual void notify (UID _senderId, eventType _event, int _info1, int _info2) override
 Will call the callback function with the provided parameters.
 
- Public Member Functions inherited from ak::aNotifier
 aNotifier ()
 Will initialize the notifier.
 
virtual ~aNotifier ()
 Destructor.
 
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.
 

Additional Inherited Members

- Protected Attributes inherited from ak::aNotifier
bool m_isEnabled
 

Detailed Description

This notifier is used to notify the core application about incoming events and errors.

Constructor & Destructor Documentation

◆ aNotifierObjectManager()

ak::aNotifierObjectManager::aNotifierObjectManager ( aObjectManager * _manager)

Constructor.

Parameters
_uiThe UI_test class where messages will be formwarded to
Exceptions
ak::Exceptionwhen the provided UI_test class was a nullptr

◆ ~aNotifierObjectManager()

ak::aNotifierObjectManager::~aNotifierObjectManager ( void )
virtual

Deconstructor.

Member Function Documentation

◆ notify()

void ak::aNotifierObjectManager::notify ( UID _senderId,
eventType _event,
int _info1,
int _info2 )
overridevirtual

Will call the callback function with the provided parameters.

Parameters
_senderIdThe sender ID the message was send from
_eventThe event message
_info1Message addition 1
_info2Message addition 2
Exceptions
ak::Exceptionto forward exceptions coming from the application core class

Implements ak::aNotifier.


The documentation for this class was generated from the following files: