![]() |
Imt.Base C++ API V4.1.1.0
|
Inteface for a sender that can be called to send byte data. More...
#include <Imt.Base.Lib.Remoting/inc/Imt.Base.Lib.Remoting/DataSenderIfc.h>
Public Member Functions | |
DataSenderIfc (DataSenderIfc const &)=delete | |
DataSenderIfc (DataSenderIfc &&)=delete | |
DataSenderIfc & | operator= (DataSenderIfc const &) &=delete |
DataSenderIfc & | operator= (DataSenderIfc &&) &=delete |
virtual bool | sendData (uint8_t const pData[], uint32_t const countDataBytes)=0 |
Send data. | |
virtual void | onTransmissionComplete ()=0 |
Called on a completed transmission. | |
virtual void | onTransmissionError ()=0 |
Called on a transmission error. | |
Protected Member Functions | |
DataSenderIfc () noexcept=default | |
Default constructor. | |
~DataSenderIfc () noexcept=default | |
Destructor. | |
Inteface for a sender that can be called to send byte data.
This interface does not provide ownership on the sender object.
Definition at line 18 of file DataSenderIfc.h.
|
delete |
|
delete |
|
protecteddefaultnoexcept |
Default constructor.
|
protecteddefaultnoexcept |
Destructor.
|
pure virtual |
Called on a completed transmission.
Implemented in imt::base::lib::remoting::DataFrameCRC16CheckSendLayer, and imt::base::lib::remoting::DataFrameSyncSendLayer.
|
pure virtual |
Called on a transmission error.
Implemented in imt::base::lib::remoting::DataFrameCRC16CheckSendLayer, and imt::base::lib::remoting::DataFrameSyncSendLayer.
|
delete |
|
delete |
|
pure virtual |
Send data.
pData | Data to send. |
countDataBytes | Number of data bytes to send. |
Implemented in imt::base::lib::remoting::DataFrameCRC16CheckSendLayer, and imt::base::lib::remoting::DataFrameSyncSendLayer.