Callback implementation after buffered input. More...
#include <ControlBoardWrapper/StreamingMessagesParser.h>
Public Member Functions | |
StreamingMessagesParser ()=default | |
Constructor. More... | |
void | init (yarp::dev::DeviceDriver *x) |
Initialization. More... | |
void | onRead (CommandMessage &v) override |
Callback function. More... | |
bool | initialize () |
Public Member Functions inherited from yarp::os::TypedReaderCallback< CommandMessage > | |
virtual | ~TypedReaderCallback () |
Destructor. More... | |
virtual void | onRead (CommandMessage &datum) |
Callback method. More... | |
virtual void | onRead (CommandMessage &datum, const yarp::os::TypedReader< CommandMessage > &reader) |
Callback method. More... | |
Protected Attributes | |
yarp::dev::IPositionControl * | stream_IPosCtrl {nullptr} |
yarp::dev::IPositionDirect * | stream_IPosDirect {nullptr} |
yarp::dev::IVelocityControl * | stream_IVel {nullptr} |
yarp::dev::ITorqueControl * | stream_ITorque {nullptr} |
yarp::dev::IPWMControl * | stream_IPWM {nullptr} |
yarp::dev::ICurrentControl * | stream_ICurrent {nullptr} |
int | stream_nJoints {0} |
Callback implementation after buffered input.
Definition at line 54 of file StreamingMessagesParser.h.
|
default |
Constructor.
void StreamingMessagesParser::init | ( | yarp::dev::DeviceDriver * | x | ) |
Initialization.
x | is the instance of the container class using the callback. |
Definition at line 25 of file StreamingMessagesParser.cpp.
bool StreamingMessagesParser::initialize | ( | ) |
Definition at line 37 of file StreamingMessagesParser.cpp.
|
override |
Callback function.
v | is the Vector being received. |
Definition at line 48 of file StreamingMessagesParser.cpp.
|
protected |
Definition at line 62 of file StreamingMessagesParser.h.
|
protected |
Definition at line 57 of file StreamingMessagesParser.h.
|
protected |
Definition at line 58 of file StreamingMessagesParser.h.
|
protected |
Definition at line 61 of file StreamingMessagesParser.h.
|
protected |
Definition at line 60 of file StreamingMessagesParser.h.
|
protected |
Definition at line 59 of file StreamingMessagesParser.h.
|
protected |
Definition at line 63 of file StreamingMessagesParser.h.