TrinityCore
Loading...
Searching...
No Matches
TaskScheduler::TaskQueue Class Reference

Public Types

typedef std::multiset< TaskContainer, CompareContainer
 

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
 

Detailed Description

Definition at line 166 of file TaskScheduler.h.

Member Typedef Documentation

◆ Container

Definition at line 169 of file TaskScheduler.h.

Member Function Documentation

◆ Clear()

void TaskScheduler::TaskQueue::Clear ( )

Definition at line 234 of file TaskScheduler.cpp.

+ Here is the caller graph for this function:

◆ First()

TaskScheduler::TaskContainer const & TaskScheduler::TaskQueue::First ( ) const

Definition at line 229 of file TaskScheduler.cpp.

+ Here is the caller graph for this function:

◆ IsEmpty()

bool TaskScheduler::TaskQueue::IsEmpty ( ) const

Definition at line 260 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 248 of file TaskScheduler.cpp.

+ Here is the caller graph for this function:

◆ Pop()

TaskScheduler::TaskQueue::Container::node_type TaskScheduler::TaskQueue::Pop ( )

Pops the task out of the container.

Definition at line 224 of file TaskScheduler.cpp.

+ Here is the caller graph for this function:

◆ Push() [1/2]

void TaskScheduler::TaskQueue::Push ( Container::node_type &&  node)

Definition at line 219 of file TaskScheduler.cpp.

◆ Push() [2/2]

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

Definition at line 214 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 239 of file TaskScheduler.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ container

Container TaskScheduler::TaskQueue::container
private

Definition at line 172 of file TaskScheduler.h.


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