YARP
Yet Another Robot Platform
ICalibrator.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef YARP_DEV_ICALIBRATOR_H
8#define YARP_DEV_ICALIBRATOR_H
9
11
12namespace yarp::dev {
13
15{
16public:
17 virtual ~ICalibrator() = default;
18
19 virtual bool calibrate(DeviceDriver *dd) = 0;
20
21 virtual bool park(DeviceDriver *dd, bool wait = true) = 0;
22
23 virtual bool quitCalibrate() = 0;
24
25 virtual bool quitPark() = 0;
26};
27
28} // namespace yarp::dev
29
30#endif // YARP_DEV_ICALIBRATOR_H
Interface implemented by all device drivers.
Definition: DeviceDriver.h:30
virtual bool park(DeviceDriver *dd, bool wait=true)=0
virtual bool calibrate(DeviceDriver *dd)=0
virtual bool quitPark()=0
virtual bool quitCalibrate()=0
virtual ~ICalibrator()=default
For streams capable of holding different kinds of content, check what they actually have.
#define YARP_dev_API
Definition: api.h:18