![]() |
TrinityCore
|
Public Member Functions | |
| void | Push (TaskContainer &&task) |
| TaskContainer | Pop () |
| Pops the task out of the container. | |
| TaskContainer const & | First () const |
| void | Clear () |
| void | RemoveIf (std::function< bool(TaskContainer const &)> const &filter) |
| void | ModifyIf (std::function< bool(TaskContainer const &)> const &filter) |
| bool | IsEmpty () const |
Private Attributes | |
| std::multiset< TaskContainer, Compare > | container |
Definition at line 127 of file TaskScheduler.h.
| void TaskScheduler::TaskQueue::Clear | ( | ) |
Definition at line 131 of file TaskScheduler.cpp.
Referenced by TaskScheduler::CancelAll().
| auto TaskScheduler::TaskQueue::First | ( | ) | const |
Definition at line 126 of file TaskScheduler.cpp.
Referenced by TaskScheduler::Dispatch().
| bool TaskScheduler::TaskQueue::IsEmpty | ( | ) | const |
Definition at line 160 of file TaskScheduler.cpp.
Referenced by TaskScheduler::Dispatch().
| void TaskScheduler::TaskQueue::ModifyIf | ( | std::function< bool(TaskContainer const &)> const & | filter | ) |
Definition at line 145 of file TaskScheduler.cpp.
Referenced by TaskScheduler::DelayAll(), TaskScheduler::DelayGroup(), TaskScheduler::RescheduleAll(), and TaskScheduler::RescheduleGroup().
| auto TaskScheduler::TaskQueue::Pop | ( | ) |
Pops the task out of the container.
Definition at line 119 of file TaskScheduler.cpp.
Referenced by TaskScheduler::Dispatch().
| void TaskScheduler::TaskQueue::Push | ( | TaskContainer && | task | ) |
Definition at line 114 of file TaskScheduler.cpp.
References container.
Referenced by TaskScheduler::InsertTask().
| void TaskScheduler::TaskQueue::RemoveIf | ( | std::function< bool(TaskContainer const &)> const & | filter | ) |
Definition at line 136 of file TaskScheduler.cpp.
Referenced by TaskScheduler::CancelGroup().
|
private |
Definition at line 129 of file TaskScheduler.h.
Referenced by Push().