YARP
Yet Another Robot Platform
IRemoteCalibrator.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
7
8using namespace yarp::dev;
9
20IRemoteCalibrator::IRemoteCalibrator()
21{
22 _remoteCalibrator = nullptr;
23}
24
26{
27 _remoteCalibrator = dev;
28 return true;
29}
30
32{
33 return _remoteCalibrator;
34}
35
37{
38 _remoteCalibrator == nullptr ? *isCalib = false : *isCalib = true;
39 return true;
40}
41
43{
44 _remoteCalibrator = nullptr;
45}
IRemoteCalibrator interface is meant to remotize the access of the calibration device in order to all...
virtual bool setCalibratorDevice(yarp::dev::IRemoteCalibrator *dev)
setCalibratorDevice: store the pointer to the calibrator device.
virtual void releaseCalibratorDevice()
releaseCalibratorDevice: reset the internal pointer to NULL when stop using the calibrator
virtual bool isCalibratorDevicePresent(bool *isCalib)
isCalibratorDevicePresent: check if a calibrator device has been set
virtual yarp::dev::IRemoteCalibrator * getCalibratorDevice()
getCalibratorDevice: return the pointer stored with the setCalibratorDevice
For streams capable of holding different kinds of content, check what they actually have.