YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::dev::ImplementJointFault Class Reference

#include <yarp/dev/ImplementJointFault.h>

+ Inheritance diagram for yarp::dev::ImplementJointFault:

Public Member Functions

 ImplementJointFault (yarp::dev::IJointFaultRaw *y)
 
virtual ~ImplementJointFault ()
 Destructor.
 
bool getLastJointFault (int j, int &fault, std::string &message) override
 
- Public Member Functions inherited from yarp::dev::IJointFault
virtual ~IJointFault ()
 

Protected Member Functions

bool initialize (int size, const int *amap)
 Initialize the internal data and alloc memory.
 
bool uninitialize ()
 Clean up internal data and memory.
 

Protected Attributes

yarp::dev::IJointFaultRawraw
 
void * helper
 

Detailed Description

Definition at line 16 of file ImplementJointFault.h.

Constructor & Destructor Documentation

◆ ImplementJointFault()

ImplementJointFault::ImplementJointFault ( yarp::dev::IJointFaultRaw y)

Definition at line 16 of file ImplementJointFault.cpp.

◆ ~ImplementJointFault()

ImplementJointFault::~ImplementJointFault ( )
virtual

Destructor.

Perform uninitialize if needed.

Definition at line 33 of file ImplementJointFault.cpp.

Member Function Documentation

◆ getLastJointFault()

bool ImplementJointFault::getLastJointFault ( int  j,
int fault,
std::string &  message 
)
overridevirtual

Implements yarp::dev::IJointFault.

Definition at line 49 of file ImplementJointFault.cpp.

◆ initialize()

bool ImplementJointFault::initialize ( int  size,
const int amap 
)
protected

Initialize the internal data and alloc memory.

Parameters
sizeis the number of controlled axes the driver deals with.
amapis a lookup table mapping axes onto physical drivers.
Returns
true if initialized succeeded, false if it wasn't executed, or assert.

Definition at line 21 of file ImplementJointFault.cpp.

◆ uninitialize()

bool ImplementJointFault::uninitialize ( )
protected

Clean up internal data and memory.

Returns
true if uninitialization is executed, false otherwise.

Definition at line 38 of file ImplementJointFault.cpp.

Member Data Documentation

◆ helper

void* yarp::dev::ImplementJointFault::helper
protected

Definition at line 20 of file ImplementJointFault.h.

◆ raw

yarp::dev::IJointFaultRaw* yarp::dev::ImplementJointFault::raw
protected

Definition at line 19 of file ImplementJointFault.h.


The documentation for this class was generated from the following files: