Imt.Base C++ API V4.1.1.0
Loading...
Searching...
No Matches
imt::base::lib::remoting::DataReceiverIfc Class Referenceabstract

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>

Inheritance diagram for imt::base::lib::remoting::DataReceiverIfc:
imt::base::lib::remoting::DataFrameCRC16CheckReceiveLayer imt::base::lib::remoting::DataFrameSyncReceiveLayer imt::base::lib::remoting::RemotingReceiveService imt::base::lib::remoting::gmock::MockDataReceiver

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
 
DataReceiverIfcoperator= (DataReceiverIfc const &) &=delete
 
DataReceiverIfcoperator= (DataReceiverIfc &&) &=delete
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ DataReceiverIfc() [1/3]

imt::base::lib::remoting::DataReceiverIfc::DataReceiverIfc ( )
protecteddefaultnoexcept

Default constructor.

◆ ~DataReceiverIfc()

imt::base::lib::remoting::DataReceiverIfc::~DataReceiverIfc ( )
protecteddefaultnoexcept

Destructor.

◆ DataReceiverIfc() [2/3]

imt::base::lib::remoting::DataReceiverIfc::DataReceiverIfc ( DataReceiverIfc const &  )
protecteddelete

◆ DataReceiverIfc() [3/3]

imt::base::lib::remoting::DataReceiverIfc::DataReceiverIfc ( DataReceiverIfc &&  )
protecteddelete

Member Function Documentation

◆ onDataReceived()

virtual void imt::base::lib::remoting::DataReceiverIfc::onDataReceived ( uint8_t const *const  pData,
uint32_t const  countDataBytes 
)
pure virtual

Callback if data is received.

Parameters
pDataBuffer for received data
countDataBytesNumber of data bytes to receive

Implemented in imt::base::lib::remoting::DataFrameCRC16CheckReceiveLayer, imt::base::lib::remoting::DataFrameSyncReceiveLayer, and imt::base::lib::remoting::RemotingReceiveService.

◆ operator=() [1/2]

DataReceiverIfc & imt::base::lib::remoting::DataReceiverIfc::operator= ( DataReceiverIfc &&  ) &
protecteddelete

◆ operator=() [2/2]

DataReceiverIfc & imt::base::lib::remoting::DataReceiverIfc::operator= ( DataReceiverIfc const &  ) &
protecteddelete

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