#include <yarp/robotinterface/Device.h>
Classes | |
class | Private |
Public Member Functions | |
Device () | |
Device (const std::string &name, const std::string &type, const ParamList ¶ms=ParamList(), const ActionList &actions=ActionList()) | |
Device (const Device &other) | |
Device & | operator= (const Device &other) |
virtual | ~Device () |
std::string & | name () |
std::string & | type () |
ParamList & | params () |
ActionList & | actions () |
const std::string & | name () const |
const std::string & | type () const |
const ParamList & | params () const |
const ActionList & | actions () const |
bool | hasParam (const std::string &name) const |
std::string | findParam (const std::string &name) const |
bool | open () |
bool | close () |
yarp::dev::PolyDriver * | driver () const |
void | registerThread (yarp::os::Thread *thread) const |
void | joinThreads () const |
void | stopThreads () const |
bool | configure (const Device &target, const ParamList ¶ms) const |
bool | calibrate (const yarp::dev::PolyDriverDescriptor &target) const |
bool | attach (const yarp::dev::PolyDriverList &drivers) const |
bool | abort () const |
bool | detach () const |
bool | park (const yarp::dev::PolyDriverDescriptor &target) const |
bool | custom (const ParamList ¶ms) const |
|
explicit |
Definition at line 205 of file Device.cpp.
yarp::robotinterface::Device::Device | ( | const std::string & | name, |
const std::string & | type, | ||
const ParamList & | params = ParamList() , |
||
const ActionList & | actions = ActionList() |
||
) |
Definition at line 211 of file Device.cpp.
yarp::robotinterface::Device::Device | ( | const Device & | other | ) |
Definition at line 223 of file Device.cpp.
|
virtual |
Definition at line 250 of file Device.cpp.
bool yarp::robotinterface::Device::abort | ( | ) | const |
yarp::robotinterface::ActionList & yarp::robotinterface::Device::actions | ( | ) |
Definition at line 270 of file Device.cpp.
const yarp::robotinterface::ActionList & yarp::robotinterface::Device::actions | ( | ) | const |
Definition at line 290 of file Device.cpp.
bool yarp::robotinterface::Device::attach | ( | const yarp::dev::PolyDriverList & | drivers | ) | const |
Definition at line 416 of file Device.cpp.
bool yarp::robotinterface::Device::calibrate | ( | const yarp::dev::PolyDriverDescriptor & | target | ) | const |
Definition at line 356 of file Device.cpp.
bool yarp::robotinterface::Device::close | ( | ) |
Definition at line 310 of file Device.cpp.
bool yarp::robotinterface::Device::configure | ( | const Device & | target, |
const ParamList & | params | ||
) | const |
bool yarp::robotinterface::Device::custom | ( | const ParamList & | params | ) | const |
bool yarp::robotinterface::Device::detach | ( | ) | const |
Definition at line 453 of file Device.cpp.
yarp::dev::PolyDriver * yarp::robotinterface::Device::driver | ( | ) | const |
Definition at line 336 of file Device.cpp.
std::string yarp::robotinterface::Device::findParam | ( | const std::string & | name | ) | const |
Definition at line 331 of file Device.cpp.
bool yarp::robotinterface::Device::hasParam | ( | const std::string & | name | ) | const |
Definition at line 326 of file Device.cpp.
void yarp::robotinterface::Device::joinThreads | ( | ) | const |
Definition at line 346 of file Device.cpp.
std::string & yarp::robotinterface::Device::name | ( | ) |
Definition at line 255 of file Device.cpp.
const std::string & yarp::robotinterface::Device::name | ( | ) | const |
Definition at line 275 of file Device.cpp.
bool yarp::robotinterface::Device::open | ( | ) |
Definition at line 295 of file Device.cpp.
yarp::robotinterface::Device & yarp::robotinterface::Device::operator= | ( | const Device & | other | ) |
Definition at line 233 of file Device.cpp.
yarp::robotinterface::ParamList & yarp::robotinterface::Device::params | ( | ) |
Definition at line 265 of file Device.cpp.
const yarp::robotinterface::ParamList & yarp::robotinterface::Device::params | ( | ) | const |
Definition at line 285 of file Device.cpp.
bool yarp::robotinterface::Device::park | ( | const yarp::dev::PolyDriverDescriptor & | target | ) | const |
Definition at line 489 of file Device.cpp.
void yarp::robotinterface::Device::registerThread | ( | yarp::os::Thread * | thread | ) | const |
Definition at line 341 of file Device.cpp.
void yarp::robotinterface::Device::stopThreads | ( | ) | const |
Definition at line 351 of file Device.cpp.
std::string & yarp::robotinterface::Device::type | ( | ) |
Definition at line 260 of file Device.cpp.
const std::string & yarp::robotinterface::Device::type | ( | ) | const |
Definition at line 280 of file Device.cpp.