Class jac::DataLinkTx
ClassList > jac > DataLinkTx
Interface that allows for creation and sending of packets to a data link.
#include <linkTypes.h>
Inherited by the following classes: jac::Mux
Public Functions
Type | Name |
---|---|
DataLinkTx () = default |
|
DataLinkTx (const DataLinkTx &) = delete |
|
DataLinkTx (DataLinkTx &&) = delete |
|
virtual std::unique_ptr< Packet > | buildPacket (uint8_t channel) = 0 Build a packet for the given channel. |
virtual size_t | maxPacketSize () const = 0 Get the maximum packet size for the given channel. |
DataLinkTx & | operator= (const DataLinkTx &) = delete |
DataLinkTx & | operator= (DataLinkTx &&) = delete |
Public Functions Documentation
function DataLinkTx [1/3]
function DataLinkTx [2/3]
function DataLinkTx [3/3]
function buildPacket
Build a packet for the given channel.
Parameters:
channel
the channel
Returns:
The packet
function maxPacketSize
Get the maximum packet size for the given channel.
Parameters:
channel
the channel
Returns:
The maximum packet size
function operator=
function operator=
The documentation for this class was generated from the following file src/jac/link/linkTypes.h