Classes | Defines | Typedefs | Functions | Variables
DataLogger.cpp File Reference
#include "hrpsys/util/Hrpsys.h"
#include "hrpsys/idl/pointcloud.hh"
#include "hrpsys/idl/RobotHardwareService.hh"
#include "DataLogger.h"
Include dependency graph for DataLogger.cpp:

Go to the source code of this file.

Classes

class  LoggerPort< T >
class  LoggerPortForPointCloud

Defines

#define LOG_SET_PRECISION(strm)
#define LOG_UNSET_PRECISION(strm)

Typedefs

typedef coil::Guard< coil::MutexGuard

Functions

void DataLoggerInit (RTC::Manager *manager)
template<class T >
std::ostream & operator<< (std::ostream &os, const _CORBA_Unbounded_Sequence< T > &data)
std::ostream & operator<< (std::ostream &os, const OpenHRP::RobotHardwareService::DblSequence6 &data)
std::ostream & operator<< (std::ostream &os, const OpenHRP::RobotHardwareService::DblSequence3 &data)
std::ostream & operator<< (std::ostream &os, const OpenHRP::RobotHardwareService::BatteryState &data)
void printData (std::ostream &os, const RTC::Acceleration3D &data, unsigned int precision=0)
void printData (std::ostream &os, const RTC::Velocity2D &data, unsigned int precision=0)
void printData (std::ostream &os, const RTC::Pose3D &data, unsigned int precision=0)
void printData (std::ostream &os, const RTC::AngularVelocity3D &data, unsigned int precision=0)
void printData (std::ostream &os, const RTC::Point3D &data, unsigned int precision=0)
void printData (std::ostream &os, const RTC::Orientation3D &data, unsigned int precision=0)
void printData (std::ostream &os, const PointCloudTypes::PointCloud &data, unsigned int precision=0)
template<class T >
void printData (std::ostream &os, const T &data, unsigned int precision=0)
void printData (std::ostream &os, double data, unsigned int precision=0)
void printData (std::ostream &os, const OpenHRP::RobotHardwareService::RobotState2 &data, unsigned int precision=0)

Variables

static const char * nullcomponent_spec []

Define Documentation

#define LOG_SET_PRECISION (   strm)
Value:
int prc;                                                            \
    if (precision != 0) {                                               \
        prc = os.precision();                                           \
        os << std::scientific << std::setprecision(precision);          \
    }                                                                   \

Definition at line 38 of file DataLogger.cpp.

#define LOG_UNSET_PRECISION (   strm)
Value:
if (precision != 0)                                                 \
        os << std::fixed << std::setprecision(prc);                     \

Definition at line 45 of file DataLogger.cpp.


Typedef Documentation

Definition at line 16 of file DataLogger.cpp.


Function Documentation

Definition at line 546 of file DataLogger.cpp.

template<class T >
std::ostream& operator<< ( std::ostream &  os,
const _CORBA_Unbounded_Sequence< T > &  data 
)

Definition at line 115 of file DataLogger.cpp.

std::ostream& operator<< ( std::ostream &  os,
const OpenHRP::RobotHardwareService::DblSequence6 &  data 
)

Definition at line 123 of file DataLogger.cpp.

std::ostream& operator<< ( std::ostream &  os,
const OpenHRP::RobotHardwareService::DblSequence3 &  data 
)

Definition at line 131 of file DataLogger.cpp.

std::ostream& operator<< ( std::ostream &  os,
const OpenHRP::RobotHardwareService::BatteryState &  data 
)

Definition at line 139 of file DataLogger.cpp.

void printData ( std::ostream &  os,
const RTC::Acceleration3D &  data,
unsigned int  precision = 0 
)

Definition at line 49 of file DataLogger.cpp.

void printData ( std::ostream &  os,
const RTC::Velocity2D &  data,
unsigned int  precision = 0 
)

Definition at line 56 of file DataLogger.cpp.

void printData ( std::ostream &  os,
const RTC::Pose3D &  data,
unsigned int  precision = 0 
)

Definition at line 63 of file DataLogger.cpp.

void printData ( std::ostream &  os,
const RTC::AngularVelocity3D &  data,
unsigned int  precision = 0 
)

Definition at line 72 of file DataLogger.cpp.

void printData ( std::ostream &  os,
const RTC::Point3D &  data,
unsigned int  precision = 0 
)

Definition at line 79 of file DataLogger.cpp.

void printData ( std::ostream &  os,
const RTC::Orientation3D &  data,
unsigned int  precision = 0 
)

Definition at line 86 of file DataLogger.cpp.

void printData ( std::ostream &  os,
const PointCloudTypes::PointCloud &  data,
unsigned int  precision = 0 
)

Definition at line 93 of file DataLogger.cpp.

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

Definition at line 146 of file DataLogger.cpp.

void printData ( std::ostream &  os,
double  data,
unsigned int  precision = 0 
)

Definition at line 155 of file DataLogger.cpp.

void printData ( std::ostream &  os,
const OpenHRP::RobotHardwareService::RobotState2 &  data,
unsigned int  precision = 0 
)

Definition at line 162 of file DataLogger.cpp.


Variable Documentation

const char* nullcomponent_spec[] [static]
Initial value:
  {
    "implementation_id", "DataLogger",
    "type_name",         "DataLogger",
    "description",       "data logger component",
    "version",           HRPSYS_PACKAGE_VERSION,
    "vendor",            "AIST",
    "category",          "example",
    "activity_type",     "DataFlowComponent",
    "max_instance",      "10",
    "language",          "C++",
    "lang_type",         "compile",
    
    "conf.default.log_precision", "0",
    ""
  }

Definition at line 20 of file DataLogger.cpp.



hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed Sep 6 2017 02:35:56