Skip to content

Class char_Component

ClassList > char_Component

  • #include <dataComponents.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
char_Component (uint8_t * value, 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
uint8_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 char_Component

char_Component::char_Component (
    uint8_t * value,
    const uint8_t priority=0
) 

function decode

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

Implements Component::decode


function encode

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

Implements Component::encode


Protected Attributes Documentation

variable value

uint8_t* char_Component::value;


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