AIStatefulTask ‐ Asynchronous, Stateful Task Scheduler library. Threads-like task objects evolving through user-defined states. |
Tasks defined by the library project are put into this namespace. More...
Classes | |
class | AdoptLock |
class | BrokerKey |
struct | BrokerKeyEqual |
struct | BrokerKeyHash |
class | DefaultMemoryPagePool |
class | ResourceFactory |
class | ResourcePool |
class | RunningTasksTracker |
class | TaskCounterGate |
class | TaskEvent |
Functions | |
template<task::TaskType TaskType, typename... ARGS> | |
boost::intrusive_ptr< TaskType > | create (ARGS &&... args) |
Convenience function to create tasks. More... | |
template<task::TaskType TaskType, typename... ARGS> | |
boost::intrusive_ptr< TaskType > | create_from_tuple (std::tuple< ARGS... > &&args) |
Tasks defined by the library project are put into this namespace.
boost::intrusive_ptr< TaskType > statefultask::create | ( | ARGS &&... | args | ) |
Convenience function to create tasks.
Typical usage,
Or, for a one-shot task