YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::dev::IAxisInfo Class Referenceabstract

Interface for getting information about specific axes, if available. More...

#include <yarp/dev/IAxisInfo.h>

+ Inheritance diagram for yarp::dev::IAxisInfo:

Public Member Functions

virtual ~IAxisInfo ()
 Destructor.
 
virtual bool getAxes (int *ax)=0
 Get the number of controlled axes.
 
virtual bool getAxisName (int axis, std::string &name)=0
 
virtual bool getJointType (int axis, yarp::dev::JointTypeEnum &type)
 

Detailed Description

Interface for getting information about specific axes, if available.

Definition at line 35 of file IAxisInfo.h.

Constructor & Destructor Documentation

◆ ~IAxisInfo()

virtual yarp::dev::IAxisInfo::~IAxisInfo ( )
inlinevirtual

Destructor.

Definition at line 41 of file IAxisInfo.h.

Member Function Documentation

◆ getAxes()

virtual bool yarp::dev::IAxisInfo::getAxes ( int *  ax)
pure virtual

Get the number of controlled axes.

This command asks the number of controlled axes for the current physical interface.

Parameters
axstorage to return param
Returns
true/false.

Implemented in ControlBoardCouplingHandler, ControlBoardRemapper, FakeLaserWithMotor, FakeMotionControl, FakeMotionControlMicro, RemoteControlBoard, and yarp::dev::ImplementAxisInfo.

◆ getAxisName()

virtual bool yarp::dev::IAxisInfo::getAxisName ( int  axis,
std::string &  name 
)
pure virtual

◆ getJointType()

virtual bool yarp::dev::IAxisInfo::getJointType ( int  axis,
yarp::dev::JointTypeEnum type 
)
inlinevirtual

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