pipe
: Tries to connect the output of one device to the input of another.
More...
#include <DevicePipe/DevicePipe.h>
Public Member Functions | |
DevicePipe ()=default | |
DevicePipe (const DevicePipe &)=delete | |
DevicePipe (DevicePipe &&)=delete | |
DevicePipe & | operator= (const DevicePipe &)=delete |
DevicePipe & | operator= (DevicePipe &&)=delete |
~DevicePipe () override=default | |
bool | open (yarp::os::Searchable &config) override |
Open the DeviceDriver. More... | |
bool | close () override |
Close the DeviceDriver. More... | |
bool | startService () override |
Initiate the service, whatever it is. More... | |
bool | stopService () override |
Shut down the service, whatever it is. More... | |
bool | updateService () override |
Give the service the chance to run for a while. More... | |
![]() | |
DeviceDriver () | |
DeviceDriver (const DeviceDriver &other)=delete | |
DeviceDriver (DeviceDriver &&other) noexcept=delete | |
DeviceDriver & | operator= (const DeviceDriver &other)=delete |
DeviceDriver & | operator= (DeviceDriver &&other) noexcept=delete |
~DeviceDriver () override | |
bool | open (yarp::os::Searchable &config) override |
Open the DeviceDriver. More... | |
bool | close () override |
Close the DeviceDriver. More... | |
virtual std::string | id () const |
Return the id assigned to the PolyDriver. More... | |
virtual void | setId (const std::string &id) |
Set the id for this device. More... | |
template<class T > | |
bool | view (T *&x) |
Get an interface to the device driver. More... | |
virtual DeviceDriver * | getImplementation () |
Some drivers are bureaucrats, pointing at others. More... | |
![]() | |
virtual | ~IConfig () |
Destructor. More... | |
virtual bool | open (Searchable &config) |
Initialize the object. More... | |
virtual bool | close () |
Shut the object down. More... | |
virtual bool | configure (Searchable &config) |
Change online parameters. More... | |
![]() | |
virtual | ~IService () |
virtual bool | startService () |
Initiate the service, whatever it is. More... | |
virtual bool | updateService () |
Give the service the chance to run for a while. More... | |
virtual bool | stopService () |
Shut down the service, whatever it is. More... | |
Static Protected Member Functions | |
static bool | open (const char *key, yarp::dev::PolyDriver &poly, yarp::os::Searchable &config, const char *comment) |
Protected Attributes | |
yarp::dev::PolyDriver | source |
yarp::dev::PolyDriver | sink |
pipe
: Tries to connect the output of one device to the input of another.
Definition at line 19 of file DevicePipe.h.
|
default |
|
delete |
|
delete |
|
overridedefault |
|
overridevirtual |
Close the DeviceDriver.
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 81 of file DevicePipe.cpp.
|
staticprotected |
Definition at line 47 of file DevicePipe.cpp.
|
overridevirtual |
Open the DeviceDriver.
config | is a list of parameters for the device. Which parameters are effective for your device can vary. See device invocation examples. If there is no example for your device, you can run the "yarpdev" program with the verbose flag set to probe what parameters the device is checking. If that fails too, you'll need to read the source code (please nag one of the yarp developers to add documentation for your device). |
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 26 of file DevicePipe.cpp.
|
delete |
|
delete |
|
inlineoverridevirtual |
Initiate the service, whatever it is.
The service should then run by itself, without any further interaction with its creator until stopService() is called.
Reimplemented from yarp::dev::IService.
Definition at line 35 of file DevicePipe.h.
|
inlineoverridevirtual |
Shut down the service, whatever it is.
Reimplemented from yarp::dev::IService.
Definition at line 41 of file DevicePipe.h.
|
overridevirtual |
Give the service the chance to run for a while.
This is an alternative to calling startService(). It is more appropriate in a single-threaded environment.
Reimplemented from yarp::dev::IService.
Definition at line 90 of file DevicePipe.cpp.
|
protected |
Definition at line 50 of file DevicePipe.h.
|
protected |
Definition at line 49 of file DevicePipe.h.