YARP
Yet Another Robot Platform
Types.h File Reference
#include <yarp/robotinterface/api.h>
#include <iosfwd>
#include <list>
#include <string>
#include <vector>
+ Include dependency graph for Types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yarp
 The main, catch-all namespace for YARP.
 
namespace  yarp::os
 An interface to the operating system, including Port based communication.
 
namespace  yarp::robotinterface
 

Typedefs

typedef std::vector< robotinterface::Param > yarp::robotinterface::ParamList
 
typedef std::vector< robotinterface::Action > yarp::robotinterface::ActionList
 
typedef std::vector< robotinterface::Device > yarp::robotinterface::DeviceList
 
typedef std::list< yarp::os::Thread * > yarp::robotinterface::ThreadList
 

Enumerations

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

Functions

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