16 #include <rtm/idl/BasicDataType.hh> 17 #include <rtm/idl/ExtendedDataTypes.hh> 18 #include "hrpsys/idl/HRPDataTypes.hh" 20 #include <rtm/DataFlowComponentBase.h> 24 #include <rtm/idl/BasicDataTypeSkel.h> 25 #include <rtm/idl/ExtendedDataTypesSkel.h> 40 #define DEFAULT_MAX_LOG_LENGTH (200*20) 46 virtual const char *
name() = 0;
47 virtual void clear() = 0;
48 virtual void dumpLog(std::ostream& os,
unsigned int precision = 0) = 0;
49 virtual void log() = 0;
50 void maxLength(
unsigned int len) { m_maxLength = len; }
74 virtual RTC::ReturnCode_t onInitialize();
119 bool add(
const char *i_type,
const char *i_name);
120 bool save(
const char *i_basename);
122 void suspendLogging();
123 void resumeLogging();
124 void maxLength(
unsigned int len);
177 #endif // DATA_LOGGER_H
void save(int w, int h, const char *i_fname)
#define DEFAULT_MAX_LOG_LENGTH
void clear(CorbaSequence &seq)
RTC::CorbaPort m_DataLoggerServicePort
png_infop png_charpp name
sample RT component which has one data input port and one data output port
void DataLoggerInit(RTC::Manager *manager)
TimedLong m_emergencySignal
ExecutionContextHandle_t UniqueId
coil::Mutex m_suspendFlagMutex
unsigned int m_log_precision
DataLoggerService_impl m_service0
InPort< TimedLong > m_emergencySignalIn
std::vector< LoggerPortBase * > m_ports
void maxLength(unsigned int len)