#include <LogManager.h>
Public Member Functions | |
void | add (const T &state) |
void | clear () |
double | currentTime () |
void | enableRingBuffer (int len) |
void | faster () |
void | head () |
int | index () |
bool | isNewStateAdded () |
bool | isRecording () |
unsigned int | length () |
LogManager () | |
void | move (double ratio) |
void | next (int delta=1) |
void | play () |
void | prev (int delta=1) |
bool | record (double i_fps) |
void | slower () |
T & | state () |
bool | state (T &o_state) |
void | tail () |
double | time (int i) |
double | time () |
int | updateIndex () |
Protected Member Functions | |
void | setIndex (int i) |
Protected Attributes | |
bool | m_atLast |
int | m_index |
double | m_initT |
bool | m_isNewStateAdded |
std::deque< T > | m_log |
int | m_maxLogLength |
boost::mutex | m_mutex |
double | m_offsetT |
struct timeval | m_startT |
Definition at line 11 of file LogManager.h.
LogManager< T >::LogManager | ( | ) | [inline] |
Definition at line 14 of file LogManager.h.
Definition at line 17 of file LogManager.h.
void LogManager< T >::clear | ( | void | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 27 of file LogManager.h.
double LogManager< T >::currentTime | ( | void | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 55 of file LogManager.h.
void LogManager< T >::enableRingBuffer | ( | int | len | ) | [inline] |
Definition at line 157 of file LogManager.h.
void LogManager< T >::faster | ( | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 68 of file LogManager.h.
void LogManager< T >::head | ( | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 42 of file LogManager.h.
int LogManager< T >::index | ( | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 63 of file LogManager.h.
bool LogManager< T >::isNewStateAdded | ( | ) | [inline] |
Definition at line 54 of file LogManager.h.
bool LogManager< T >::isRecording | ( | ) | [inline] |
Reimplemented from LogManagerBase.
Definition at line 94 of file LogManager.h.
unsigned int LogManager< T >::length | ( | void | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 158 of file LogManager.h.
void LogManager< T >::move | ( | double | ratio | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 50 of file LogManager.h.
void LogManager< T >::next | ( | int | delta = 1 | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 38 of file LogManager.h.
void LogManager< T >::play | ( | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 95 of file LogManager.h.
void LogManager< T >::prev | ( | int | delta = 1 | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 34 of file LogManager.h.
bool LogManager< T >::record | ( | double | i_fps | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 84 of file LogManager.h.
void LogManager< T >::setIndex | ( | int | i | ) | [inline, protected] |
Definition at line 171 of file LogManager.h.
void LogManager< T >::slower | ( | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 76 of file LogManager.h.
T& LogManager< T >::state | ( | ) | [inline] |
Definition at line 140 of file LogManager.h.
bool LogManager< T >::state | ( | T & | o_state | ) | [inline] |
Definition at line 148 of file LogManager.h.
void LogManager< T >::tail | ( | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 46 of file LogManager.h.
double LogManager< T >::time | ( | int | i | ) | [inline] |
Definition at line 64 of file LogManager.h.
double LogManager< T >::time | ( | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 162 of file LogManager.h.
int LogManager< T >::updateIndex | ( | ) | [inline, virtual] |
Implements LogManagerBase.
Definition at line 108 of file LogManager.h.
bool LogManager< T >::m_atLast [protected] |
Definition at line 182 of file LogManager.h.
int LogManager< T >::m_index [protected] |
Definition at line 181 of file LogManager.h.
double LogManager< T >::m_initT [protected] |
Definition at line 183 of file LogManager.h.
bool LogManager< T >::m_isNewStateAdded [protected] |
Definition at line 182 of file LogManager.h.
std::deque<T> LogManager< T >::m_log [protected] |
Definition at line 180 of file LogManager.h.
int LogManager< T >::m_maxLogLength [protected] |
Definition at line 185 of file LogManager.h.
boost::mutex LogManager< T >::m_mutex [protected] |
Definition at line 187 of file LogManager.h.
double LogManager< T >::m_offsetT [protected] |
Definition at line 186 of file LogManager.h.
struct timeval LogManager< T >::m_startT [protected] |
Definition at line 184 of file LogManager.h.