14#define JOINTIDCHECK if (j >= castToMapper(helper)->axes()){yError("joint id out of bound"); return false;}
24 if (helper !=
nullptr) {
32 yAssert (buffManager !=
nullptr);
49 if (buffManager!=
nullptr)
yarp::dev::ControlBoardHelper * castToMapper(void *p)
Interface for setting control mode in control board.
virtual bool getControlModeRaw(int j, int *mode)=0
virtual bool setControlModeRaw(const int j, const int mode)=0
virtual bool setControlModesRaw(const int n_joint, const int *joints, int *modes)=0
virtual bool getControlModesRaw(int *modes)=0
bool setControlModes(const int n_joint, const int *joints, int *modes) override
Set the current control mode for a subset of axes.
bool initialize(int k, const int *amap)
bool getControlModes(int *modes) override
Get the current control mode (multiple joints).
bool setControlMode(const int j, const int mode) override
Set the current control mode.
ImplementControlMode(IControlModeRaw *v)
bool getControlMode(int j, int *f) override
Get the current control mode.
Buffer contains info about a buffer of type T and it is used to exchange information with yarp::dev::...
A manager of fixed size buffers in multi-thread environment.
Buffer< T > getBuffer()
Get a buffer and fill its information in @buffer.
void releaseBuffer(Buffer< T > &buffer)
Release a buffer.
A mini-server for performing network communication in the background.
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.