Class jac::Router::Handle
ClassList > jac > Router > Handle
A handle for receiving packets from a data link.
#include <router.h>
Inherits the following classes: jac::DataLinkRx
Public Functions
Type | Name |
---|---|
Handle (const Handle &) = delete |
|
Handle (Handle && other) |
|
Handle & | operator= (const Handle &) = delete |
Handle & | operator= (Handle && other) |
virtual void | processPacket (uint8_t channel, std::span< const uint8_t > data) override Process a received packet on the given channel. |
~Handle () |
Public Functions inherited from jac::DataLinkRx
See jac::DataLinkRx
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 Handle [2/3]
function Handle [3/3]
function operator=
function operator=
function processPacket
Process a received packet on the given channel.
inline virtual void jac::Router::Handle::processPacket (
uint8_t channel,
std::span< const uint8_t > data
) override
Parameters:
channel
the channeldata
data of the packet
Implements jac::DataLinkRx::processPacket
function ~Handle
Friends Documentation
friend Router
The documentation for this class was generated from the following file src/jac/link/router.h