![]() |
TrinityCore
|
Public Types | |
| typedef std::multiset< TaskContainer, Compare > | Container |
Public Member Functions | |
| void | Push (TaskContainer &&task) |
| void | Push (Container::node_type &&node) |
| Container::node_type | 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 | |
| Container | container |
Definition at line 166 of file TaskScheduler.h.
| typedef std::multiset<TaskContainer, Compare> TaskScheduler::TaskQueue::Container |
Definition at line 169 of file TaskScheduler.h.
| void TaskScheduler::TaskQueue::Clear | ( | ) |
Definition at line 234 of file TaskScheduler.cpp.
Referenced by TaskScheduler::CancelAll().
| TaskScheduler::TaskContainer const & TaskScheduler::TaskQueue::First | ( | ) | const |
Definition at line 229 of file TaskScheduler.cpp.
Referenced by TaskScheduler::Dispatch().
| bool TaskScheduler::TaskQueue::IsEmpty | ( | ) | const |
Definition at line 260 of file TaskScheduler.cpp.
Referenced by TaskScheduler::Dispatch().
| void TaskScheduler::TaskQueue::ModifyIf | ( | std::function< bool(TaskContainer const &)> const & | filter | ) |
Definition at line 248 of file TaskScheduler.cpp.
Referenced by TaskScheduler::DelayAll(), TaskScheduler::DelayGroup(), TaskScheduler::RescheduleAll(), and TaskScheduler::RescheduleGroup().
| TaskScheduler::TaskQueue::Container::node_type TaskScheduler::TaskQueue::Pop | ( | ) |
Pops the task out of the container.
Definition at line 224 of file TaskScheduler.cpp.
Referenced by TaskScheduler::Dispatch().
| void TaskScheduler::TaskQueue::Push | ( | Container::node_type && | node | ) |
Definition at line 219 of file TaskScheduler.cpp.
| void TaskScheduler::TaskQueue::Push | ( | TaskContainer && | task | ) |
Definition at line 214 of file TaskScheduler.cpp.
References container.
Referenced by TaskScheduler::InsertTask(), and TaskScheduler::InsertTask().
| void TaskScheduler::TaskQueue::RemoveIf | ( | std::function< bool(TaskContainer const &)> const & | filter | ) |
Definition at line 239 of file TaskScheduler.cpp.
Referenced by TaskScheduler::CancelGroup(), and TaskScheduler::CancelGroupsOf().
|
private |
Definition at line 172 of file TaskScheduler.h.
Referenced by Push().