|
OpenSDN source code
|
A private class used to implement tbb::task An object is created when task is ready for execution and registered with tbb::task. More...

Public Member Functions | |
| TaskFunctor (Task *t) | |
| Creates a new instance of TaskFunctor using the provided implementaton (a parent). More... | |
| TaskFunctor (const TaskFunctor &tf) | |
| Creates a copy of the object. More... | |
| TaskFunctor (TaskFunctor &&tf) | |
| virtual | ~TaskFunctor () |
| Destructor is called when a task execution is compeleted. Invoked implicitly by tbb::task. Invokes OnTaskExit to schedule tasks pending tasks. More... | |
| void | operator() () const |
| Method called from TBB to execute the task. Invokes Run() method of the parent (an implementation). Supports task continuation when Run() returns false. More... | |
Private Member Functions | |
| const TaskFunctor & | operator= (const TaskFunctor)=delete |
Private Attributes | |
| Task * | parent_ |
A private class used to implement tbb::task An object is created when task is ready for execution and registered with tbb::task.
|
inline |
Creates a new instance of TaskFunctor using the provided implementaton (a parent).
|
inline |
|
inline |
|
virtual |
| void TaskFunctor::operator() | ( | ) | const |
|
privatedelete |