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 110 of file SharedRobotServants.h.

Constructor & Destructor Documentation

◆ SharedRobotServant()

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

Definition at line 306 of file SharedRobotServants.cpp.

◆ ~SharedRobotServant()

~SharedRobotServant ( )
override

Definition at line 316 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 457 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 471 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 451 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 435 of file SharedRobotServants.cpp.

◆ getRobot()

RobotPtr getRobot ( ) const

Definition at line 504 of file SharedRobotServants.cpp.

◆ getRobotNode()

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

Definition at line 338 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 381 of file SharedRobotServants.cpp.

◆ getRobotNodeSet()

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

Definition at line 392 of file SharedRobotServants.cpp.

◆ getRobotNodeSets()

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

Definition at line 418 of file SharedRobotServants.cpp.

+ Here is the call graph for this function:

◆ getRobotStateComponent()

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

Definition at line 482 of file SharedRobotServants.cpp.

◆ getRootNode()

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

Definition at line 367 of file SharedRobotServants.cpp.

+ Here is the call graph for this function:

◆ getScaling()

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

Definition at line 499 of file SharedRobotServants.cpp.

◆ getTimestamp()

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

Definition at line 477 of file SharedRobotServants.cpp.

◆ getType()

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

Definition at line 441 of file SharedRobotServants.cpp.

◆ hasRobotNode()

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

Definition at line 376 of file SharedRobotServants.cpp.

◆ hasRobotNodeSet()

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

Definition at line 430 of file SharedRobotServants.cpp.

◆ setGlobalPose()

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

Definition at line 487 of file SharedRobotServants.cpp.

+ Here is the call graph for this function:

◆ setRobotStateComponent()

void setRobotStateComponent ( RobotStateComponentInterfacePrx  robotStateComponent)

Definition at line 333 of file SharedRobotServants.cpp.

◆ setTimestamp()

void setTimestamp ( const IceUtil::Time &  updateTime)

Definition at line 446 of file SharedRobotServants.cpp.

Member Data Documentation

◆ _cachedNodes

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

Definition at line 145 of file SharedRobotServants.h.

◆ _robot

VirtualRobot::RobotPtr _robot
protected

Definition at line 143 of file SharedRobotServants.h.

◆ m

std::recursive_mutex m
protected

Definition at line 144 of file SharedRobotServants.h.

◆ robotStateComponent

RobotStateComponentInterfacePrx robotStateComponent
protected

Definition at line 147 of file SharedRobotServants.h.

◆ robotStateListenerPrx

RobotStateListenerInterfacePrx robotStateListenerPrx
protected

Definition at line 148 of file SharedRobotServants.h.

◆ updateTimestamp

IceUtil::Time updateTimestamp
protected

Definition at line 146 of file SharedRobotServants.h.


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