An object that can be configured. More...
#include <yarp/os/IConfig.h>
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... | |
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.
|
virtualdefault |
Destructor.
|
virtual |
Shut the object down.
You should override this.
Reimplemented in yarp::dev::PolyDriver, StubDriver, yarp::dev::DeviceDriver, VirtualAnalogWrapper, V4L_camera, USBCameraDriver, UpowerBattery, TransformServer, TransformClient, SegFault, Nop, ServerSoundGrabber, ServerSerial, ServerInertial, ServerGrabber, FrameGrabber_nws_yarp, FrameGrabber_nws_ros, ServerFrameGrabber, SerialServoBoard, SerialDeviceDriver, SDLJoypad, RpLidar2, RpLidar, RobotDescriptionServer, RobotDescriptionClient, RGBDToPointCloudSensor_nws_ros, RGBDSensorWrapper, RgbdSensor_nws_yarp, RgbdSensor_nws_ros, RGBDSensorFromRosTopic, RGBDSensorClient, RemoteFrameGrabber, FrameGrabber_nwc_yarp, RemoteControlBoard, Rangefinder2DWrapper, Rangefinder2D_nws_yarp, Rangefinder2D_nws_ros, Rangefinder2DClient, PortAudioRecorderDeviceDriver, PortAudioPlayerDeviceDriver, PortAudioDeviceDriver, OpenCVGrabber, navigation2DServer, Navigation2DClient, MultipleAnalogSensorsServer, GenericSensorRosPublisher< ROS_MSG >, GenericSensorRosPublisher< yarp::rosmsg::geometry_msgs::WrenchStamped >, GenericSensorRosPublisher< yarp::rosmsg::sensor_msgs::Temperature >, GenericSensorRosPublisher< yarp::rosmsg::geometry_msgs::PoseStamped >, GenericSensorRosPublisher< yarp::rosmsg::sensor_msgs::MagneticField >, GenericSensorRosPublisher< yarp::rosmsg::sensor_msgs::Imu >, MultipleAnalogSensorsRemapper, MultipleAnalogSensorsClient, Map2DStorage, Map2DServer, Map2D_nws_yarp, Map2D_nws_ros, Map2DClient, Localization2DServer, Localization2D_nws_yarp, Localization2D_nws_ros, Localization2DClient, laserHokuyo, LaserFromRosTopic, LaserFromPointCloud, LaserFromExternalPort, LaserFromDepth, JoypadControlServer, JoypadControlClient, BoschIMU, FrameTransformStorage, FrameTransformSetMultiplexer, FrameTransformSet_nws_yarp, FrameTransformSet_nwc_yarp, FrameTransformSet_nwc_ros, FrameTransformServer, FrameTransformGetMultiplexer, FrameTransformGet_nws_yarp, FrameTransformGet_nwc_yarp, FrameTransformGet_nwc_ros, FrameTransformClient, FrameGrabberCropper, FfmpegWriter, FfmpegGrabber, fakeSpeaker, fakeNavigation, FakeMotor, FakeMotionControl, fakeMicrophone, fakeLocalizer, FakeLaser, fakeIMU, FakeFrameGrabber, fakeDepthCameraDriver, FakeBot, FakeBattery, FakeAnalogSensor, DynamixelAX12FtdiDriver, DevicePipe, DeviceGroup, depthCameraDriver, ControlBoardWrapper, ControlBoard_nws_yarp, ControlBoard_nws_ros, RemoteControlBoardRemapper, ControlBoardRemapper, BatteryWrapper, BatteryClient, audioToFileDevice, AudioRecorderWrapper, AudioPlayerWrapper, audioFromFileDevice, AnalogWrapper, and AnalogSensorClient.
Definition at line 18 of file IConfig.cpp.
|
virtual |
Change online parameters.
The parameters that can be changed online (in other words, without closing and reopening) will vary between objects.
config | A list of parameters for the object. |
Reimplemented in DynamixelAX12FtdiDriver.
Definition at line 23 of file IConfig.cpp.
|
virtual |
Initialize the object.
You should override this.
config | is a list of parameters for the object. Which parameters are effective for your object can vary. |
Reimplemented in navigation2DServer, Localization2DServer, Localization2D_nws_yarp, Localization2D_nws_ros, ControlBoardWrapper, ControlBoard_nws_yarp, ControlBoard_nws_ros, RemoteControlBoardRemapper, ControlBoardRemapper, TransformServer, RGBDToPointCloudSensor_nws_ros, RGBDSensorWrapper, RgbdSensor_nws_yarp, RgbdSensor_nws_ros, Rangefinder2DWrapper, Rangefinder2D_nws_yarp, Rangefinder2D_nws_ros, MultipleAnalogSensorsServer, GenericSensorRosPublisher< ROS_MSG >, GenericSensorRosPublisher< yarp::rosmsg::geometry_msgs::WrenchStamped >, GenericSensorRosPublisher< yarp::rosmsg::sensor_msgs::Temperature >, GenericSensorRosPublisher< yarp::rosmsg::geometry_msgs::PoseStamped >, GenericSensorRosPublisher< yarp::rosmsg::sensor_msgs::MagneticField >, GenericSensorRosPublisher< yarp::rosmsg::sensor_msgs::Imu >, Map2DStorage, Map2DServer, Map2D_nws_yarp, Map2D_nws_ros, JoypadControlServer, FrameTransformGet_nws_yarp, FrameTransformGet_nwc_yarp, BatteryWrapper, AudioPlayerWrapper, AnalogWrapper, FakeMotionControl, yarp::dev::PolyDriver, StubDriver, yarp::dev::DeviceDriver, VirtualAnalogWrapper, V4L_camera, USBCameraDriver, UpowerBattery, TransformClient, SegFault, Nop, ServerSoundGrabber, ServerInertial, ServerGrabber, FrameGrabber_nws_yarp, FrameGrabber_nws_ros, ServerFrameGrabber, SerialDeviceDriver, SDLJoypad, RpLidar2, RpLidar, RobotDescriptionServer, RobotDescriptionClient, RGBDSensorFromRosTopic, RGBDSensorClient, RemoteFrameGrabber, FrameGrabber_nwc_yarp, Rangefinder2DClient, PortAudioRecorderDeviceDriver, PortAudioPlayerDeviceDriver, PortAudioDeviceDriver, OpenCVGrabber, Navigation2DClient, MultipleAnalogSensorsRemapper, MultipleAnalogSensorsClient, Map2DClient, Localization2DClient, laserHokuyo, LaserFromRosTopic, LaserFromPointCloud, LaserFromExternalPort, LaserFromDepth, JoypadControlClient, BoschIMU, FrameTransformStorage, FrameTransformSetMultiplexer, FrameTransformSet_nws_yarp, FrameTransformSet_nwc_yarp, FrameTransformSet_nwc_ros, FrameTransformServer, FrameTransformGetMultiplexer, FrameTransformGet_nwc_ros, FrameTransformClient, FrameGrabberCropper, FfmpegWriter, FfmpegGrabber, fakeSpeaker, fakeNavigation, TestMotor, FakeMotor, fakeMicrophone, fakeLocalizer, FakeLaser, fakeIMU, FakeFrameGrabber, fakeDepthCameraDriver, FakeBot, FakeBattery, FakeAnalogSensor, DynamixelAX12FtdiDriver, DevicePipe, DeviceGroup, depthCameraDriver, BatteryClient, audioToFileDevice, AudioRecorderWrapper, audioFromFileDevice, AnalogSensorClient, ServerSerial, SerialServoBoard, and RemoteControlBoard.
Definition at line 12 of file IConfig.cpp.