Skip to content

Class Packet

ClassList > Packet

  • #include <baseClasses.h>

Public Attributes

Type Name
std::vector< Component * > components

Public Functions

Type Name
Packet ()
void addComponent (Component * newComponent)
uint8_t decode (uint8_t * packet)
uint8_t * encode ()
uint8_t getBitSize () const
uint8_t getByteSize () const

Protected Attributes

Type Name
uint8_t bitSize

Public Attributes Documentation

variable components

std::vector<Component*> Packet::components;

Public Functions Documentation

function Packet

Packet::Packet () 

function addComponent

void Packet::addComponent (
    Component * newComponent
) 

function decode

uint8_t Packet::decode (
    uint8_t * packet
) 

function encode

uint8_t * Packet::encode () 

function getBitSize

uint8_t Packet::getBitSize () const

function getByteSize

uint8_t Packet::getByteSize () const

Protected Attributes Documentation

variable bitSize

uint8_t Packet::bitSize;


The documentation for this class was generated from the following file libraries/DynamicPacketCodec/include/baseClasses.h