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 205 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 211 of file Device.cpp.

◆ Device() [3/3]

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

Definition at line 223 of file Device.cpp.

◆ ~Device()

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

Definition at line 250 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 270 of file Device.cpp.

◆ actions() [2/2]

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

Definition at line 290 of file Device.cpp.

◆ attach()

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

Definition at line 416 of file Device.cpp.

◆ calibrate()

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

Definition at line 356 of file Device.cpp.

◆ close()

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

Definition at line 310 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 453 of file Device.cpp.

◆ driver()

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

Definition at line 336 of file Device.cpp.

◆ findParam()

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

Definition at line 331 of file Device.cpp.

◆ hasParam()

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

Definition at line 326 of file Device.cpp.

◆ joinThreads()

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

Definition at line 346 of file Device.cpp.

◆ name() [1/2]

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

Definition at line 255 of file Device.cpp.

◆ name() [2/2]

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

Definition at line 275 of file Device.cpp.

◆ open()

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

Definition at line 295 of file Device.cpp.

◆ operator=()

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

Definition at line 233 of file Device.cpp.

◆ params() [1/2]

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

Definition at line 265 of file Device.cpp.

◆ params() [2/2]

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

Definition at line 285 of file Device.cpp.

◆ park()

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

Definition at line 489 of file Device.cpp.

◆ registerThread()

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

Definition at line 341 of file Device.cpp.

◆ stopThreads()

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

Definition at line 351 of file Device.cpp.

◆ type() [1/2]

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

Definition at line 260 of file Device.cpp.

◆ type() [2/2]

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

Definition at line 280 of file Device.cpp.


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