HAN-FUN API  1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
HF::UID::DECT Struct Reference

DECT UID class. More...

#include <uids.h>

+ Inheritance diagram for HF::UID::DECT:
+ Collaboration diagram for HF::UID::DECT:

Public Member Functions

 DECT (uint8_t _value[5])
 Constructor. More...
 
DECTclone () const
 Create a clone object of the object where this method is being called. More...
 
- Public Member Functions inherited from HF::UID::ByteArray< DECT, 5, DECT_UID >
 ByteArray (uint8_t _value[_size])
 Constructor. More...
 
 ByteArray (uint8_t _value)
 Constructor. More...
 
uint8_t const & operator[] (uint16_t index) const
 Get byte at the given index. More...
 
uint8_t & operator[] (uint16_t index)
 Get byte at the given index. More...
 
uint8_t const & at (uint16_t index) const
 Get byte at the given index, asserting that the index is within the correct range. More...
 
uint8_t & at (uint16_t index)
 Get byte at the given index, asserting that the index is within the correct range. More...
 
void fill (uint8_t byte)
 Fill the underlining byte array with the given value. More...
 
void clear ()
 Fill the underlining byte array with 0.
 
- Public Member Functions inherited from HF::UID::Abstract< _type >
uint8_t type () const
 Type of the UID. More...
 
- Public Member Functions inherited from HF::Common::Serializable
virtual ~Serializable ()
 Destructor.
 

Static Public Attributes

static constexpr uint8_t SIZE = 5
 Number of bytes in a RFPI UID.
 
- Static Public Attributes inherited from HF::UID::ByteArray< DECT, 5, DECT_UID >
static constexpr uint16_t min_size
 Minimum pack/unpack required data size.
 
- Static Public Attributes inherited from HF::UID::UID_T
static constexpr uint16_t min_size
 Minimum pack/unpack required data size.
 

Additional Inherited Members

- Static Public Member Functions inherited from HF::UID::ByteArray< DECT, 5, DECT_UID >
static uint16_t length ()
 Return the number of bytes in the underlining byte array. More...
 

Detailed Description

DECT UID class.

Definition at line 378 of file uids.h.

Constructor & Destructor Documentation

◆ DECT()

HF::UID::DECT::DECT ( uint8_t  _value[5])
inline

Constructor.

Parameters
[in]_valueinitial value for UID.

Definition at line 391 of file uids.h.

391  : ByteArray<DECT, 5, DECT_UID>(_value)
392  {}

Member Function Documentation

◆ clone()

DECT* HF::UID::DECT::clone ( ) const
inlinevirtual

Create a clone object of the object where this method is being called.

Returns
a new object that is a clone of this object.

Implements HF::Common::Cloneable< UID_T >.

Definition at line 398 of file uids.h.

399  {
400  return new DECT(*this);
401  }

The documentation for this struct was generated from the following file: