Go to the documentation of this file.
28 #include <VirtualRobot/VirtualRobot.h>
33 #include <RobotAPI/interface/core/RobotState.h>
48 void ref(
const Ice::Current&
c = Ice::emptyCurrent)
override;
49 void unref(
const Ice::Current&
c = Ice::emptyCurrent)
override;
50 void destroy(
const Ice::Current&
c = Ice::emptyCurrent)
override;
54 unsigned int _referenceCount;
55 std::mutex _counterMutex;
69 VirtualRobot::RobotNodePtr node );
72 float getJointValue(
const Ice::Current& current = Ice::emptyCurrent)
const override;
73 std::string
getName(
const Ice::Current& current = Ice::emptyCurrent)
const override;
78 getGlobalPose(
const Ice::Current& current = Ice::emptyCurrent)
const override;
82 JointType
getType(
const Ice::Current& current = Ice::emptyCurrent)
const override;
84 const Ice::Current& current = Ice::emptyCurrent)
const override;
88 bool hasChild(
const std::string& name,
90 const Ice::Current& current = Ice::emptyCurrent)
const override;
91 std::string
getParent(
const Ice::Current& current = Ice::emptyCurrent)
const override;
92 NameList
getChildren(
const Ice::Current& current = Ice::emptyCurrent)
const override;
94 const Ice::Current& current = Ice::emptyCurrent)
const override;
97 float getJointLimitHigh(
const Ice::Current& current = Ice::emptyCurrent)
const override;
98 float getJointLimitLow(
const Ice::Current& current = Ice::emptyCurrent)
const override;
100 Vector3BasePtr
getCoM(
const Ice::Current& current = Ice::emptyCurrent)
const override;
101 Ice::FloatSeq
getInertia(
const Ice::Current& current = Ice::emptyCurrent)
const override;
102 float getMass(
const Ice::Current& current = Ice::emptyCurrent)
const override;
125 SharedRobotNodeInterfacePrx
127 const Ice::Current& current = Ice::emptyCurrent)
override;
128 SharedRobotNodeInterfacePrx
129 getRootNode(
const Ice::Current& current = Ice::emptyCurrent)
override;
131 const Ice::Current& current = Ice::emptyCurrent)
override;
133 NameList
getRobotNodes(
const Ice::Current& current = Ice::emptyCurrent)
override;
136 const Ice::Current& current = Ice::emptyCurrent)
override;
137 NameList
getRobotNodeSets(
const Ice::Current& current = Ice::emptyCurrent)
override;
139 const Ice::Current& current = Ice::emptyCurrent)
override;
141 std::string
getName(
const Ice::Current& current = Ice::emptyCurrent)
override;
142 std::string
getType(
const Ice::Current& current = Ice::emptyCurrent)
override;
144 PoseBasePtr
getGlobalPose(
const Ice::Current& current = Ice::emptyCurrent)
override;
147 const Ice::Current& current = Ice::emptyCurrent)
override;
149 const Ice::Current& current = Ice::emptyCurrent)
override;
151 float getScaling(
const Ice::Current& = Ice::emptyCurrent)
override;
156 TimestampBasePtr
getTimestamp(
const Ice::Current& = Ice::emptyCurrent)
const override;
161 std::recursive_mutex
m;
VirtualRobot::RobotPtr _robot
Vector3BasePtr getJointTranslationDirection(const Ice::Current ¤t=Ice::emptyCurrent) const override
void destroy(const Ice::Current &c=Ice::emptyCurrent) override
PoseBasePtr getGlobalPose(const Ice::Current ¤t=Ice::emptyCurrent) override
FramedPoseBasePtr getGlobalPose(const Ice::Current ¤t=Ice::emptyCurrent) const override
The SharedRobotNodeServant class is a remote representation of a Simox VirtualRobot::Robot.
JointType getType(const Ice::Current ¤t=Ice::emptyCurrent) const override
std::string getName(const Ice::Current ¤t=Ice::emptyCurrent) override
void setRobotStateComponent(RobotStateComponentInterfacePrx robotStateComponent)
std::map< std::string, SharedRobotNodeInterfacePrx > _cachedNodes
TimestampBasePtr getTimestamp(const Ice::Current &=Ice::emptyCurrent) const override
SharedRobotNodeInterfacePrx getRootNode(const Ice::Current ¤t=Ice::emptyCurrent) override
~SharedRobotServant() override
RobotStateComponentInterfacePrx getRobotStateComponent(const Ice::Current &) const override
The SharedRobotNodeServant class is a remote represenation of a Simox VirtualRobot::Robot.
Ice::FloatSeq getInertia(const Ice::Current ¤t=Ice::emptyCurrent) const override
NameList getRobotNodeSets(const Ice::Current ¤t=Ice::emptyCurrent) override
float getJointValue(const Ice::Current ¤t=Ice::emptyCurrent) const override
NameValueMap getConfig(const Ice::Current ¤t=Ice::emptyCurrent) override
float getJointLimitLow(const Ice::Current ¤t=Ice::emptyCurrent) const override
float getMass(const Ice::Current ¤t=Ice::emptyCurrent) const override
PoseBasePtr getLocalTransformation(const Ice::Current ¤t=Ice::emptyCurrent) const override
NameList getAllParents(const std::string &name, const Ice::Current ¤t=Ice::emptyCurrent) const override
RobotNodeSetInfoPtr getRobotNodeSet(const std::string &name, const Ice::Current ¤t=Ice::emptyCurrent) override
void unref(const Ice::Current &c=Ice::emptyCurrent) override
SharedRobotNodeInterfacePrx getRobotNode(const std::string &name, const Ice::Current ¤t=Ice::emptyCurrent) override
~SharedRobotNodeServant() override
SharedRobotServant(VirtualRobot::RobotPtr robot, RobotStateComponentInterfacePrx robotStateComponent, RobotStateListenerInterfacePrx robotStateListenerPrx)
void setGlobalPose(const PoseBasePtr &pose, const Ice::Current ¤t=Ice::emptyCurrent) override
NameList getChildren(const Ice::Current ¤t=Ice::emptyCurrent) const override
std::string getParent(const Ice::Current ¤t=Ice::emptyCurrent) const override
NameList getRobotNodes(const Ice::Current ¤t=Ice::emptyCurrent) override
std::string getName(const Ice::Current ¤t=Ice::emptyCurrent) const override
void setTimestamp(const IceUtil::Time &updateTime)
The base class for remote objects on the ice server.
armarx::core::time::DateTime Time
IceUtil::Time updateTimestamp
bool hasChild(const std::string &name, bool recursive, const Ice::Current ¤t=Ice::emptyCurrent) const override
RobotStateComponentInterfacePrx robotStateComponent
float getJointLimitHigh(const Ice::Current ¤t=Ice::emptyCurrent) const override
void ref(const Ice::Current &c=Ice::emptyCurrent) override
float getScaling(const Ice::Current &=Ice::emptyCurrent) override
SharedRobotNodeServant(VirtualRobot::RobotNodePtr node)
VirtualRobot::RobotPtr getRobot() const
Vector3BasePtr getJointRotationAxis(const Ice::Current ¤t=Ice::emptyCurrent) const override
float getJointValueOffest(const Ice::Current ¤t=Ice::emptyCurrent) const override
std::string getType(const Ice::Current ¤t=Ice::emptyCurrent) override
RobotStateListenerInterfacePrx robotStateListenerPrx
NameValueMap getConfigAndPose(PoseBasePtr &globalPose, const Ice::Current ¤t=Ice::emptyCurrent) override
VirtualRobot::RobotNodePtr _node
bool hasRobotNode(const std::string &name, const Ice::Current ¤t=Ice::emptyCurrent) override
bool hasRobotNodeSet(const std::string &name, const Ice::Current ¤t=Ice::emptyCurrent) override
Vector3BasePtr getCoM(const Ice::Current ¤t=Ice::emptyCurrent) const override
FramedPoseBasePtr getPoseInRootFrame(const Ice::Current ¤t=Ice::emptyCurrent) const override
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< class Robot > RobotPtr