#include "Queue.h"
|
| | SimpleQueue () |
| |
| virtual | ~SimpleQueue () |
| |
| virtual void | queue (QueueObject *_obj, QueueData *_arg=(QueueData *) nullptr) noexcept override |
| | Add the provided object to the queue.
|
| |
| virtual void | queueNext (QueueObject *_obj, QueueData *_arg=(QueueData *) nullptr) noexcept override |
| | Add the provided object to the front of the queue.
|
| |
| virtual bool | executeQueue (void) override |
| | Execute the queue.
|
| |
| void | clearQueue (void) |
| | Clear the queue.
|
| |
|
| void | checkAndDestroy (QueueDestroyableObject *_obj) |
| | Will clear the memory according to the objects cleanup flags.
|
| |
◆ SimpleQueue()
| ot::SimpleQueue::SimpleQueue |
( |
| ) |
|
◆ ~SimpleQueue()
| ot::SimpleQueue::~SimpleQueue |
( |
| ) |
|
|
virtual |
◆ checkAndDestroy()
| void ot::SimpleQueue::checkAndDestroy |
( |
QueueDestroyableObject * | _obj | ) |
|
|
protected |
Will clear the memory according to the objects cleanup flags.
- Note
- Note that the provided object might be destroyed after calling this function
◆ clearQueue()
| void ot::SimpleQueue::clearQueue |
( |
void | | ) |
|
◆ executeQueue()
| bool ot::SimpleQueue::executeQueue |
( |
void | | ) |
|
|
overridevirtual |
◆ queue()
| void ot::SimpleQueue::queue |
( |
QueueObject * | _obj, |
|
|
QueueData * | _arg = (QueueData*)nullptr ) |
|
overridevirtualnoexcept |
Add the provided object to the queue.
- Parameters
-
| _obj | The object to add to the queue |
| _arg | The arguments object that will be passed to the objects activate call |
◆ queueNext()
| void ot::SimpleQueue::queueNext |
( |
QueueObject * | _obj, |
|
|
QueueData * | _arg = (QueueData*)nullptr ) |
|
overridevirtualnoexcept |
Add the provided object to the front of the queue.
- Parameters
-
| _obj | The object to add to the queue |
| _arg | The arguments object that will be passed to the objects activate call |
The documentation for this class was generated from the following files: