15 #ifndef OPENHRP_CONTROLLER_BRIDGE_VIRTUAL_ROBOT_PORT_HANDLER_H_INCLUDED 16 #define OPENHRP_CONTROLLER_BRIDGE_VIRTUAL_ROBOT_PORT_HANDLER_H_INCLUDED 18 #include <boost/shared_ptr.hpp> 20 #include <rtm/idl/BasicDataType.hh> 21 #include <rtm/idl/ExtendedDataTypes.hh> 26 #include <rtm/idl/BasicDataTypeStub.h> 28 #include <hrpCorba/DynamicsSimulator.hh> 56 virtual void writeDataToPort() = 0;
59 value.tm.sec = (
unsigned long)_time;
60 value.tm.nsec = (
unsigned long)((_time-value.tm.sec)*1000000000.0 + 0.5);
61 if( value.tm.nsec >= 1000000000 ){
63 value.tm.nsec -= 1000000000;
88 virtual void writeDataToPort();
101 virtual void writeDataToPort();
114 virtual void writeDataToPort();
128 virtual void writeDataToPort();
140 virtual void writeDataToPort();
152 virtual void writeDataToPort();
165 virtual void writeDataToPort();
178 virtual void writeDataToPort();
191 virtual void writeDataToPort();
InPortHandler(PortInfo &info)
RTC::InPort< RTC::TimedDoubleSeq > inPort
RTC::InPort< RTC::TimedDoubleSeq > inPort
std::vector< std::string > sensorName
std::vector< std::string > sensorName
boost::shared_ptr< InPortHandler > InPortHandlerPtr
DynamicsSimulator::LinkDataType linkDataType
RTC::OutPort< RTC::TimedDoubleSeq > outPort
boost::shared_ptr< OutPortHandler > OutPortHandlerPtr
RTC::OutPort< RTC::TimedAngularVelocity3D > outPort
boost::shared_ptr< PortHandler > PortHandlerPtr
std::vector< std::string > sensorName
void setTime(T &value, double _time)
RTC::TimedAcceleration3D value
RTC::TimedDoubleSeq values
Port_Service_Var_Type portRef
RTC::TimedDoubleSeq value
RTC::OutPort< RTC::TimedFloatSeq > outPort
RTC::TimedAngularVelocity3D value
PortHandler(PortInfo &info)
OutPortHandler(PortInfo &info)
RTC::TimedDoubleSeq values
RTC::TimedDoubleSeq values
DynamicsSimulator::LinkDataType linkDataType
RTC::TimedDoubleSeq value
RTC::OutPort< RTC::TimedDoubleSeq > outPort
DynamicsSimulator::LinkDataType linkDataType
RTC::PortService_var Port_Service_Var_Type
std::vector< std::string > linkName
RTC::OutPort< RTC::TimedLongSeq > outPort
std::vector< std::string > linkName
RTC::OutPort< RTC::TimedDoubleSeq > outPort
RTC::OutPort< RTC::TimedOctetSeq > outPort
RTC::OutPort< RTC::TimedAcceleration3D > outPort