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

#include <yarp/robotinterface/experimental/Robot.h>

Detailed Description

Definition at line 20 of file Robot.h.

Classes

class  Private
 

Public Member Functions

 Robot ()
 
 Robot (const std::string &name, const DeviceList &devices=DeviceList())
 
 Robot (const Robot &other)
 
Robotoperator= (const Robot &other)
 
virtual ~Robot ()
 
std::string & name ()
 
unsigned int & build ()
 
std::string & portprefix ()
 
void setVerbose (bool verbose)
 
void setAllowDeprecatedDevices (bool allowDeprecatedDevices)
 
ParamListparams ()
 
DeviceListdevices ()
 
Devicedevice (const std::string &name)
 
const std::string & name () const
 
const unsigned int & build () const
 
const std::string & portprefix () const
 
const ParamListparams () const
 
const DeviceListdevices () const
 
const Devicedevice (const std::string &name) const
 
bool hasParam (const std::string &name) const
 
std::string findParam (const std::string &name) const
 
void interrupt ()
 
bool setExternalDevices (const yarp::dev::PolyDriverList &list)
 
bool enterPhase (yarp::robotinterface::experimental::ActionPhase phase)
 
yarp::robotinterface::experimental::ActionPhase currentPhase () const
 
int currentLevel () const
 

Constructor & Destructor Documentation

◆ Robot() [1/3]

yarp::robotinterface::experimental::Robot::Robot ( )
explicit

Definition at line 432 of file Robot.cpp.

◆ Robot() [2/3]

yarp::robotinterface::experimental::Robot::Robot ( const std::string &  name,
const DeviceList devices = DeviceList() 
)
explicit

Definition at line 437 of file Robot.cpp.

◆ Robot() [3/3]

yarp::robotinterface::experimental::Robot::Robot ( const Robot other)

Definition at line 444 of file Robot.cpp.

◆ ~Robot()

yarp::robotinterface::experimental::Robot::~Robot ( )
virtual

Definition at line 475 of file Robot.cpp.

Member Function Documentation

◆ build() [1/2]

unsigned int & yarp::robotinterface::experimental::Robot::build ( )

Definition at line 485 of file Robot.cpp.

◆ build() [2/2]

const unsigned int & yarp::robotinterface::experimental::Robot::build ( ) const

Definition at line 537 of file Robot.cpp.

◆ currentLevel()

int yarp::robotinterface::experimental::Robot::currentLevel ( ) const

Definition at line 735 of file Robot.cpp.

◆ currentPhase()

yarp::robotinterface::experimental::ActionPhase yarp::robotinterface::experimental::Robot::currentPhase ( ) const

Definition at line 730 of file Robot.cpp.

◆ device() [1/2]

yarp::robotinterface::experimental::Device & yarp::robotinterface::experimental::Robot::device ( const std::string &  name)

Definition at line 527 of file Robot.cpp.

◆ device() [2/2]

const yarp::robotinterface::experimental::Device & yarp::robotinterface::experimental::Robot::device ( const std::string &  name) const

Definition at line 557 of file Robot.cpp.

◆ devices() [1/2]

yarp::robotinterface::experimental::DeviceList & yarp::robotinterface::experimental::Robot::devices ( )

Definition at line 522 of file Robot.cpp.

◆ devices() [2/2]

const yarp::robotinterface::experimental::DeviceList & yarp::robotinterface::experimental::Robot::devices ( ) const

Definition at line 552 of file Robot.cpp.

◆ enterPhase()

bool yarp::robotinterface::experimental::Robot::enterPhase ( yarp::robotinterface::experimental::ActionPhase  phase)

Definition at line 584 of file Robot.cpp.

◆ findParam()

std::string yarp::robotinterface::experimental::Robot::findParam ( const std::string &  name) const

Definition at line 745 of file Robot.cpp.

◆ hasParam()

bool yarp::robotinterface::experimental::Robot::hasParam ( const std::string &  name) const

Definition at line 740 of file Robot.cpp.

◆ interrupt()

void yarp::robotinterface::experimental::Robot::interrupt ( )

Definition at line 562 of file Robot.cpp.

◆ name() [1/2]

std::string & yarp::robotinterface::experimental::Robot::name ( )

Definition at line 480 of file Robot.cpp.

◆ name() [2/2]

const std::string & yarp::robotinterface::experimental::Robot::name ( ) const

Definition at line 532 of file Robot.cpp.

◆ operator=()

yarp::robotinterface::experimental::Robot & yarp::robotinterface::experimental::Robot::operator= ( const Robot other)

Definition at line 456 of file Robot.cpp.

◆ params() [1/2]

yarp::robotinterface::experimental::ParamList & yarp::robotinterface::experimental::Robot::params ( )

Definition at line 517 of file Robot.cpp.

◆ params() [2/2]

const yarp::robotinterface::experimental::ParamList & yarp::robotinterface::experimental::Robot::params ( ) const

Definition at line 547 of file Robot.cpp.

◆ portprefix() [1/2]

std::string & yarp::robotinterface::experimental::Robot::portprefix ( )

Definition at line 490 of file Robot.cpp.

◆ portprefix() [2/2]

const std::string & yarp::robotinterface::experimental::Robot::portprefix ( ) const

Definition at line 542 of file Robot.cpp.

◆ setAllowDeprecatedDevices()

void yarp::robotinterface::experimental::Robot::setAllowDeprecatedDevices ( bool  allowDeprecatedDevices)

Definition at line 506 of file Robot.cpp.

◆ setExternalDevices()

bool yarp::robotinterface::experimental::Robot::setExternalDevices ( const yarp::dev::PolyDriverList list)

Definition at line 573 of file Robot.cpp.

◆ setVerbose()

void yarp::robotinterface::experimental::Robot::setVerbose ( bool  verbose)

Definition at line 495 of file Robot.cpp.


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