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>
12
13namespace yarp::dev {
14class IJointFaultRaw;
15class IJointFault;
16}
17
24{
25public:
26 virtual ~IJointFault(){}
27 virtual yarp::dev::ReturnValue getLastJointFault(int j, int& fault, std::string& message)=0;
28};
29
36{
37public:
38 virtual ~IJointFaultRaw(){}
39 virtual yarp::dev::ReturnValue getLastJointFaultRaw(int j, int& mode, std::string& message)=0;
40};
41
44
45#endif // YARP_DEV_IJOINTFAULT_H
constexpr yarp::conf::vocab32_t VOCAB_JF_GET_JOINTFAULT
Definition IJointFault.h:43
constexpr yarp::conf::vocab32_t VOCAB_IJOINTFAULT
Definition IJointFault.h:42
Interface for getting info about the fault which may occur on a robot.
Definition IJointFault.h:36
virtual yarp::dev::ReturnValue 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:24
virtual yarp::dev::ReturnValue 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.
constexpr yarp::conf::vocab32_t createVocab32(char a, char b=0, char c=0, char d=0)
Create a vocab from chars.
Definition Vocab32.h:27
The main, catch-all namespace for YARP.
Definition dirs.h:16
#define YARP_dev_API
Definition api.h:18