13 #include "iberbox/config.h" 14 #include "iberbox/ownership.h" 18 #include <scapix/bridge/object.h> 29 ,
public scapix::bridge::object<TaskManager>
41 TaskManager(std::function<
void()> fireNotificationsRequested);
62 virtual void runTask(std::function<
void()> callback);
65 CallbackQueue mCallbackQueue;
66 std::function<void()> mFireNotificationsRequested;
The iberbox namespace.
Definition: task.h:21
virtual void fireNotifications()
virtual void runTask(std::function< void()> callback)
Puts the callback in a queue so as to run it in order of request.
The Task Manager class.
Definition: task.h:27
virtual void onFireNotificationsRequested()
TaskManager()
Constructs a new Task Manager object.
virtual ~TaskManager()
Destroys the Task Manager object.
TaskManager * TaskManagerType
Definition: task.h:72