YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::robotinterface::Device Class Reference

#include <yarp/robotinterface/Device.h>

Classes

class  Private
 

Public Member Functions

 Device ()
 
 Device (const std::string &name, const std::string &type, const ParamList &params=ParamList(), const ActionList &actions=ActionList())
 
 Device (const Device &other)
 
Deviceoperator= (const Device &other)
 
virtual ~Device ()
 
std::string & name ()
 
std::string & type ()
 
ParamListparams ()
 
ActionListactions ()
 
const std::string & name () const
 
const std::string & type () const
 
const ParamListparams () const
 
const ActionListactions () const
 
bool hasParam (const std::string &name) const
 
std::string findParam (const std::string &name) const
 
bool open ()
 
bool close ()
 
yarp::dev::PolyDriverdriver () const
 
void registerThread (yarp::os::Thread *thread) const
 
void joinThreads () const
 
void stopThreads () const
 
bool configure (const Device &target, const ParamList &params) 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 &params) const
 

Detailed Description

Definition at line 23 of file Device.h.

Constructor & Destructor Documentation

◆ Device() [1/3]

yarp::robotinterface::Device::Device ( )
explicit

Definition at line 208 of file Device.cpp.

◆ Device() [2/3]

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.

◆ Device() [3/3]

yarp::robotinterface::Device::Device ( const Device other)

Definition at line 226 of file Device.cpp.

◆ ~Device()

yarp::robotinterface::Device::~Device ( )
virtual

Definition at line 253 of file Device.cpp.

Member Function Documentation

◆ abort()

bool yarp::robotinterface::Device::abort ( ) const

◆ actions() [1/2]

yarp::robotinterface::ActionList & yarp::robotinterface::Device::actions ( )

Definition at line 273 of file Device.cpp.

◆ actions() [2/2]

const yarp::robotinterface::ActionList & yarp::robotinterface::Device::actions ( ) const

Definition at line 293 of file Device.cpp.

◆ attach()

bool yarp::robotinterface::Device::attach ( const yarp::dev::PolyDriverList drivers) const

Definition at line 419 of file Device.cpp.

◆ calibrate()

bool yarp::robotinterface::Device::calibrate ( const yarp::dev::PolyDriverDescriptor target) const

Definition at line 359 of file Device.cpp.

◆ close()

bool yarp::robotinterface::Device::close ( )

Definition at line 313 of file Device.cpp.

◆ configure()

bool yarp::robotinterface::Device::configure ( const Device target,
const ParamList params 
) const

◆ custom()

bool yarp::robotinterface::Device::custom ( const ParamList params) const

◆ detach()

bool yarp::robotinterface::Device::detach ( ) const

Definition at line 457 of file Device.cpp.

◆ driver()

yarp::dev::PolyDriver * yarp::robotinterface::Device::driver ( ) const

Definition at line 339 of file Device.cpp.

◆ findParam()

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

Definition at line 334 of file Device.cpp.

◆ hasParam()

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

Definition at line 329 of file Device.cpp.

◆ joinThreads()

void yarp::robotinterface::Device::joinThreads ( ) const

Definition at line 349 of file Device.cpp.

◆ name() [1/2]

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

Definition at line 258 of file Device.cpp.

◆ name() [2/2]

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

Definition at line 278 of file Device.cpp.

◆ open()

bool yarp::robotinterface::Device::open ( )

Definition at line 298 of file Device.cpp.

◆ operator=()

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

Definition at line 236 of file Device.cpp.

◆ params() [1/2]

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

Definition at line 268 of file Device.cpp.

◆ params() [2/2]

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

Definition at line 288 of file Device.cpp.

◆ park()

bool yarp::robotinterface::Device::park ( const yarp::dev::PolyDriverDescriptor target) const

Definition at line 493 of file Device.cpp.

◆ registerThread()

void yarp::robotinterface::Device::registerThread ( yarp::os::Thread thread) const

Definition at line 344 of file Device.cpp.

◆ stopThreads()

void yarp::robotinterface::Device::stopThreads ( ) const

Definition at line 354 of file Device.cpp.

◆ type() [1/2]

std::string & yarp::robotinterface::Device::type ( )

Definition at line 263 of file Device.cpp.

◆ type() [2/2]

const std::string & yarp::robotinterface::Device::type ( ) const

Definition at line 283 of file Device.cpp.


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