xoreos
0.0.5
|
#include <queueable.h>
Public Member Functions | |
Queueable () | |
virtual | ~Queueable () |
virtual bool | operator< (const Queueable &q) const |
Protected Member Functions | |
bool | isInQueue (QueueType queue) const |
void | addToQueue (QueueType queue) |
void | removeFromQueue (QueueType queue) |
void | lockQueue (QueueType queue) |
void | unlockQueue (QueueType queue) |
void | sortQueue (QueueType queue) |
Private Member Functions | |
void | removeFromAll () |
void | kickedOut (QueueType queue) |
Private Attributes | |
bool | _isInQueue [kQueueMAX] |
std::list< Queueable * >::iterator | _queueRef [kQueueMAX] |
Friends | |
class | QueueManager |
Definition at line 34 of file queueable.h.
Graphics::Queueable::Queueable | ( | ) |
Definition at line 32 of file queueable.cpp.
References _isInQueue, and Graphics::kQueueMAX.
|
virtual |
Definition at line 37 of file queueable.cpp.
References removeFromAll().
|
protected |
Definition at line 45 of file queueable.cpp.
References _isInQueue, _queueRef, and QueueMan.
Referenced by Graphics::Aurora::Texture::addToQueues(), Graphics::GLContainer::GLContainer(), Graphics::Mesh::Mesh::init(), Graphics::Shader::ShaderProgram::queue(), Graphics::Renderable::Renderable(), and Graphics::Renderable::show().
|
inlineprotected |
Definition at line 42 of file queueable.h.
References _isInQueue.
Referenced by Graphics::Renderable::isVisible().
|
private |
Definition at line 86 of file queueable.cpp.
References _isInQueue, and QueueMan.
|
protected |
Definition at line 67 of file queueable.cpp.
References QueueMan.
Referenced by Graphics::Renderable::show().
|
virtual |
Reimplemented in Graphics::Renderable.
Definition at line 41 of file queueable.cpp.
|
private |
Definition at line 81 of file queueable.cpp.
References Graphics::kQueueMAX, and removeFromQueue().
Referenced by ~Queueable().
|
protected |
Definition at line 56 of file queueable.cpp.
References _isInQueue, _queueRef, and QueueMan.
Referenced by Graphics::Renderable::hide(), Graphics::Mesh::Mesh::init(), removeFromAll(), Graphics::Aurora::Texture::removeFromQueues(), Graphics::Aurora::Cube::~Cube(), Graphics::GLContainer::~GLContainer(), Graphics::Mesh::Mesh::~Mesh(), and Graphics::Renderable::~Renderable().
|
protected |
Definition at line 75 of file queueable.cpp.
References QueueMan.
Referenced by Graphics::Renderable::resort(), and Graphics::Renderable::show().
|
protected |
Definition at line 71 of file queueable.cpp.
References QueueMan.
Referenced by Graphics::Renderable::show().
|
friend |
Definition at line 60 of file queueable.h.
|
private |
Definition at line 54 of file queueable.h.
Referenced by addToQueue(), isInQueue(), kickedOut(), Queueable(), and removeFromQueue().
Definition at line 55 of file queueable.h.
Referenced by addToQueue(), and removeFromQueue().