RemoteRobotNode< VirtualRobotNodeType > Class Template Reference

Mimics the behaviour of robot nodes while redirecting everything to Ice proxies. More...

#include <RobotAPI/libraries/core/remoterobot/RemoteRobot.h>

+ Inheritance diagram for RemoteRobotNode< VirtualRobotNodeType >:

Public Member Functions

std::vector< VirtualRobot::RobotNodePtr > getAllParents (VirtualRobot::RobotNodeSetPtr rns) override
 
virtual std::vector< std::string > getChildrenNames () const
 
Eigen::Matrix4f getGlobalPose () const override
 
virtual float getJointLimitHi () const
 
virtual float getJointLimitLo () const
 
float getJointValue () const override
 
Eigen::Matrix4f getLocalTransformation () override
 
virtual VirtualRobot::SceneObjectPtr getParent ()
 
Eigen::Matrix4f getPoseInRootFrame () const override
 
Eigen::Vector3f getPositionInRootFrame () const override
 
SharedRobotNodeInterfacePrx getSharedRobotNode ()
 
virtual bool hasChildNode (const std::string &child, bool recursive=false) const
 
 RemoteRobotNode (SharedRobotNodeInterfacePrx node, VirtualRobot::RobotPtr vr)
 
 ~RemoteRobotNode () override
 

Protected Member Functions

virtual void addChildNode (VirtualRobot::RobotNodePtr child)
 
std::vector< VirtualRobot::SceneObjectPtr > getChildren () const override
 
virtual std::string getParentName () const
 
virtual bool hasChildNode (const VirtualRobot::RobotNodePtr child, bool recursive=false) const
 
virtual bool initialize (VirtualRobot::RobotNodePtr parent, bool initializeChildren=false)
 
virtual void reset ()
 
void setGlobalPose (const Eigen::Matrix4f &pose) override
 
void setJointLimits (float lo, float hi) override
 
virtual void setJointValue (float q, bool updateTransformations=true, bool clampToLimits=true)
 
virtual void setLocalTransformation (const Eigen::Matrix4f &trafo)
 
void updateTransformationMatrices () override
 
void updateTransformationMatrices (const Eigen::Matrix4f &globalPose) override
 

Protected Attributes

SharedRobotNodeInterfacePrx _node
 

Friends

struct RemoteRobotNodeInitializer< VirtualRobotNodeType >
 

Detailed Description

template<class VirtualRobotNodeType>
class armarx::RemoteRobotNode< VirtualRobotNodeType >

Mimics the behaviour of robot nodes while redirecting everything to Ice proxies.

Template Parameters
VirtualRobotNodeTypeMust be a descendant of VirtualRobot::RobotNode

This class is for internal use only as classes cannot be referenced!

Constructor & Destructor Documentation

◆ RemoteRobotNode()

template<class VirtualRobotNodeType>
RemoteRobotNode ( SharedRobotNodeInterfacePrx node,
VirtualRobot::RobotPtr vr )
inline

◆ ~RemoteRobotNode()

template<class RobotNodeType>
~RemoteRobotNode ( )
override

Member Function Documentation

◆ addChildNode()

template<class VirtualRobotNodeType>
void addChildNode ( VirtualRobot::RobotNodePtr child)
protectedvirtual

◆ getAllParents()

template<class VirtualRobotNodeType>
vector< RobotNodePtr > getAllParents ( VirtualRobot::RobotNodeSetPtr rns)
override

◆ getChildren()

template<class RobotNodeType>
std::vector< SceneObjectPtr > getChildren ( ) const
overrideprotected

◆ getChildrenNames()

template<class RobotNodeType>
std::vector< std::string > getChildrenNames ( ) const
virtual

◆ getGlobalPose()

template<class RobotNodeType>
Eigen::Matrix4f getGlobalPose ( ) const
override

◆ getJointLimitHi()

template<class RobotNodeType>
float getJointLimitHi ( ) const
virtual

◆ getJointLimitLo()

template<class RobotNodeType>
float getJointLimitLo ( ) const
virtual

◆ getJointValue()

template<class RobotNodeType>
float getJointValue ( ) const
override

◆ getLocalTransformation()

template<class RobotNodeType>
Eigen::Matrix4f getLocalTransformation ( )
override

◆ getParent()

template<class RobotNodeType>
SceneObjectPtr getParent ( )
virtual

◆ getParentName()

template<class RobotNodeType>
std::string getParentName ( ) const
protectedvirtual

◆ getPoseInRootFrame()

template<class RobotNodeType>
Eigen::Matrix4f getPoseInRootFrame ( ) const
override

◆ getPositionInRootFrame()

template<class RobotNodeType>
Eigen::Vector3f getPositionInRootFrame ( ) const
override

◆ getSharedRobotNode()

template<class VirtualRobotNodeType>
SharedRobotNodeInterfacePrx getSharedRobotNode ( )
inline

◆ hasChildNode() [1/2]

template<class RobotNodeType>
bool hasChildNode ( const std::string & child,
bool recursive = false ) const
virtual

◆ hasChildNode() [2/2]

template<class VirtualRobotNodeType>
virtual bool hasChildNode ( const VirtualRobot::RobotNodePtr child,
bool recursive = false ) const
protectedvirtual

◆ initialize()

template<class VirtualRobotNodeType>
bool initialize ( VirtualRobot::RobotNodePtr parent,
bool initializeChildren = false )
protectedvirtual

◆ reset()

template<class RobotNodeType>
void reset ( )
protectedvirtual

◆ setGlobalPose()

template<class RobotNodeType>
void setGlobalPose ( const Eigen::Matrix4f & pose)
overrideprotected

◆ setJointLimits()

template<class RobotNodeType>
void setJointLimits ( float lo,
float hi )
overrideprotected

◆ setJointValue()

template<class RobotNodeType>
void setJointValue ( float q,
bool updateTransformations = true,
bool clampToLimits = true )
protectedvirtual

◆ setLocalTransformation()

template<class RobotNodeType>
void setLocalTransformation ( const Eigen::Matrix4f & trafo)
protectedvirtual

◆ updateTransformationMatrices() [1/2]

template<class RobotNodeType>
void updateTransformationMatrices ( )
overrideprotected

◆ updateTransformationMatrices() [2/2]

template<class RobotNodeType>
void updateTransformationMatrices ( const Eigen::Matrix4f & globalPose)
overrideprotected

Friends And Related Symbol Documentation

◆ RemoteRobotNodeInitializer< VirtualRobotNodeType >

template<class VirtualRobotNodeType>
friend struct RemoteRobotNodeInitializer< VirtualRobotNodeType >
friend

Member Data Documentation

◆ _node

template<class VirtualRobotNodeType>
SharedRobotNodeInterfacePrx _node
protected

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