YARP
Yet Another Robot Platform
yarp::dev::ImplementAxisInfo Class Reference

#include <yarp/dev/ImplementAxisInfo.h>

+ Inheritance diagram for yarp::dev::ImplementAxisInfo:

Public Member Functions

 ImplementAxisInfo (yarp::dev::IAxisInfoRaw *y)
 
virtual ~ImplementAxisInfo ()
 
bool getAxisName (int axis, std::string &name) override
 
bool getJointType (int axis, yarp::dev::JointTypeEnum &type) override
 
- Public Member Functions inherited from yarp::dev::IAxisInfo
virtual ~IAxisInfo ()
 Destructor. More...
 

Protected Member Functions

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

Protected Attributes

IAxisInfoRawiinfo
 
void * helper
 
double * temp1
 
double * temp2
 

Detailed Description

Definition at line 20 of file ImplementAxisInfo.h.

Constructor & Destructor Documentation

◆ ImplementAxisInfo()

ImplementAxisInfo::ImplementAxisInfo ( yarp::dev::IAxisInfoRaw y)

Definition at line 17 of file ImplementAxisInfo.cpp.

◆ ~ImplementAxisInfo()

ImplementAxisInfo::~ImplementAxisInfo ( )
virtual

Definition at line 23 of file ImplementAxisInfo.cpp.

Member Function Documentation

◆ getAxisName()

bool ImplementAxisInfo::getAxisName ( int  axis,
std::string &  name 
)
overridevirtual

Implements yarp::dev::IAxisInfo.

Definition at line 56 of file ImplementAxisInfo.cpp.

◆ getJointType()

bool ImplementAxisInfo::getJointType ( int  axis,
yarp::dev::JointTypeEnum type 
)
overridevirtual

Reimplemented from yarp::dev::IAxisInfo.

Definition at line 64 of file ImplementAxisInfo.cpp.

◆ initialize()

bool ImplementAxisInfo::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 28 of file ImplementAxisInfo.cpp.

◆ uninitialize()

bool ImplementAxisInfo::uninitialize ( )
protected

Clean up internal data and memory.

Returns
true if uninitialization is executed, false otherwise.

Definition at line 43 of file ImplementAxisInfo.cpp.

Member Data Documentation

◆ helper

void* yarp::dev::ImplementAxisInfo::helper
protected

Definition at line 24 of file ImplementAxisInfo.h.

◆ iinfo

IAxisInfoRaw* yarp::dev::ImplementAxisInfo::iinfo
protected

Definition at line 23 of file ImplementAxisInfo.h.

◆ temp1

double* yarp::dev::ImplementAxisInfo::temp1
protected

Definition at line 25 of file ImplementAxisInfo.h.

◆ temp2

double* yarp::dev::ImplementAxisInfo::temp2
protected

Definition at line 26 of file ImplementAxisInfo.h.


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