76 INLINE
void AsyncTaskManager::
78 if (!task->get_name().empty()) {
79 _tasks_by_name.insert(task);
A class to manage a loose queue of isolated tasks, which can be performed either synchronously (in th...
A lightweight C++ object whose constructor calls acquire() and whose destructor calls release() on a ...
A ClockObject keeps track of elapsed real time and discrete time.
int get_num_tasks() const
Returns the number of tasks that are currently active or sleeping within the task manager...
This class represents a concrete task performed by an AsyncManager.
ClockObject * get_clock()
Returns the clock pointer used within the AsyncTaskManager.
void set_clock(ClockObject *clock)
Replaces the clock pointer used within the AsyncTaskManager.
static AsyncTaskManager * get_global_ptr()
Returns a pointer to the global AsyncTaskManager.