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

Detailed Description

Definition at line 44 of file Robot.cpp.

Public Member Functions

 Private (Robot *)
 
bool hasDevice (const std::string &name) const
 
DevicefindDevice (const std::string &name)
 
bool hasDeviceIncludingExternal (const std::string &name) const
 
yarp::dev::PolyDriverDescriptor findDeviceIncludingExternal (const std::string &name)
 
bool checkForNamingConflictsInExternalDevices (const yarp::dev::PolyDriverList &newExternalDevicesList)
 
bool openDevices ()
 
bool closeDevices ()
 
std::vector< unsigned int > getLevels (ActionPhase phase) const
 
std::vector< std::pair< Device, Action > > getActions (ActionPhase phase, unsigned int level) const
 
bool configure (const Device &device, const ParamList &params)
 
bool calibrate (const Device &device, const ParamList &params)
 
bool attach (const Device &device, const ParamList &params)
 
bool abort (const Device &device, const ParamList &params)
 
bool detach (const Device &device, const ParamList &params)
 
bool park (const Device &device, const ParamList &params)
 
bool custom (const Device &device, const ParamList &params)
 

Public Attributes

std::string name
 
unsigned int build
 
std::string portprefix
 
ParamList params
 
DeviceList devices
 
yarp::dev::PolyDriverList externalDevices
 
yarp::robotinterface::experimental::ActionPhase currentPhase
 
unsigned int currentLevel
 

Constructor & Destructor Documentation

◆ Private()

yarp::robotinterface::experimental::Robot::Private::Private ( Robot )
inline

Definition at line 47 of file Robot.cpp.

Member Function Documentation

◆ abort()

bool yarp::robotinterface::experimental::Robot::Private::abort ( const Device device,
const ParamList params 
)

Definition at line 383 of file Robot.cpp.

◆ attach()

bool yarp::robotinterface::experimental::Robot::Private::attach ( const Device device,
const ParamList params 
)

Definition at line 303 of file Robot.cpp.

◆ calibrate()

bool yarp::robotinterface::experimental::Robot::Private::calibrate ( const Device device,
const ParamList params 
)

Definition at line 285 of file Robot.cpp.

◆ checkForNamingConflictsInExternalDevices()

bool yarp::robotinterface::experimental::Robot::Private::checkForNamingConflictsInExternalDevices ( const yarp::dev::PolyDriverList newExternalDevicesList)

Definition at line 176 of file Robot.cpp.

◆ closeDevices()

bool yarp::robotinterface::experimental::Robot::Private::closeDevices ( )

Definition at line 216 of file Robot.cpp.

◆ configure()

bool yarp::robotinterface::experimental::Robot::Private::configure ( const Device device,
const ParamList params 
)

Definition at line 279 of file Robot.cpp.

◆ custom()

bool yarp::robotinterface::experimental::Robot::Private::custom ( const Device device,
const ParamList params 
)

Definition at line 418 of file Robot.cpp.

◆ detach()

bool yarp::robotinterface::experimental::Robot::Private::detach ( const Device device,
const ParamList params 
)

Definition at line 390 of file Robot.cpp.

◆ findDevice()

yarp::robotinterface::experimental::Device * yarp::robotinterface::experimental::Robot::Private::findDevice ( const std::string &  name)

Definition at line 126 of file Robot.cpp.

◆ findDeviceIncludingExternal()

yarp::dev::PolyDriverDescriptor yarp::robotinterface::experimental::Robot::Private::findDeviceIncludingExternal ( const std::string &  name)

Definition at line 152 of file Robot.cpp.

◆ getActions()

std::vector< std::pair< yarp::robotinterface::experimental::Device, yarp::robotinterface::experimental::Action > > yarp::robotinterface::experimental::Robot::Private::getActions ( ActionPhase  phase,
unsigned int  level 
) const

Definition at line 261 of file Robot.cpp.

◆ getLevels()

std::vector< unsigned int > yarp::robotinterface::experimental::Robot::Private::getLevels ( ActionPhase  phase) const

Definition at line 238 of file Robot.cpp.

◆ hasDevice()

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

Definition at line 116 of file Robot.cpp.

◆ hasDeviceIncludingExternal()

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

Definition at line 136 of file Robot.cpp.

◆ openDevices()

bool yarp::robotinterface::experimental::Robot::Private::openDevices ( )

Definition at line 196 of file Robot.cpp.

◆ park()

bool yarp::robotinterface::experimental::Robot::Private::park ( const Device device,
const ParamList params 
)

Definition at line 400 of file Robot.cpp.

Member Data Documentation

◆ build

unsigned int yarp::robotinterface::experimental::Robot::Private::build

Definition at line 107 of file Robot.cpp.

◆ currentLevel

unsigned int yarp::robotinterface::experimental::Robot::Private::currentLevel

Definition at line 113 of file Robot.cpp.

◆ currentPhase

yarp::robotinterface::experimental::ActionPhase yarp::robotinterface::experimental::Robot::Private::currentPhase

Definition at line 112 of file Robot.cpp.

◆ devices

DeviceList yarp::robotinterface::experimental::Robot::Private::devices

Definition at line 110 of file Robot.cpp.

◆ externalDevices

yarp::dev::PolyDriverList yarp::robotinterface::experimental::Robot::Private::externalDevices

Definition at line 111 of file Robot.cpp.

◆ name

std::string yarp::robotinterface::experimental::Robot::Private::name

Definition at line 106 of file Robot.cpp.

◆ params

ParamList yarp::robotinterface::experimental::Robot::Private::params

Definition at line 109 of file Robot.cpp.

◆ portprefix

std::string yarp::robotinterface::experimental::Robot::Private::portprefix

Definition at line 108 of file Robot.cpp.


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