YARP  2.3.70.1
Yet Another Robot Platform
yarp::os::IConfig Class Reference

An object that can be configured. More...

#include <yarp/os/IConfig.h>

+ Inheritance diagram for yarp::os::IConfig:

Public Member Functions

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...
 

Detailed Description

An object that can be configured.

When possible, we separate out the configuration for modules and devices into external files, command line options, or GUIs.

Definition at line 26 of file IConfig.h.

Constructor & Destructor Documentation

◆ ~IConfig()

yarp::os::IConfig::~IConfig ( )
virtual

Destructor.

Definition at line 11 of file IConfig.cpp.

Member Function Documentation

◆ close()

bool yarp::os::IConfig::close ( void  )
virtual

Shut the object down.

You should override this.

Returns
true/false on success/failure.

Reimplemented in yarp::dev::RemoteControlBoard, yarp::dev::RemoteFrameGrabber, yarp::dev::ControlBoardWrapper, yarp::dev::MEIMotionControl, yarp::dev::FakeMotionControl, yarp::dev::ServerGrabber, yarp::dev::RGBDSensorWrapper, yarp::dev::FakeBot, yarp::dev::TestMotor, yarp::dev::depthCameraDriver, StubDriver, RpLidar, yarp::dev::RGBDSensorClient, yarp::dev::AnalogWrapper, yarp::dev::ControlBoardRemapper, yarp::dev::BoschIMU, yarp::dev::DynamixelAX12FtdiDriver, yarp::dev::ServerInertial, yarp::dev::JrkerrMotionControl, SerialServoBoard, yarp::dev::RemoteControlBoardRemapper, yarp::dev::JoypadControlServer, yarp::dev::ServerSoundGrabber, yarp::dev::ServerSerial, yarp::dev::ServerFrameGrabber, yarp::dev::FrameTransformClient, yarp::dev::AnalogSensorClient, FakeLaser, yarp::dev::UrbtcControl, yarp::dev::ServerKinect, yarp::dev::PolyDriver, yarp::dev::Rangefinder2DClient, yarp::dev::SerialDeviceDriver, yarp::dev::PortAudioDeviceDriver, yarp::dev::BatteryClient, yarp::dev::VirtualAnalogWrapper, laserHokuyo, yarp::dev::FrameTransformServer, yarp::dev::StageControl, yarp::dev::Map2DServer, yarp::dev::PumaCalibrator, LaserFromDepth, RpLidar2, yarp::dev::FfmpegGrabber, yarp::dev::KinectDeviceDriver, yarp::dev::LocationsServer, yarp::dev::KinectDeviceDriverServer, yarp::dev::TestFrameGrabber, yarp::dev::OpenCVGrabber, yarp::dev::OpenNI2DeviceDriverServer, yarp::dev::Map2DClient, yarp::dev::SDLJoypad, yarp::dev::DeviceDriver, yarp::dev::Localization2DClient, yarp::dev::Rangefinder2DWrapper, yarp::dev::RobotDescriptionServer, yarp::dev::DimaxU2C, yarp::dev::BatteryWrapper, yarp::dev::Navigation2DClient, yarp::dev::MicrophoneDeviceDriver, yarp::dev::JoypadControlClient, yarp::dev::RobotDescriptionClient, yarp::dev::FfmpegWriter, yarp::dev::FakeAnalogSensor, yarp::dev::KinectDeviceDriverClient, yarp::dev::OpenNI2DeviceDriverClient, yarp::dev::OVRHeadset, yarp::dev::fakeDepthCameraDriver, yarp::dev::fakeIMU, CUDAGPU, yarp::dev::WxsdlWriter, NVIDIAGPU, yarp::dev::DeviceGroup, yarp::dev::DevicePipe, and yarp::dev::VfwGrabber.

Definition at line 18 of file IConfig.cpp.

◆ configure()

bool yarp::os::IConfig::configure ( Searchable config)
virtual

Change online parameters.

The parameters that can be changed online (in other words, without closing and reopening) will vary between objects.

Parameters
configA list of parameters for the object.
Returns
true/false on success/failure.

Reimplemented in yarp::dev::DynamixelAX12FtdiDriver.

Definition at line 22 of file IConfig.cpp.

◆ open()

bool yarp::os::IConfig::open ( Searchable config)
virtual

Initialize the object.

You should override this.

Parameters
configis a list of parameters for the object. Which parameters are effective for your object can vary.
Returns
true/false upon success/failure

Reimplemented in yarp::dev::RemoteControlBoard, yarp::dev::RemoteFrameGrabber, yarp::dev::ControlBoardWrapper, yarp::dev::MEIMotionControl, yarp::dev::FakeMotionControl, yarp::dev::ServerGrabber, yarp::dev::RGBDSensorWrapper, yarp::dev::ControlBoardRemapper, yarp::dev::depthCameraDriver, RpLidar, StubDriver, yarp::dev::AnalogWrapper, yarp::dev::RGBDSensorClient, yarp::dev::BoschIMU, yarp::dev::DynamixelAX12FtdiDriver, yarp::dev::ServerInertial, yarp::dev::JrkerrMotionControl, yarp::dev::ServerSerial, yarp::dev::JoypadControlServer, yarp::dev::ServerFrameGrabber, yarp::dev::RemoteControlBoardRemapper, yarp::dev::FrameTransformClient, yarp::dev::AnalogSensorClient, FakeLaser, yarp::dev::UrbtcControl, yarp::dev::Rangefinder2DClient, yarp::dev::BatteryClient, yarp::dev::SerialDeviceDriver, yarp::dev::VirtualAnalogWrapper, yarp::dev::TestFrameGrabber, laserHokuyo, yarp::dev::FrameTransformServer, yarp::dev::StageControl, yarp::dev::ServerSoundGrabber, yarp::dev::PortAudioDeviceDriver, yarp::dev::Map2DServer, yarp::dev::PolyDriver, yarp::dev::FakeBot, LaserFromDepth, RpLidar2, yarp::dev::PumaCalibrator, SerialServoBoard, yarp::dev::TestMotor, yarp::dev::FfmpegGrabber, yarp::dev::LocationsServer, yarp::dev::KinectDeviceDriverServer, yarp::dev::OpenNI2DeviceDriverServer, yarp::dev::Map2DClient, yarp::dev::OpenCVGrabber, yarp::dev::SDLJoypad, yarp::dev::KinectDeviceDriver, yarp::dev::Localization2DClient, yarp::dev::Rangefinder2DWrapper, yarp::dev::RobotDescriptionServer, yarp::dev::DimaxU2C, yarp::dev::BatteryWrapper, yarp::dev::Navigation2DClient, yarp::dev::DeviceDriver, yarp::dev::ServerKinect, yarp::dev::JoypadControlClient, yarp::dev::RobotDescriptionClient, yarp::dev::FakeAnalogSensor, yarp::dev::FfmpegWriter, yarp::dev::MicrophoneDeviceDriver, yarp::dev::KinectDeviceDriverClient, yarp::dev::OpenNI2DeviceDriverClient, yarp::dev::OVRHeadset, yarp::dev::fakeDepthCameraDriver, yarp::dev::fakeIMU, yarp::dev::WxsdlWriter, yarp::dev::DeviceGroup, CUDAGPU, yarp::dev::DevicePipe, NVIDIAGPU, and yarp::dev::VfwGrabber.

Definition at line 14 of file IConfig.cpp.


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