YARP
Yet Another Robot Platform
yarp::robotinterface::experimental Namespace Reference

Classes

class  Action
 
class  Device
 
class  Param
 
class  Robot
 
class  XMLReaderResult
 Result of the parsing of XMLReader. More...
 
class  XMLReader
 

Typedefs

typedef std::vector< robotinterface::experimental::ParamParamList
 
typedef std::vector< robotinterface::experimental::ActionActionList
 
typedef std::vector< robotinterface::experimental::DeviceDeviceList
 
typedef std::list< yarp::os::Thread * > ThreadList
 

Enumerations

enum  ActionPhase {
  ActionPhaseUnknown = 0 ,
  ActionPhaseStartup ,
  ActionPhaseRun ,
  ActionPhaseInterrupt1 ,
  ActionPhaseInterrupt2 ,
  ActionPhaseInterrupt3 ,
  ActionPhaseShutdown ,
  ActionPhaseReserved = 0xFF
}
 
enum  ActionType {
  ActionTypeUnknown = 0 ,
  ActionTypeConfigure ,
  ActionTypeCalibrate ,
  ActionTypeAttach ,
  ActionTypeAbort ,
  ActionTypeDetach ,
  ActionTypePark ,
  ActionTypeCustom = 0xFF
}
 

Functions

bool hasParam (const robotinterface::experimental::ParamList &list, const std::string &name)
 
std::string findParam (const robotinterface::experimental::ParamList &list, const std::string &name)
 
bool hasGroup (const robotinterface::experimental::ParamList &list, const std::string &name)
 
std::string findGroup (const robotinterface::experimental::ParamList &list, const std::string &name)
 
robotinterface::experimental::ParamList mergeDuplicateGroups (const robotinterface::experimental::ParamList &list)
 
robotinterface::experimental::ActionPhase StringToActionPhase (const std::string &phase)
 
std::string ActionPhaseToString (robotinterface::experimental::ActionPhase actionphase)
 
void operator>> (const std::stringstream &sstream, robotinterface::experimental::ActionPhase &actionphase)
 
robotinterface::experimental::ActionType StringToActionType (const std::string &type)
 
std::string ActionTypeToString (robotinterface::experimental::ActionType actiontype)
 
void operator>> (const std::stringstream &sstream, robotinterface::experimental::ActionType &actiontype)
 

Typedef Documentation

◆ ActionList

◆ DeviceList

◆ ParamList

◆ ThreadList

Definition at line 37 of file Types.h.

Enumeration Type Documentation

◆ ActionPhase

Enumerator
ActionPhaseUnknown 
ActionPhaseStartup 
ActionPhaseRun 
ActionPhaseInterrupt1 
ActionPhaseInterrupt2 
ActionPhaseInterrupt3 
ActionPhaseShutdown 
ActionPhaseReserved 

Definition at line 45 of file Types.h.

◆ ActionType

Enumerator
ActionTypeUnknown 
ActionTypeConfigure 
ActionTypeCalibrate 
ActionTypeAttach 
ActionTypeAbort 
ActionTypeDetach 
ActionTypePark 
ActionTypeCustom 

Definition at line 64 of file Types.h.

Function Documentation

◆ ActionPhaseToString()

std::string yarp::robotinterface::experimental::ActionPhaseToString ( robotinterface::experimental::ActionPhase  actionphase)

Definition at line 101 of file Types.cpp.

◆ ActionTypeToString()

std::string yarp::robotinterface::experimental::ActionTypeToString ( robotinterface::experimental::ActionType  actiontype)

Definition at line 149 of file Types.cpp.

◆ findGroup()

std::string yarp::robotinterface::experimental::findGroup ( const robotinterface::experimental::ParamList list,
const std::string &  name 
)

Definition at line 50 of file Types.cpp.

◆ findParam()

std::string yarp::robotinterface::experimental::findParam ( const robotinterface::experimental::ParamList list,
const std::string &  name 
)

Definition at line 29 of file Types.cpp.

◆ hasGroup()

bool yarp::robotinterface::experimental::hasGroup ( const robotinterface::experimental::ParamList list,
const std::string &  name 
)

Definition at line 40 of file Types.cpp.

◆ hasParam()

bool yarp::robotinterface::experimental::hasParam ( const robotinterface::experimental::ParamList list,
const std::string &  name 
)

Definition at line 19 of file Types.cpp.

◆ mergeDuplicateGroups()

yarp::robotinterface::experimental::ParamList yarp::robotinterface::experimental::mergeDuplicateGroups ( const robotinterface::experimental::ParamList list)

Definition at line 61 of file Types.cpp.

◆ operator>>() [1/2]

void yarp::robotinterface::experimental::operator>> ( const std::stringstream &  sstream,
robotinterface::experimental::ActionPhase actionphase 
)

Definition at line 122 of file Types.cpp.

◆ operator>>() [2/2]

void yarp::robotinterface::experimental::operator>> ( const std::stringstream &  sstream,
robotinterface::experimental::ActionType actiontype 
)

Definition at line 172 of file Types.cpp.

◆ StringToActionPhase()

yarp::robotinterface::experimental::ActionPhase yarp::robotinterface::experimental::StringToActionPhase ( const std::string &  phase)

Definition at line 83 of file Types.cpp.

◆ StringToActionType()

yarp::robotinterface::experimental::ActionType yarp::robotinterface::experimental::StringToActionType ( const std::string &  type)

Definition at line 128 of file Types.cpp.