YARP
Yet Another Robot Platform
StreamingMessagesParser Class Reference

Callback implementation after buffered input. More...

#include <ControlBoardWrapper/StreamingMessagesParser.h>

+ Inheritance diagram for StreamingMessagesParser:

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::IPositionControlstream_IPosCtrl {nullptr}
 
yarp::dev::IPositionDirectstream_IPosDirect {nullptr}
 
yarp::dev::IVelocityControlstream_IVel {nullptr}
 
yarp::dev::ITorqueControlstream_ITorque {nullptr}
 
yarp::dev::IPWMControlstream_IPWM {nullptr}
 
yarp::dev::ICurrentControlstream_ICurrent {nullptr}
 
int stream_nJoints {0}
 

Detailed Description

Callback implementation after buffered input.

Definition at line 54 of file StreamingMessagesParser.h.

Constructor & Destructor Documentation

◆ StreamingMessagesParser()

StreamingMessagesParser::StreamingMessagesParser ( )
default

Constructor.

Member Function Documentation

◆ init()

void StreamingMessagesParser::init ( yarp::dev::DeviceDriver x)

Initialization.

Parameters
xis the instance of the container class using the callback.

Definition at line 25 of file StreamingMessagesParser.cpp.

◆ initialize()

bool StreamingMessagesParser::initialize ( )

Definition at line 37 of file StreamingMessagesParser.cpp.

◆ onRead()

void StreamingMessagesParser::onRead ( CommandMessage v)
override

Callback function.

Parameters
vis the Vector being received.

Definition at line 48 of file StreamingMessagesParser.cpp.

Member Data Documentation

◆ stream_ICurrent

yarp::dev::ICurrentControl* StreamingMessagesParser::stream_ICurrent {nullptr}
protected

Definition at line 62 of file StreamingMessagesParser.h.

◆ stream_IPosCtrl

yarp::dev::IPositionControl* StreamingMessagesParser::stream_IPosCtrl {nullptr}
protected

Definition at line 57 of file StreamingMessagesParser.h.

◆ stream_IPosDirect

yarp::dev::IPositionDirect* StreamingMessagesParser::stream_IPosDirect {nullptr}
protected

Definition at line 58 of file StreamingMessagesParser.h.

◆ stream_IPWM

yarp::dev::IPWMControl* StreamingMessagesParser::stream_IPWM {nullptr}
protected

Definition at line 61 of file StreamingMessagesParser.h.

◆ stream_ITorque

yarp::dev::ITorqueControl* StreamingMessagesParser::stream_ITorque {nullptr}
protected

Definition at line 60 of file StreamingMessagesParser.h.

◆ stream_IVel

yarp::dev::IVelocityControl* StreamingMessagesParser::stream_IVel {nullptr}
protected

Definition at line 59 of file StreamingMessagesParser.h.

◆ stream_nJoints

int StreamingMessagesParser::stream_nJoints {0}
protected

Definition at line 63 of file StreamingMessagesParser.h.


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