Public Member Functions | Protected Member Functions | Protected Attributes
LogManager< T > Class Template Reference

#include <LogManager.h>

Inheritance diagram for LogManager< T >:
Inheritance graph
[legend]

List of all members.

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 ()
Tstate ()
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< Tm_log
int m_maxLogLength
boost::mutex m_mutex
double m_offsetT
struct timeval m_startT

Detailed Description

template<class T>
class LogManager< T >

Definition at line 11 of file LogManager.h.


Constructor & Destructor Documentation

template<class T>
LogManager< T >::LogManager ( ) [inline]

Definition at line 14 of file LogManager.h.


Member Function Documentation

template<class T>
void LogManager< T >::add ( const T state) [inline]

Definition at line 17 of file LogManager.h.

template<class T>
void LogManager< T >::clear ( void  ) [inline, virtual]

Implements LogManagerBase.

Definition at line 27 of file LogManager.h.

template<class T>
double LogManager< T >::currentTime ( void  ) [inline, virtual]

Implements LogManagerBase.

Definition at line 55 of file LogManager.h.

template<class T>
void LogManager< T >::enableRingBuffer ( int  len) [inline]

Definition at line 157 of file LogManager.h.

template<class T>
void LogManager< T >::faster ( ) [inline, virtual]

Implements LogManagerBase.

Definition at line 68 of file LogManager.h.

template<class T>
void LogManager< T >::head ( ) [inline, virtual]

Implements LogManagerBase.

Definition at line 42 of file LogManager.h.

template<class T>
int LogManager< T >::index ( ) [inline, virtual]

Implements LogManagerBase.

Definition at line 63 of file LogManager.h.

template<class T>
bool LogManager< T >::isNewStateAdded ( ) [inline]

Definition at line 54 of file LogManager.h.

template<class T>
bool LogManager< T >::isRecording ( ) [inline]

Reimplemented from LogManagerBase.

Definition at line 94 of file LogManager.h.

template<class T>
unsigned int LogManager< T >::length ( void  ) [inline, virtual]

Implements LogManagerBase.

Definition at line 158 of file LogManager.h.

template<class T>
void LogManager< T >::move ( double  ratio) [inline, virtual]

Implements LogManagerBase.

Definition at line 50 of file LogManager.h.

template<class T>
void LogManager< T >::next ( int  delta = 1) [inline, virtual]

Implements LogManagerBase.

Definition at line 38 of file LogManager.h.

template<class T>
void LogManager< T >::play ( ) [inline, virtual]

Implements LogManagerBase.

Definition at line 95 of file LogManager.h.

template<class T>
void LogManager< T >::prev ( int  delta = 1) [inline, virtual]

Implements LogManagerBase.

Definition at line 34 of file LogManager.h.

template<class T>
bool LogManager< T >::record ( double  i_fps) [inline, virtual]

Implements LogManagerBase.

Definition at line 84 of file LogManager.h.

template<class T>
void LogManager< T >::setIndex ( int  i) [inline, protected]

Definition at line 171 of file LogManager.h.

template<class T>
void LogManager< T >::slower ( ) [inline, virtual]

Implements LogManagerBase.

Definition at line 76 of file LogManager.h.

template<class T>
T& LogManager< T >::state ( ) [inline]

Definition at line 140 of file LogManager.h.

template<class T>
bool LogManager< T >::state ( T o_state) [inline]

Definition at line 148 of file LogManager.h.

template<class T>
void LogManager< T >::tail ( ) [inline, virtual]

Implements LogManagerBase.

Definition at line 46 of file LogManager.h.

template<class T>
double LogManager< T >::time ( int  i) [inline]

Definition at line 64 of file LogManager.h.

template<class T>
double LogManager< T >::time ( ) [inline, virtual]

Implements LogManagerBase.

Definition at line 162 of file LogManager.h.

template<class T>
int LogManager< T >::updateIndex ( ) [inline, virtual]

Implements LogManagerBase.

Definition at line 108 of file LogManager.h.


Member Data Documentation

template<class T>
bool LogManager< T >::m_atLast [protected]

Definition at line 182 of file LogManager.h.

template<class T>
int LogManager< T >::m_index [protected]

Definition at line 181 of file LogManager.h.

template<class T>
double LogManager< T >::m_initT [protected]

Definition at line 183 of file LogManager.h.

template<class T>
bool LogManager< T >::m_isNewStateAdded [protected]

Definition at line 182 of file LogManager.h.

template<class T>
std::deque<T> LogManager< T >::m_log [protected]

Definition at line 180 of file LogManager.h.

template<class T>
int LogManager< T >::m_maxLogLength [protected]

Definition at line 185 of file LogManager.h.

template<class T>
boost::mutex LogManager< T >::m_mutex [protected]

Definition at line 187 of file LogManager.h.

template<class T>
double LogManager< T >::m_offsetT [protected]

Definition at line 186 of file LogManager.h.

template<class T>
struct timeval LogManager< T >::m_startT [protected]

Definition at line 184 of file LogManager.h.


The documentation for this class was generated from the following file:


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed May 15 2019 05:02:20