#include <VirtualRobotRTC.h>
Public Member Functions | |
bool | checkOutPortStepTime (double controlTimeStep) |
RTC::RTCList * | getConnectedRtcs () |
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 |
Definition at line 28 of file VirtualRobotRTC.h.
|
private |
Definition at line 57 of file VirtualRobotRTC.h.
|
private |
Definition at line 54 of file VirtualRobotRTC.h.
VirtualRobotRTC::VirtualRobotRTC | ( | RTC::Manager * | manager | ) |
Definition at line 60 of file VirtualRobotRTC.cpp.
VirtualRobotRTC::~VirtualRobotRTC | ( | ) |
Definition at line 101 of file VirtualRobotRTC.cpp.
|
private |
Definition at line 391 of file VirtualRobotRTC.cpp.
bool VirtualRobotRTC::checkOutPortStepTime | ( | double | controlTimeStep | ) |
Definition at line 521 of file VirtualRobotRTC.cpp.
|
private |
Definition at line 285 of file VirtualRobotRTC.cpp.
|
private |
Definition at line 213 of file VirtualRobotRTC.cpp.
RTC::RTCList * VirtualRobotRTC::getConnectedRtcs | ( | ) |
Definition at line 372 of file VirtualRobotRTC.cpp.
PortHandlerPtr VirtualRobotRTC::getPortHandler | ( | const std::string & | name | ) |
Definition at line 325 of file VirtualRobotRTC.cpp.
void VirtualRobotRTC::inputDataFromSimulator | ( | Controller_impl * | controller | ) |
Definition at line 465 of file VirtualRobotRTC.cpp.
RTC::ReturnCode_t VirtualRobotRTC::onInitialize | ( | ) |
Definition at line 70 of file VirtualRobotRTC.cpp.
void VirtualRobotRTC::outputDataToSimulator | ( | Controller_impl * | controller | ) |
Definition at line 483 of file VirtualRobotRTC.cpp.
void VirtualRobotRTC::readDataFromInPorts | ( | Controller_impl * | controller | ) |
Definition at line 509 of file VirtualRobotRTC.cpp.
|
static |
Definition at line 30 of file VirtualRobotRTC.cpp.
|
inlineprivate |
Definition at line 94 of file VirtualRobotRTC.h.
|
inlineprivate |
Definition at line 84 of file VirtualRobotRTC.h.
void VirtualRobotRTC::stop | ( | ) |
Definition at line 516 of file VirtualRobotRTC.cpp.
|
private |
Definition at line 347 of file VirtualRobotRTC.cpp.
void VirtualRobotRTC::writeDataToOutPorts | ( | Controller_impl * | controller | ) |
Definition at line 491 of file VirtualRobotRTC.cpp.
|
private |
Definition at line 58 of file VirtualRobotRTC.h.
bool VirtualRobotRTC::isOwnedByController |
Definition at line 50 of file VirtualRobotRTC.h.
|
private |
Definition at line 55 of file VirtualRobotRTC.h.