YARP
Yet Another Robot Platform
ImplementCallbackHelper2 Class Reference

Callback implementation after buffered input. More...

#include <ServerSerial/ServerSerial.h>

+ Inheritance diagram for ImplementCallbackHelper2:

Public Member Functions

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

Protected Attributes

yarp::dev::ISerialDeviceser {nullptr}
 

Detailed Description

Callback implementation after buffered input.

Definition at line 34 of file ServerSerial.h.

Constructor & Destructor Documentation

◆ ImplementCallbackHelper2() [1/2]

ImplementCallbackHelper2::ImplementCallbackHelper2 ( )

Constructor.

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

◆ ImplementCallbackHelper2() [2/2]

ImplementCallbackHelper2::ImplementCallbackHelper2 ( ServerSerial x)

Definition at line 194 of file ServerSerial.cpp.

Member Function Documentation

◆ onRead()

void ImplementCallbackHelper2::onRead ( Bottle b)
overridevirtual

Callback function.

Parameters
bis the Bottle being received.

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

Definition at line 205 of file ServerSerial.cpp.

Member Data Documentation

◆ ser

yarp::dev::ISerialDevice* ImplementCallbackHelper2::ser {nullptr}
protected

Definition at line 38 of file ServerSerial.h.


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