Skip to content

Class const_Component

ClassList > const_Component

  • #include <frameComponents.h>

Inherits the following classes: Component

Public Attributes inherited from Component

See Component

Type Name
uint8_t bitPosition
Packet * packet
uint8_t priority
uint8_t size

Public Functions

Type Name
const_Component (uint32_t value, uint8_t size, const uint8_t priority=0)
virtual uint8_t decode (uint8_t * packet) override
virtual void encode (uint8_t * packet) override

Public Functions inherited from Component

See Component

Type Name
Component (uint8_t size, const uint8_t priority=0)
virtual uint8_t decode (uint8_t * packet) = 0
virtual void encode (uint8_t * packet) = 0

Protected Attributes

Type Name
uint32_t value

Protected Functions inherited from Component

See Component

Type Name
void bitReader (uint32_t * dataBits, uint8_t * packet) const
void bitReset (uint8_t * packet) const
void bitWriter (uint32_t dataBits, uint8_t * packet) const

Public Functions Documentation

function const_Component

const_Component::const_Component (
    uint32_t value,
    uint8_t size,
    const uint8_t priority=0
) 

function decode

virtual uint8_t const_Component::decode (
    uint8_t * packet
) override

Implements Component::decode


function encode

virtual void const_Component::encode (
    uint8_t * packet
) override

Implements Component::encode


Protected Attributes Documentation

variable value

uint32_t const_Component::value;


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