![]() |
Imt.Base C++ API V4.1.1.0
|
Inteface for a receiver that can be called when received data needs to be processed. More...
#include <Imt.Base.Lib.Remoting/inc/Imt.Base.Lib.Remoting/DataReceiverIfc.h>
Public Member Functions | |
virtual void | onDataReceived (uint8_t const *const pData, uint32_t const countDataBytes)=0 |
Callback if data is received. | |
Protected Member Functions | |
DataReceiverIfc () noexcept=default | |
Default constructor. | |
~DataReceiverIfc () noexcept=default | |
Destructor. | |
DataReceiverIfc (DataReceiverIfc const &)=delete | |
DataReceiverIfc (DataReceiverIfc &&)=delete | |
DataReceiverIfc & | operator= (DataReceiverIfc const &) &=delete |
DataReceiverIfc & | operator= (DataReceiverIfc &&) &=delete |
Inteface for a receiver that can be called when received data needs to be processed.
This interface does not provide ownership on the receiver object.
Definition at line 18 of file DataReceiverIfc.h.
|
protecteddefaultnoexcept |
Default constructor.
|
protecteddefaultnoexcept |
Destructor.
|
protecteddelete |
|
protecteddelete |
|
pure virtual |
Callback if data is received.
pData | Buffer for received data |
countDataBytes | Number of data bytes to receive |
Implemented in imt::base::lib::remoting::DataFrameCRC16CheckReceiveLayer, imt::base::lib::remoting::DataFrameSyncReceiveLayer, and imt::base::lib::remoting::RemotingReceiveService.
|
protecteddelete |
|
protecteddelete |