YARP
Yet Another Robot Platform
ICalibrator.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * Copyright (C) 2006-2010 RobotCub Consortium
4  * All rights reserved.
5  *
6  * This software may be modified and distributed under the terms of the
7  * BSD-3-Clause license. See the accompanying LICENSE file for details.
8  */
9 
10 #ifndef YARP_DEV_ICALIBRATOR_H
11 #define YARP_DEV_ICALIBRATOR_H
12 
13 #include <yarp/dev/DeviceDriver.h>
14 
15 namespace yarp {
16 namespace dev {
17 
19 {
20 public:
21  virtual ~ICalibrator() = default;
22 
23  virtual bool calibrate(DeviceDriver *dd) = 0;
24 
25  virtual bool park(DeviceDriver *dd, bool wait = true) = 0;
26 
27  virtual bool quitCalibrate() = 0;
28 
29  virtual bool quitPark() = 0;
30 };
31 
32 } // namespace dev
33 } // namespace yarp
34 
35 #endif // YARP_DEV_ICALIBRATOR_H
yarp::dev::ICalibrator::park
virtual bool park(DeviceDriver *dd, bool wait=true)=0
yarp::dev::DeviceDriver
Interface implemented by all device drivers.
Definition: DeviceDriver.h:38
yarp::dev::ICalibrator::~ICalibrator
virtual ~ICalibrator()=default
yarp::dev::ICalibrator::quitCalibrate
virtual bool quitCalibrate()=0
yarp::dev::ICalibrator::quitPark
virtual bool quitPark()=0
yarp::dev::ICalibrator
Definition: ICalibrator.h:19
YARP_dev_API
#define YARP_dev_API
Definition: api.h:19
yarp::dev::ICalibrator::calibrate
virtual bool calibrate(DeviceDriver *dd)=0
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
DeviceDriver.h