YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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
11namespace yarp::dev {
12class ImplementAxisInfo;
13}
14
16{
17protected:
19 void *helper;
20 double *temp1;
21 double *temp2;
22
23
30 bool initialize (int size, const int *amap);
31
36 bool uninitialize ();
37
38public:
39 /* Constructor.
40 * @param y is the pointer to the class instance inheriting from this
41 * implementation.
42 */
44
45 virtual ~ImplementAxisInfo();
46
47 bool getAxes(int* ax) override;
48 bool getAxisName(int axis, std::string& name) override;
49 bool getJointType(int axis, yarp::dev::JointTypeEnum& type) override;
50};
51
52#endif // YARP_DEV_IMPLEMENTAXISINFO_H
define control board standard interfaces
Interface for getting information about specific axes, if available.
Definition IAxisInfo.h:72
Interface for getting information about specific axes, if available.
Definition IAxisInfo.h:36
bool getJointType(int axis, yarp::dev::JointTypeEnum &type) override
bool uninitialize()
Clean up internal data and memory.
bool getAxes(int *ax) override
Get the number of controlled axes.
bool initialize(int size, const int *amap)
Initialize the internal data and alloc memory.
bool getAxisName(int axis, std::string &name) override
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.
Definition dirs.h:16
#define YARP_dev_API
Definition api.h:18