#include <CyclicList.h>
Public Member Functions | |
CyclicList (int p_size) | |
Standard constructor. | |
virtual | ~CyclicList () |
Standard desstructor. | |
int | moveOn () |
Moves to the next position. | |
T & | operator[] (int p_pos) |
Access operator for elements. | |
Public Attributes | |
std::vector< T > | myVec |
Holds the internal data. | |
int | myOffset |
Holds the current first-position. |
Definition at line 30 of file CyclicList.h.
CyclicList< T >::CyclicList | ( | int | p_size | ) | [inline] |
virtual CyclicList< T >::~CyclicList | ( | ) | [inline, virtual] |
int CyclicList< T >::moveOn | ( | ) | [inline] |
Moves to the next position.
Definition at line 55 of file CyclicList.h.
Referenced by Level::run().
T& CyclicList< T >::operator[] | ( | int | p_pos | ) | [inline] |
std::vector<T> CyclicList< T >::myVec |
Holds the internal data.
Definition at line 73 of file CyclicList.h.
Referenced by CyclicList< std::list< EventInterface * > >::CyclicList(), CyclicList< std::list< EventInterface * > >::moveOn(), and CyclicList< std::list< EventInterface * > >::operator[]().
int CyclicList< T >::myOffset |
Holds the current first-position.
Definition at line 78 of file CyclicList.h.
Referenced by CyclicList< std::list< EventInterface * > >::CyclicList(), CyclicList< std::list< EventInterface * > >::moveOn(), and CyclicList< std::list< EventInterface * > >::operator[]().