SharedRobotServant Class Reference

The SharedRobotNodeServant class is a remote represenation of a Simox VirtualRobot::Robot. More...

#include <RobotAPI/components/RobotState/SharedRobotServants.h>

+ Inheritance diagram for SharedRobotServant:

Public Member Functions

NameValueMap getConfig (const Ice::Current &current=Ice::emptyCurrent) override
 
NameValueMap getConfigAndPose (PoseBasePtr &globalPose, const Ice::Current &current=Ice::emptyCurrent) override
 
PoseBasePtr getGlobalPose (const Ice::Current &current=Ice::emptyCurrent) override
 
std::string getName (const Ice::Current &current=Ice::emptyCurrent) override
 
VirtualRobot::RobotPtr getRobot () const
 
SharedRobotNodeInterfacePrx getRobotNode (const std::string &name, const Ice::Current &current=Ice::emptyCurrent) override
 
NameList getRobotNodes (const Ice::Current &current=Ice::emptyCurrent) override
 
RobotNodeSetInfoPtr getRobotNodeSet (const std::string &name, const Ice::Current &current=Ice::emptyCurrent) override
 
NameList getRobotNodeSets (const Ice::Current &current=Ice::emptyCurrent) override
 
RobotStateComponentInterfacePrx getRobotStateComponent (const Ice::Current &) const override
 
SharedRobotNodeInterfacePrx getRootNode (const Ice::Current &current=Ice::emptyCurrent) override
 
float getScaling (const Ice::Current &=Ice::emptyCurrent) override
 
TimestampBasePtr getTimestamp (const Ice::Current &=Ice::emptyCurrent) const override
 
std::string getType (const Ice::Current &current=Ice::emptyCurrent) override
 
bool hasRobotNode (const std::string &name, const Ice::Current &current=Ice::emptyCurrent) override
 
bool hasRobotNodeSet (const std::string &name, const Ice::Current &current=Ice::emptyCurrent) override
 
void setGlobalPose (const PoseBasePtr &pose, const Ice::Current &current=Ice::emptyCurrent) override
 
void setRobotStateComponent (RobotStateComponentInterfacePrx robotStateComponent)
 
void setTimestamp (const IceUtil::Time &updateTime)
 
 SharedRobotServant (VirtualRobot::RobotPtr robot, RobotStateComponentInterfacePrx robotStateComponent, RobotStateListenerInterfacePrx robotStateListenerPrx)
 
 ~SharedRobotServant () override
 
- Public Member Functions inherited from SharedObjectBase
void destroy (const Ice::Current &c=Ice::emptyCurrent) override
 
void ref (const Ice::Current &c=Ice::emptyCurrent) override
 
 SharedObjectBase ()
 
void unref (const Ice::Current &c=Ice::emptyCurrent) override
 

Protected Attributes

std::map< std::string, SharedRobotNodeInterfacePrx > _cachedNodes
 
VirtualRobot::RobotPtr _robot
 
std::recursive_mutex m
 
RobotStateComponentInterfacePrx robotStateComponent
 
RobotStateListenerInterfacePrx robotStateListenerPrx
 
IceUtil::Time updateTimestamp
 

Detailed Description

The SharedRobotNodeServant class is a remote represenation of a Simox VirtualRobot::Robot.

This class is used only internally by the the RobotStateComponent. The RemoteRobot class SharedRobotInterface and SharedRobotInterfacePrx classes generated by Ice.

Definition at line 117 of file SharedRobotServants.h.

Constructor & Destructor Documentation

◆ SharedRobotServant()

SharedRobotServant ( VirtualRobot::RobotPtr  robot,
RobotStateComponentInterfacePrx  robotStateComponent,
RobotStateListenerInterfacePrx  robotStateListenerPrx 
)

Definition at line 328 of file SharedRobotServants.cpp.

◆ ~SharedRobotServant()

~SharedRobotServant ( )
override

Definition at line 340 of file SharedRobotServants.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ getConfig()

NameValueMap getConfig ( const Ice::Current &  current = Ice::emptyCurrent)
override

Definition at line 494 of file SharedRobotServants.cpp.

+ Here is the caller graph for this function:

◆ getConfigAndPose()

NameValueMap getConfigAndPose ( PoseBasePtr &  globalPose,
const Ice::Current &  current = Ice::emptyCurrent 
)
override

Definition at line 509 of file SharedRobotServants.cpp.

+ Here is the call graph for this function:

◆ getGlobalPose()

PoseBasePtr getGlobalPose ( const Ice::Current &  current = Ice::emptyCurrent)
override

Definition at line 487 of file SharedRobotServants.cpp.

+ Here is the caller graph for this function:

◆ getName()

std::string getName ( const Ice::Current &  current = Ice::emptyCurrent)
override

Definition at line 468 of file SharedRobotServants.cpp.

◆ getRobot()

RobotPtr getRobot ( ) const

Definition at line 550 of file SharedRobotServants.cpp.

◆ getRobotNode()

SharedRobotNodeInterfacePrx getRobotNode ( const std::string &  name,
const Ice::Current &  current = Ice::emptyCurrent 
)
override

Definition at line 366 of file SharedRobotServants.cpp.

+ Here is the caller graph for this function:

◆ getRobotNodes()

NameList getRobotNodes ( const Ice::Current &  current = Ice::emptyCurrent)
override

Definition at line 411 of file SharedRobotServants.cpp.

◆ getRobotNodeSet()

RobotNodeSetInfoPtr getRobotNodeSet ( const std::string &  name,
const Ice::Current &  current = Ice::emptyCurrent 
)
override

Definition at line 423 of file SharedRobotServants.cpp.

◆ getRobotNodeSets()

NameList getRobotNodeSets ( const Ice::Current &  current = Ice::emptyCurrent)
override

Definition at line 449 of file SharedRobotServants.cpp.

+ Here is the call graph for this function:

◆ getRobotStateComponent()

RobotStateComponentInterfacePrx getRobotStateComponent ( const Ice::Current &  ) const
override

Definition at line 522 of file SharedRobotServants.cpp.

◆ getRootNode()

SharedRobotNodeInterfacePrx getRootNode ( const Ice::Current &  current = Ice::emptyCurrent)
override

Definition at line 396 of file SharedRobotServants.cpp.

+ Here is the call graph for this function:

◆ getScaling()

float getScaling ( const Ice::Current &  = Ice::emptyCurrent)
override

Definition at line 544 of file SharedRobotServants.cpp.

◆ getTimestamp()

TimestampBasePtr getTimestamp ( const Ice::Current &  = Ice::emptyCurrent) const
override

Definition at line 516 of file SharedRobotServants.cpp.

◆ getType()

std::string getType ( const Ice::Current &  current = Ice::emptyCurrent)
override

Definition at line 475 of file SharedRobotServants.cpp.

◆ hasRobotNode()

bool hasRobotNode ( const std::string &  name,
const Ice::Current &  current = Ice::emptyCurrent 
)
override

Definition at line 405 of file SharedRobotServants.cpp.

◆ hasRobotNodeSet()

bool hasRobotNodeSet ( const std::string &  name,
const Ice::Current &  current = Ice::emptyCurrent 
)
override

Definition at line 462 of file SharedRobotServants.cpp.

◆ setGlobalPose()

void setGlobalPose ( const PoseBasePtr &  pose,
const Ice::Current &  current = Ice::emptyCurrent 
)
override

Definition at line 528 of file SharedRobotServants.cpp.

+ Here is the call graph for this function:

◆ setRobotStateComponent()

void setRobotStateComponent ( RobotStateComponentInterfacePrx  robotStateComponent)

Definition at line 360 of file SharedRobotServants.cpp.

◆ setTimestamp()

void setTimestamp ( const IceUtil::Time &  updateTime)

Definition at line 481 of file SharedRobotServants.cpp.

Member Data Documentation

◆ _cachedNodes

std::map<std::string, SharedRobotNodeInterfacePrx> _cachedNodes
protected

Definition at line 162 of file SharedRobotServants.h.

◆ _robot

VirtualRobot::RobotPtr _robot
protected

Definition at line 160 of file SharedRobotServants.h.

◆ m

std::recursive_mutex m
protected

Definition at line 161 of file SharedRobotServants.h.

◆ robotStateComponent

RobotStateComponentInterfacePrx robotStateComponent
protected

Definition at line 164 of file SharedRobotServants.h.

◆ robotStateListenerPrx

RobotStateListenerInterfacePrx robotStateListenerPrx
protected

Definition at line 165 of file SharedRobotServants.h.

◆ updateTimestamp

IceUtil::Time updateTimestamp
protected

Definition at line 163 of file SharedRobotServants.h.


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