AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
void | Push (TaskContainer &&task) |
TaskContainer | Pop () |
Pops the task out of the container. More... | |
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 | IsGroupQueued (group_t const group) |
Check if the group exists and is currently scheduled. More... | |
bool | IsEmpty () const |
Private Attributes | |
std::multiset< TaskContainer, Compare > | container |
void TaskScheduler::TaskQueue::Clear | ( | ) |
Referenced by TaskScheduler::CancelAll().
auto TaskScheduler::TaskQueue::First | ( | ) | const |
Referenced by TaskScheduler::Dispatch().
bool TaskScheduler::TaskQueue::IsEmpty | ( | ) | const |
Referenced by TaskScheduler::Dispatch().
bool TaskScheduler::TaskQueue::IsGroupQueued | ( | group_t const | group | ) |
Check if the group exists and is currently scheduled.
Referenced by TaskScheduler::IsGroupScheduled().
void TaskScheduler::TaskQueue::ModifyIf | ( | std::function< bool(TaskContainer const &)> const & | filter | ) |
Referenced by TaskScheduler::DelayAll(), TaskScheduler::DelayGroup(), TaskScheduler::RescheduleAll(), and TaskScheduler::RescheduleGroup().
auto TaskScheduler::TaskQueue::Pop | ( | ) |
Pops the task out of the container.
Referenced by TaskScheduler::Dispatch().
void TaskScheduler::TaskQueue::Push | ( | TaskContainer && | task | ) |
References container.
Referenced by TaskScheduler::InsertTask().
void TaskScheduler::TaskQueue::RemoveIf | ( | std::function< bool(TaskContainer const &)> const & | filter | ) |
Referenced by TaskScheduler::CancelGroup().
|
private |
Referenced by Push().