YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
SerialPort_CallbackHelper Class Reference

#include <networkWrappers/serialPort_nws_yarp/SerialPort_nws_yarp.h>

+ Inheritance diagram for SerialPort_CallbackHelper:

Public Member Functions

 SerialPort_CallbackHelper ()
 
 SerialPort_CallbackHelper (yarp::dev::ISerialDevice *x)
 
virtual ~SerialPort_CallbackHelper () override
 
void onRead (Bottle &b) override
 Callback method.
 
- Public Member Functions inherited from yarp::os::TypedReaderCallback< yarp::os::Bottle >
virtual ~TypedReaderCallback ()
 Destructor.
 
virtual void onRead (yarp::os::Bottle &datum, const yarp::os::TypedReader< yarp::os::Bottle > &reader)
 Callback method.
 

Protected Attributes

yarp::dev::ISerialDevicem_iser {nullptr}
 

Detailed Description

Definition at line 34 of file SerialPort_nws_yarp.h.

Constructor & Destructor Documentation

◆ SerialPort_CallbackHelper() [1/2]

SerialPort_CallbackHelper::SerialPort_CallbackHelper ( )

◆ SerialPort_CallbackHelper() [2/2]

SerialPort_CallbackHelper::SerialPort_CallbackHelper ( yarp::dev::ISerialDevice x)

Definition at line 175 of file SerialPort_nws_yarp.cpp.

◆ ~SerialPort_CallbackHelper()

virtual SerialPort_CallbackHelper::~SerialPort_CallbackHelper ( )
inlineoverridevirtual

Definition at line 43 of file SerialPort_nws_yarp.h.

Member Function Documentation

◆ onRead()

void SerialPort_CallbackHelper::onRead ( Bottle datum)
overridevirtual

Callback method.

Parameters
datumdata read from a port

Reimplemented from yarp::os::TypedReaderCallback< yarp::os::Bottle >.

Definition at line 185 of file SerialPort_nws_yarp.cpp.

Member Data Documentation

◆ m_iser

yarp::dev::ISerialDevice* SerialPort_CallbackHelper::m_iser {nullptr}
protected

Definition at line 38 of file SerialPort_nws_yarp.h.


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