Eclipse SUMO - Simulation of Urban MObility
|
#include <MSSwarmTrafficLightLogic.h>
Public Member Functions | |
bool | addValue (const T newValue, T &replacedValue) |
T | at (const int index) const |
T | back () const |
CircularBuffer (int size) | |
void | clear () |
T | front () const |
void | push_front (const T value) |
int | size () const |
virtual | ~CircularBuffer () |
Private Member Functions | |
void | insert (const T &value) |
Private Attributes | |
T * | m_buffer |
int | m_currentIndex |
bool | m_firstTime |
int | m_size |
Definition at line 33 of file MSSwarmTrafficLightLogic.h.
|
inline |
Definition at line 35 of file MSSwarmTrafficLightLogic.h.
References CircularBuffer< T >::m_buffer, and CircularBuffer< T >::m_size.
|
inlinevirtual |
Definition at line 40 of file MSSwarmTrafficLightLogic.h.
References CircularBuffer< T >::m_buffer.
|
inline |
Definition at line 44 of file MSSwarmTrafficLightLogic.h.
References CircularBuffer< T >::insert(), CircularBuffer< T >::m_buffer, CircularBuffer< T >::m_currentIndex, and CircularBuffer< T >::m_firstTime.
|
inline |
Definition at line 57 of file MSSwarmTrafficLightLogic.h.
References CircularBuffer< T >::m_buffer, CircularBuffer< T >::m_currentIndex, and CircularBuffer< T >::m_size.
Referenced by CircularBuffer< T >::back(), and CircularBuffer< T >::front().
|
inline |
Definition at line 66 of file MSSwarmTrafficLightLogic.h.
References CircularBuffer< T >::at(), and CircularBuffer< T >::size().
|
inline |
Definition at line 77 of file MSSwarmTrafficLightLogic.h.
References CircularBuffer< T >::m_currentIndex, and CircularBuffer< T >::m_firstTime.
|
inline |
Definition at line 62 of file MSSwarmTrafficLightLogic.h.
References CircularBuffer< T >::at().
|
inlineprivate |
Definition at line 88 of file MSSwarmTrafficLightLogic.h.
References CircularBuffer< T >::m_buffer, CircularBuffer< T >::m_currentIndex, CircularBuffer< T >::m_firstTime, and CircularBuffer< T >::m_size.
Referenced by CircularBuffer< T >::addValue(), and CircularBuffer< T >::push_front().
|
inline |
Definition at line 53 of file MSSwarmTrafficLightLogic.h.
References CircularBuffer< T >::insert().
|
inline |
Definition at line 70 of file MSSwarmTrafficLightLogic.h.
References CircularBuffer< T >::m_currentIndex, CircularBuffer< T >::m_firstTime, and CircularBuffer< T >::m_size.
Referenced by CircularBuffer< T >::back().
|
private |
Definition at line 83 of file MSSwarmTrafficLightLogic.h.
Referenced by CircularBuffer< T >::addValue(), CircularBuffer< T >::at(), CircularBuffer< T >::CircularBuffer(), CircularBuffer< T >::insert(), and CircularBuffer< T >::~CircularBuffer().
|
private |
Definition at line 85 of file MSSwarmTrafficLightLogic.h.
Referenced by CircularBuffer< T >::addValue(), CircularBuffer< T >::at(), CircularBuffer< T >::clear(), CircularBuffer< T >::insert(), and CircularBuffer< T >::size().
|
private |
Definition at line 86 of file MSSwarmTrafficLightLogic.h.
Referenced by CircularBuffer< T >::addValue(), CircularBuffer< T >::clear(), CircularBuffer< T >::insert(), and CircularBuffer< T >::size().
|
private |
Definition at line 84 of file MSSwarmTrafficLightLogic.h.
Referenced by CircularBuffer< T >::at(), CircularBuffer< T >::CircularBuffer(), CircularBuffer< T >::insert(), and CircularBuffer< T >::size().