#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 208 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 214 of file Device.cpp.
yarp::robotinterface::Device::Device | ( | const Device & | other | ) |
Definition at line 226 of file Device.cpp.
|
virtual |
Definition at line 253 of file Device.cpp.
bool yarp::robotinterface::Device::abort | ( | ) | const |
yarp::robotinterface::ActionList & yarp::robotinterface::Device::actions | ( | ) |
Definition at line 273 of file Device.cpp.
const yarp::robotinterface::ActionList & yarp::robotinterface::Device::actions | ( | ) | const |
Definition at line 293 of file Device.cpp.
bool yarp::robotinterface::Device::attach | ( | const yarp::dev::PolyDriverList & | drivers | ) | const |
Definition at line 419 of file Device.cpp.
bool yarp::robotinterface::Device::calibrate | ( | const yarp::dev::PolyDriverDescriptor & | target | ) | const |
Definition at line 359 of file Device.cpp.
bool yarp::robotinterface::Device::close | ( | ) |
Definition at line 313 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 457 of file Device.cpp.
yarp::dev::PolyDriver * yarp::robotinterface::Device::driver | ( | ) | const |
Definition at line 339 of file Device.cpp.
std::string yarp::robotinterface::Device::findParam | ( | const std::string & | name | ) | const |
Definition at line 334 of file Device.cpp.
bool yarp::robotinterface::Device::hasParam | ( | const std::string & | name | ) | const |
Definition at line 329 of file Device.cpp.
void yarp::robotinterface::Device::joinThreads | ( | ) | const |
Definition at line 349 of file Device.cpp.
std::string & yarp::robotinterface::Device::name | ( | ) |
Definition at line 258 of file Device.cpp.
const std::string & yarp::robotinterface::Device::name | ( | ) | const |
Definition at line 278 of file Device.cpp.
bool yarp::robotinterface::Device::open | ( | ) |
Definition at line 298 of file Device.cpp.
yarp::robotinterface::Device & yarp::robotinterface::Device::operator= | ( | const Device & | other | ) |
Definition at line 236 of file Device.cpp.
yarp::robotinterface::ParamList & yarp::robotinterface::Device::params | ( | ) |
Definition at line 268 of file Device.cpp.
const yarp::robotinterface::ParamList & yarp::robotinterface::Device::params | ( | ) | const |
Definition at line 288 of file Device.cpp.
bool yarp::robotinterface::Device::park | ( | const yarp::dev::PolyDriverDescriptor & | target | ) | const |
Definition at line 493 of file Device.cpp.
void yarp::robotinterface::Device::registerThread | ( | yarp::os::Thread * | thread | ) | const |
Definition at line 344 of file Device.cpp.
void yarp::robotinterface::Device::stopThreads | ( | ) | const |
Definition at line 354 of file Device.cpp.
std::string & yarp::robotinterface::Device::type | ( | ) |
Definition at line 263 of file Device.cpp.
const std::string & yarp::robotinterface::Device::type | ( | ) | const |
Definition at line 283 of file Device.cpp.