The Task Manager class.
More...
Inherits SharedOwnership.
The Task Manager class.
The task manager is responsible for running action listeners' methods.
◆ TaskManager() [1/2]
iberbox::TaskManager::TaskManager |
( |
| ) |
|
Constructs a new Task Manager object.
◆ TaskManager() [2/2]
iberbox::TaskManager::TaskManager |
( |
std::function< void()> |
fireNotificationsRequested | ) |
|
Constructs a new Task Manager object.
- Parameters
-
◆ ~TaskManager()
virtual iberbox::TaskManager::~TaskManager |
( |
| ) |
|
|
virtual |
Destroys the Task Manager object.
◆ fireNotifications()
virtual void iberbox::TaskManager::fireNotifications |
( |
| ) |
|
|
virtual |
◆ onFireNotificationsRequested()
virtual void iberbox::TaskManager::onFireNotificationsRequested |
( |
| ) |
|
|
virtual |
◆ runTask()
virtual void iberbox::TaskManager::runTask |
( |
std::function< void()> |
callback | ) |
|
|
virtual |
Puts the callback
in a queue so as to run it in order of request.
Adds the callback
to the callback queue and invokes onFireNotificationsRequested.
- Parameters
-
callback | The function to be run. |
The documentation for this class was generated from the following file: