TrinityCore
TaskScheduler::TaskQueue Class Reference

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 IsEmpty () const
 

Private Attributes

std::multiset< TaskContainer, Comparecontainer
 

Detailed Description

Definition at line 129 of file TaskScheduler.h.

Member Function Documentation

◆ Clear()

void TaskScheduler::TaskQueue::Clear ( )

Definition at line 132 of file TaskScheduler.cpp.

+ Here is the caller graph for this function:

◆ First()

auto TaskScheduler::TaskQueue::First ( ) const

Definition at line 127 of file TaskScheduler.cpp.

+ Here is the caller graph for this function:

◆ IsEmpty()

bool TaskScheduler::TaskQueue::IsEmpty ( ) const

Definition at line 161 of file TaskScheduler.cpp.

+ Here is the caller graph for this function:

◆ ModifyIf()

void TaskScheduler::TaskQueue::ModifyIf ( std::function< bool(TaskContainer const &)> const &  filter)

Definition at line 146 of file TaskScheduler.cpp.

+ Here is the caller graph for this function:

◆ Pop()

auto TaskScheduler::TaskQueue::Pop ( )

Pops the task out of the container.

Definition at line 120 of file TaskScheduler.cpp.

+ Here is the caller graph for this function:

◆ Push()

void TaskScheduler::TaskQueue::Push ( TaskContainer &&  task)

Definition at line 115 of file TaskScheduler.cpp.

+ Here is the caller graph for this function:

◆ RemoveIf()

void TaskScheduler::TaskQueue::RemoveIf ( std::function< bool(TaskContainer const &)> const &  filter)

Definition at line 137 of file TaskScheduler.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ container

std::multiset<TaskContainer, Compare> TaskScheduler::TaskQueue::container
private

Definition at line 131 of file TaskScheduler.h.


The documentation for this class was generated from the following files: