YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
ImplementJointFault.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_IMPLEMENTJOINTFAULT_H
7#define YARP_DEV_IMPLEMENTJOINTFAULT_H
8
10#include <yarp/dev/api.h>
11
12namespace yarp::dev {
13class ImplementJointFault;
14}
15
17{
18protected:
20 void *helper;
21
28 bool initialize (int size, const int *amap);
29
34 bool uninitialize ();
35
36public:
37 /* Constructor.
38 * @param y is the pointer to the class instance inheriting from this
39 * implementation.
40 */
42
46 virtual ~ImplementJointFault();
47
48 bool getLastJointFault(int j, int& fault, std::string& message) override;
49
50};
51
52#endif // YARP_DEV_IMPLEMENTJOINTFAULT_H
Interface for getting info about the fault which may occur on a robot.
Definition IJointFault.h:35
Interface for getting info about the fault which may occur on a robot.
Definition IJointFault.h:23
yarp::dev::IJointFaultRaw * raw
virtual ~ImplementJointFault()
Destructor.
bool uninitialize()
Clean up internal data and memory.
bool getLastJointFault(int j, int &fault, std::string &message) override
bool initialize(int size, const int *amap)
Initialize the internal data and alloc memory.
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