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 
10 #include <yarp/dev/DeviceDriver.h>
11 
12 namespace yarp {
13 namespace dev {
14 
16 {
17 public:
18  virtual ~ICalibrator() = default;
19 
20  virtual bool calibrate(DeviceDriver *dd) = 0;
21 
22  virtual bool park(DeviceDriver *dd, bool wait = true) = 0;
23 
24  virtual bool quitCalibrate() = 0;
25 
26  virtual bool quitPark() = 0;
27 };
28 
29 } // namespace dev
30 } // namespace yarp
31 
32 #endif // YARP_DEV_ICALIBRATOR_H
Interface implemented by all device drivers.
Definition: DeviceDriver.h:35
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
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_dev_API
Definition: api.h:18