Public Member Functions | Static Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes
VirtualRobotRTC Class Reference

#include <VirtualRobotRTC.h>

Inheritance diagram for VirtualRobotRTC:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool checkOutPortStepTime (double controlTimeStep)
RTC::RTCListgetConnectedRtcs ()
PortHandlerPtr getPortHandler (const std::string &name)
void inputDataFromSimulator (Controller_impl *controller)
RTC::ReturnCode_t onInitialize ()
void outputDataToSimulator (Controller_impl *controller)
void readDataFromInPorts (Controller_impl *controller)
void stop ()
 VirtualRobotRTC (RTC::Manager *manager)
void writeDataToOutPorts (Controller_impl *controller)
 ~VirtualRobotRTC ()

Static Public Member Functions

static void registerFactory (RTC::Manager *manager, const char *componentTypeName)

Public Attributes

bool isOwnedByController

Private Types

typedef std::map< std::string,
InPortHandlerPtr
InPortHandlerMap
typedef std::map< std::string,
OutPortHandlerPtr
OutPortHandlerMap

Private Member Functions

void addConnectedRtcs (Port_Service_Ptr_Type portRef, RTC::RTCList &rtcList, std::set< std::string > &foundRtcNames)
bool createInPortHandler (PortInfo &portInfo)
bool createOutPortHandler (PortInfo &portInfo)
template<class TInPortHandler >
bool registerInPortHandler (TInPortHandler *handler)
template<class TOutPortHandler >
bool registerOutPortHandler (TOutPortHandler *handler)
void updatePortObjectRefs ()

Private Attributes

InPortHandlerMap inPortHandlers
OutPortHandlerMap outPortHandlers

Detailed Description

Definition at line 28 of file VirtualRobotRTC.h.


Member Typedef Documentation

typedef std::map<std::string, InPortHandlerPtr> VirtualRobotRTC::InPortHandlerMap [private]

Definition at line 57 of file VirtualRobotRTC.h.

typedef std::map<std::string, OutPortHandlerPtr> VirtualRobotRTC::OutPortHandlerMap [private]

Definition at line 54 of file VirtualRobotRTC.h.


Constructor & Destructor Documentation

Definition at line 60 of file VirtualRobotRTC.cpp.

Definition at line 101 of file VirtualRobotRTC.cpp.


Member Function Documentation

void VirtualRobotRTC::addConnectedRtcs ( Port_Service_Ptr_Type  portRef,
RTC::RTCList rtcList,
std::set< std::string > &  foundRtcNames 
) [private]

Definition at line 391 of file VirtualRobotRTC.cpp.

bool VirtualRobotRTC::checkOutPortStepTime ( double  controlTimeStep)

Definition at line 521 of file VirtualRobotRTC.cpp.

bool VirtualRobotRTC::createInPortHandler ( PortInfo portInfo) [private]

Definition at line 285 of file VirtualRobotRTC.cpp.

bool VirtualRobotRTC::createOutPortHandler ( PortInfo portInfo) [private]

Definition at line 213 of file VirtualRobotRTC.cpp.

Definition at line 372 of file VirtualRobotRTC.cpp.

Definition at line 325 of file VirtualRobotRTC.cpp.

Definition at line 465 of file VirtualRobotRTC.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 70 of file VirtualRobotRTC.cpp.

Definition at line 483 of file VirtualRobotRTC.cpp.

Definition at line 509 of file VirtualRobotRTC.cpp.

void VirtualRobotRTC::registerFactory ( RTC::Manager manager,
const char *  componentTypeName 
) [static]

Definition at line 30 of file VirtualRobotRTC.cpp.

template<class TInPortHandler >
bool VirtualRobotRTC::registerInPortHandler ( TInPortHandler *  handler) [inline, private]

Definition at line 94 of file VirtualRobotRTC.h.

template<class TOutPortHandler >
bool VirtualRobotRTC::registerOutPortHandler ( TOutPortHandler *  handler) [inline, private]

Definition at line 84 of file VirtualRobotRTC.h.

Definition at line 516 of file VirtualRobotRTC.cpp.

Definition at line 347 of file VirtualRobotRTC.cpp.

Definition at line 491 of file VirtualRobotRTC.cpp.


Member Data Documentation

Definition at line 58 of file VirtualRobotRTC.h.

Definition at line 50 of file VirtualRobotRTC.h.

Definition at line 55 of file VirtualRobotRTC.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:21