Skip to content

Class jac::DataLinkRx

ClassList > jac > DataLinkRx

Interface that allows for receiving and processing packets from a data link.

  • #include <linkTypes.h>

Inherited by the following classes: jac::Router::Handle

Public Functions

Type Name
DataLinkRx () = default
DataLinkRx (const DataLinkRx &) = delete
DataLinkRx (DataLinkRx &&) = delete
DataLinkRx & operator= (const DataLinkRx &) = delete
DataLinkRx & operator= (DataLinkRx &&) = delete
virtual void processPacket (uint8_t channel, std::span< const uint8_t > data) = 0
Process a received packet on the given channel.
virtual ~DataLinkRx () = default

Public Functions Documentation

function DataLinkRx [1/3]

jac::DataLinkRx::DataLinkRx () = default

function DataLinkRx [2/3]

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

function DataLinkRx [3/3]

jac::DataLinkRx::DataLinkRx (
    DataLinkRx &&
) = delete

function operator=

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

function operator=

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

function processPacket

Process a received packet on the given channel.

virtual void jac::DataLinkRx::processPacket (
    uint8_t channel,
    std::span< const uint8_t > data
) = 0

Parameters:

  • channel the channel
  • data data of the packet

function ~DataLinkRx

virtual jac::DataLinkRx::~DataLinkRx () = default

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