YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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
21{
22 _remoteCalibrator = nullptr;
23}
24
30
32{
33 return _remoteCalibrator;
34}
35
37{
38 _remoteCalibrator == nullptr ? *isCalib = false : *isCalib = true;
39 return ReturnValue_ok;
40}
41
43{
44 _remoteCalibrator = nullptr;
45 return ReturnValue_ok;
46}
#define ReturnValue_ok
Definition ReturnValue.h:82
IRemoteCalibrator interface is meant to remotize the access of the calibration device in order to all...
IRemoteCalibrator()
This interface is meant to remotize the access of the calibration device in order to allow users to r...
virtual yarp::dev::ReturnValue releaseCalibratorDevice()
releaseCalibratorDevice: reset the internal pointer to NULL when stop using the calibrator
virtual yarp::dev::ReturnValue 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
virtual yarp::dev::ReturnValue setCalibratorDevice(yarp::dev::IRemoteCalibrator *dev)
setCalibratorDevice: store the pointer to the calibrator device.
For streams capable of holding different kinds of content, check what they actually have.