Skip to content

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]

jac::DataLinkTx::DataLinkTx () = default

function DataLinkTx [2/3]

jac::DataLinkTx::DataLinkTx (
    const DataLinkTx &
) = delete

function DataLinkTx [3/3]

jac::DataLinkTx::DataLinkTx (
    DataLinkTx &&
) = delete

function buildPacket

Build a packet for the given channel.

virtual std::unique_ptr< Packet > jac::DataLinkTx::buildPacket (
    uint8_t channel
) = 0

Parameters:

  • channel the channel

Returns:

The packet

function maxPacketSize

Get the maximum packet size for the given channel.

virtual size_t jac::DataLinkTx::maxPacketSize () const = 0

Parameters:

  • channel the channel

Returns:

The maximum packet size

function operator=

DataLinkTx & jac::DataLinkTx::operator= (
    const DataLinkTx &
) = delete

function operator=

DataLinkTx & jac::DataLinkTx::operator= (
    DataLinkTx &&
) = delete

The documentation for this class was generated from the following file src/jac/link/linkTypes.h