sample RT component which has one data input port and one data output port More...
#include <DataLogger.h>
Public Member Functions | |
bool | add (const char *i_type, const char *i_name) |
bool | clear () |
DataLogger (RTC::Manager *manager) | |
Constructor. | |
void | maxLength (unsigned int len) |
virtual RTC::ReturnCode_t | onActivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onDeactivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onExecute (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onInitialize () |
void | resumeLogging () |
bool | save (const char *i_basename) |
void | suspendLogging () |
virtual | ~DataLogger () |
Destructor. | |
Public Attributes | |
std::vector< LoggerPortBase * > | m_ports |
Protected Attributes | |
RTC::CorbaPort | m_DataLoggerServicePort |
TimedLong | m_emergencySignal |
InPort< TimedLong > | m_emergencySignalIn |
DataLoggerService_impl | m_service0 |
Private Attributes | |
int | dummy |
unsigned int | m_log_precision |
bool | m_suspendFlag |
coil::Mutex | m_suspendFlagMutex |
sample RT component which has one data input port and one data output port
Definition at line 58 of file DataLogger.h.
DataLogger::DataLogger | ( | RTC::Manager * | manager | ) |
Constructor.
manager | pointer to the Manager |
Definition at line 241 of file DataLogger.cpp.
DataLogger::~DataLogger | ( | ) | [virtual] |
Destructor.
Definition at line 254 of file DataLogger.cpp.
bool DataLogger::add | ( | const char * | i_type, |
const char * | i_name | ||
) |
Definition at line 388 of file DataLogger.cpp.
bool DataLogger::clear | ( | void | ) |
Definition at line 524 of file DataLogger.cpp.
void DataLogger::maxLength | ( | unsigned int | len | ) |
Definition at line 547 of file DataLogger.cpp.
RTC::ReturnCode_t DataLogger::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 312 of file DataLogger.cpp.
RTC::ReturnCode_t DataLogger::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 317 of file DataLogger.cpp.
RTC::ReturnCode_t DataLogger::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 322 of file DataLogger.cpp.
RTC::ReturnCode_t DataLogger::onInitialize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 260 of file DataLogger.cpp.
Definition at line 541 of file DataLogger.cpp.
bool DataLogger::save | ( | const char * | i_basename | ) |
Definition at line 503 of file DataLogger.cpp.
Definition at line 535 of file DataLogger.cpp.
int DataLogger::dummy [private] |
Definition at line 168 of file DataLogger.h.
RTC::CorbaPort DataLogger::m_DataLoggerServicePort [protected] |
Definition at line 149 of file DataLogger.h.
TimedLong DataLogger::m_emergencySignal [protected] |
Definition at line 134 of file DataLogger.h.
InPort<TimedLong> DataLogger::m_emergencySignalIn [protected] |
Definition at line 138 of file DataLogger.h.
unsigned int DataLogger::m_log_precision [private] |
Definition at line 167 of file DataLogger.h.
std::vector<LoggerPortBase *> DataLogger::m_ports |
Definition at line 126 of file DataLogger.h.
DataLoggerService_impl DataLogger::m_service0 [protected] |
Definition at line 155 of file DataLogger.h.
bool DataLogger::m_suspendFlag [private] |
Definition at line 165 of file DataLogger.h.
coil::Mutex DataLogger::m_suspendFlagMutex [private] |
Definition at line 166 of file DataLogger.h.