YARP
Yet Another Robot Platform
ImplementAxisInfo.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_IMPLEMENTAXISINFO_H
7 #define YARP_DEV_IMPLEMENTAXISINFO_H
8 
10 
11 namespace yarp {
12  namespace dev {
13  class ImplementAxisInfo;
14  }
15 }
16 
18 {
19 protected:
21  void *helper;
22  double *temp1;
23  double *temp2;
24 
25 
32  bool initialize (int size, const int *amap);
33 
38  bool uninitialize ();
39 
40 public:
41  /* Constructor.
42  * @param y is the pointer to the class instance inheriting from this
43  * implementation.
44  */
46 
47  virtual ~ImplementAxisInfo();
48 
49  bool getAxisName(int axis, std::string& name) override;
50  bool getJointType(int axis, yarp::dev::JointTypeEnum& type) override;
51 };
52 
53 #endif // YARP_DEV_IMPLEMENTAXISINFO_H
define control board standard interfaces
Interface for getting information about specific axes, if available.
Definition: IAxisInfo.h:66
Interface for getting information about specific axes, if available.
Definition: IAxisInfo.h:40
virtual bool getAxisName(int axis, std::string &name)=0
virtual bool getJointType(int axis, yarp::dev::JointTypeEnum &type)
Definition: IAxisInfo.h:59
bool uninitialize()
Clean up internal data and memory.
bool initialize(int size, const int *amap)
Initialize the internal data and alloc memory.
ImplementAxisInfo(yarp::dev::IAxisInfoRaw *y)
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_dev_API
Definition: api.h:18