YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
IJointFault.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_IJOINTFAULT_H
7#define YARP_DEV_IJOINTFAULT_H
8
9#include <yarp/os/Vocab.h>
10#include <yarp/dev/api.h>
11
12namespace yarp::dev {
13class IJointFaultRaw;
14class IJointFault;
15}
16
23{
24public:
25 virtual ~IJointFault(){}
26 virtual bool getLastJointFault(int j, int& fault, std::string& message)=0;
27};
28
35{
36public:
37 virtual ~IJointFaultRaw(){}
38 virtual bool getLastJointFaultRaw(int j, int& mode, std::string& message)=0;
39};
40
43
44#endif // YARP_DEV_IJOINTFAULT_H
constexpr yarp::conf::vocab32_t VOCAB_JF_GET_JOINTFAULT
Definition IJointFault.h:42
constexpr yarp::conf::vocab32_t VOCAB_IJOINTFAULT
Definition IJointFault.h:41
Interface for getting info about the fault which may occur on a robot.
Definition IJointFault.h:35
virtual bool getLastJointFaultRaw(int j, int &mode, std::string &message)=0
Interface for getting info about the fault which may occur on a robot.
Definition IJointFault.h:23
virtual bool getLastJointFault(int j, int &fault, std::string &message)=0
std::int32_t vocab32_t
Definition numeric.h:78
For streams capable of holding different kinds of content, check what they actually have.
Definition jointData.cpp:13
constexpr yarp::conf::vocab32_t createVocab32(char a, char b=0, char c=0, char d=0)
Create a vocab from chars.
Definition Vocab.h:27
The main, catch-all namespace for YARP.
Definition dirs.h:16
#define YARP_dev_API
Definition api.h:18