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

#include <yarp/robotinterface/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)
 
void setDryRun (bool dryrun)
 
void setReverseShutdownActionOrder (bool reverseShutdownActionOrder)
 
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
 
bool hasDevice (const std::string &name) 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::ActionPhase phase)
 
yarp::robotinterface::ActionPhase currentPhase () const
 
int currentLevel () const
 

Detailed Description

Definition at line 15 of file Robot.h.

Constructor & Destructor Documentation

◆ Robot() [1/3]

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

Definition at line 458 of file Robot.cpp.

◆ Robot() [2/3]

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

Definition at line 463 of file Robot.cpp.

◆ Robot() [3/3]

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

Definition at line 470 of file Robot.cpp.

◆ ~Robot()

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

Definition at line 505 of file Robot.cpp.

Member Function Documentation

◆ build() [1/2]

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

Definition at line 515 of file Robot.cpp.

◆ build() [2/2]

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

Definition at line 577 of file Robot.cpp.

◆ currentLevel()

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

Definition at line 786 of file Robot.cpp.

◆ currentPhase()

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

Definition at line 781 of file Robot.cpp.

◆ device() [1/2]

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

Definition at line 567 of file Robot.cpp.

◆ device() [2/2]

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

Definition at line 602 of file Robot.cpp.

◆ devices() [1/2]

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

Definition at line 562 of file Robot.cpp.

◆ devices() [2/2]

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

Definition at line 592 of file Robot.cpp.

◆ enterPhase()

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

Definition at line 629 of file Robot.cpp.

◆ findParam()

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

Definition at line 796 of file Robot.cpp.

◆ hasDevice()

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

Definition at line 597 of file Robot.cpp.

◆ hasParam()

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

Definition at line 791 of file Robot.cpp.

◆ interrupt()

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

Definition at line 607 of file Robot.cpp.

◆ name() [1/2]

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

Definition at line 510 of file Robot.cpp.

◆ name() [2/2]

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

Definition at line 572 of file Robot.cpp.

◆ operator=()

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

Definition at line 484 of file Robot.cpp.

◆ params() [1/2]

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

Definition at line 557 of file Robot.cpp.

◆ params() [2/2]

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

Definition at line 587 of file Robot.cpp.

◆ portprefix() [1/2]

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

Definition at line 520 of file Robot.cpp.

◆ portprefix() [2/2]

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

Definition at line 582 of file Robot.cpp.

◆ setAllowDeprecatedDevices()

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

Definition at line 536 of file Robot.cpp.

◆ setDryRun()

void yarp::robotinterface::Robot::setDryRun ( bool  dryrun)

Definition at line 547 of file Robot.cpp.

◆ setExternalDevices()

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

Definition at line 618 of file Robot.cpp.

◆ setReverseShutdownActionOrder()

void yarp::robotinterface::Robot::setReverseShutdownActionOrder ( bool  reverseShutdownActionOrder)

Definition at line 552 of file Robot.cpp.

◆ setVerbose()

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

Definition at line 525 of file Robot.cpp.


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