Public Member Functions | Protected Attributes | List of all members
LoggerPort< T > Class Template Reference
Inheritance diagram for LoggerPort< T >:
Inheritance graph
[legend]

Public Member Functions

void clear ()
 
virtual void dumpLog (std::ostream &os, unsigned int precision=0)
 
void log ()
 
 LoggerPort (const char *name)
 
const char * name ()
 
InPort< T > & port ()
 
void printLog (std::ostream &os, T &data, unsigned int precision=0)
 
- Public Member Functions inherited from LoggerPortBase
 LoggerPortBase ()
 
void maxLength (unsigned int len)
 

Protected Attributes

m_data
 
std::deque< T > m_log
 
InPort< T > m_port
 
- Protected Attributes inherited from LoggerPortBase
unsigned int m_maxLength
 

Detailed Description

template<class T>
class LoggerPort< T >

Definition at line 185 of file DataLogger.cpp.

Constructor & Destructor Documentation

template<class T>
LoggerPort< T >::LoggerPort ( const char *  name)
inline

Definition at line 188 of file DataLogger.cpp.

Member Function Documentation

template<class T>
void LoggerPort< T >::clear ( void  )
inlinevirtual

Implements LoggerPortBase.

Definition at line 216 of file DataLogger.cpp.

template<class T>
virtual void LoggerPort< T >::dumpLog ( std::ostream &  os,
unsigned int  precision = 0 
)
inlinevirtual

Implements LoggerPortBase.

Reimplemented in LoggerPortForPointCloud.

Definition at line 192 of file DataLogger.cpp.

template<class T>
void LoggerPort< T >::log ( )
inlinevirtual

Implements LoggerPortBase.

Definition at line 207 of file DataLogger.cpp.

template<class T>
const char* LoggerPort< T >::name ( )
inlinevirtual

Implements LoggerPortBase.

Definition at line 189 of file DataLogger.cpp.

template<class T>
InPort<T>& LoggerPort< T >::port ( )
inline

Definition at line 204 of file DataLogger.cpp.

template<class T>
void LoggerPort< T >::printLog ( std::ostream &  os,
T &  data,
unsigned int  precision = 0 
)
inline

Definition at line 198 of file DataLogger.cpp.

Member Data Documentation

template<class T>
T LoggerPort< T >::m_data
protected

Definition at line 221 of file DataLogger.cpp.

template<class T>
std::deque<T> LoggerPort< T >::m_log
protected

Definition at line 222 of file DataLogger.cpp.

template<class T>
InPort<T> LoggerPort< T >::m_port
protected

Definition at line 220 of file DataLogger.cpp.


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


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:52