RobotNameHelper Class Reference

#include <RobotAPI/libraries/RobotStatechartHelpers/RobotNameHelper.h>

+ Inheritance diagram for RobotNameHelper:

Classes

class  Node
 

Public Types

using Arm = armarx::Arm
 
using RobotArm = armarx::RobotArm
 

Public Member Functions

Arm getArm (const std::string &side) const
 
const std::vector< std::string > & getProfiles () const
 
RobotArm getRobotArm (const std::string &side, const VirtualRobot::RobotPtr &robot) const
 
const RobotInfoNodePtr & getRobotInfoNodePtr () const
 
RobotNameHelper & operator= (const RobotNameHelper &)=default
 
RobotNameHelper & operator= (RobotNameHelper &&)=default
 
 RobotNameHelper (const RobotInfoNodePtr &robotInfo, const StatechartProfilePtr &profile=nullptr)
 
 RobotNameHelper (const RobotNameHelper &)=default
 
 RobotNameHelper (RobotNameHelper &&)=default
 
std::string select (const std::string &path) const
 

Static Public Member Functions

static RobotNameHelperPtr Create (const RobotInfoNodePtr &robotInfo, const StatechartProfilePtr &profile)
 
static RobotNameHelperPtr Create (const std::string &robotXmlFilename, const StatechartProfilePtr &profile=nullptr)
 
static void writeRobotInfoNode (const RobotInfoNodePtr &n, std::ostream &str, std::size_t indent=0, char indentChar=' ')
 

Static Public Attributes

static const std::string LocationLeft = "Left"
 
static const std::string LocationRight = "Right"
 

Member Typedef Documentation

◆ Arm

using Arm = armarx::Arm

◆ RobotArm

Constructor & Destructor Documentation

◆ RobotNameHelper() [1/3]

RobotNameHelper ( const RobotInfoNodePtr & robotInfo,
const StatechartProfilePtr & profile = nullptr )

◆ RobotNameHelper() [2/3]

◆ RobotNameHelper() [3/3]

RobotNameHelper ( const RobotNameHelper & )
default

Member Function Documentation

◆ Create() [1/2]

RobotNameHelperPtr Create ( const RobotInfoNodePtr & robotInfo,
const StatechartProfilePtr & profile )
static

◆ Create() [2/2]

RobotNameHelperPtr Create ( const std::string & robotXmlFilename,
const StatechartProfilePtr & profile = nullptr )
static

◆ getArm()

Arm getArm ( const std::string & side) const

◆ getProfiles()

const std::vector< std::string > & getProfiles ( ) const

◆ getRobotArm()

RobotArm getRobotArm ( const std::string & side,
const VirtualRobot::RobotPtr & robot ) const

◆ getRobotInfoNodePtr()

const RobotInfoNodePtr & getRobotInfoNodePtr ( ) const

◆ operator=() [1/2]

RobotNameHelper & operator= ( const RobotNameHelper & )
default

◆ operator=() [2/2]

RobotNameHelper & operator= ( RobotNameHelper && )
default

◆ select()

std::string select ( const std::string & path) const

◆ writeRobotInfoNode()

void writeRobotInfoNode ( const RobotInfoNodePtr & n,
std::ostream & str,
std::size_t indent = 0,
char indentChar = ' ' )
static

Member Data Documentation

◆ LocationLeft

const std::string LocationLeft = "Left"
static

◆ LocationRight

const std::string LocationRight = "Right"
static

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