YARP
Yet Another Robot Platform
IEncodersTimed.h
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 
6 #ifndef YARP_DEV_IENCODERSTIMED_H
7 #define YARP_DEV_IENCODERSTIMED_H
8 
9 #include <yarp/dev/IEncoders.h>
10 #include <yarp/dev/api.h>
11 
12 namespace yarp {
13  namespace dev {
14  class IEncodersTimed;
15  class IEncodersTimedRaw;
16  }
17 }
18 
25 {
26 public:
30  virtual ~IEncodersTimedRaw() {}
31 
38  virtual bool getEncodersTimedRaw(double *encs, double *stamps)=0;
39 
47  virtual bool getEncoderTimedRaw(int j, double *encs, double *stamp)=0;
48 };
49 
56 {
57 public:
61  virtual ~IEncodersTimed() {}
62 
69  virtual bool getEncodersTimed(double *encs, double *time)=0;
70 
78  virtual bool getEncoderTimed(int j, double *encs, double *time)=0;
79 };
80 
81 
82 #endif // YARP_DEV_IENCODERSTIMED_H
Control board, encoder interface.
Definition: IEncoders.h:25
Control board, extend encoder raw interface adding timestamps.
virtual ~IEncodersTimedRaw()
Destructor.
virtual bool getEncoderTimedRaw(int j, double *encs, double *stamp)=0
Read the instantaneous acceleration of all axes.
virtual bool getEncodersTimedRaw(double *encs, double *stamps)=0
Read the instantaneous acceleration of all axes.
Control board, extend encoder interface with timestamps.
virtual bool getEncodersTimed(double *encs, double *time)=0
Read the instantaneous acceleration of all axes.
virtual ~IEncodersTimed()
Destructor.
virtual bool getEncoderTimed(int j, double *encs, double *time)=0
Read the instantaneous acceleration of all axes.
Control board, encoder interface.
Definition: IEncoders.h:118
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_dev_API
Definition: api.h:18