#include <eosim/utils/entityqueuefifo.hpp>
Inheritance diagram for eosim::utils::EntityQueueFifo:
Public Member Functions | |
EntityQueueFifo () | |
The constructor creates an empty EntityQueueFifo. | |
~EntityQueueFifo () | |
The destructor of EntityQueueFifo. | |
void | push (core::Entity *ent) |
This operation adds ent at the end of queue. | |
core::Entity * | pop () |
This operation returns and remove the first entity in the queue. | |
void | remove (unsigned int i) |
This operation removes the entity whose position is i. | |
bool | empty () |
This operation returns 1 if the queue is empty. | |
core::Entity * | operator[] (unsigned int i) |
This operation returns the entity whose position is i. | |
unsigned int | size () |
This operation returns the size of the queue. |
Entity * EntityQueueFifo::pop | ( | ) | [virtual] |
This operation returns and remove the first entity in the queue.
Implements eosim::utils::EntityQueue.
void EntityQueueFifo::remove | ( | unsigned int | i | ) | [virtual] |
This operation removes the entity whose position is i.
Implements eosim::utils::EntityQueue.
Entity * EntityQueueFifo::operator[] | ( | unsigned int | i | ) | [virtual] |
This operation returns the entity whose position is i.
Implements eosim::utils::EntityQueue.