DECT UID class.
More...
#include <uids.h>
|
| DECT (uint8_t _value[5]) |
| Constructor. More...
|
|
DECT * | clone () const |
| Create a clone object of the object where this method is being called. More...
|
|
| 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.
|
|
uint8_t | type () const |
| Type of the UID. More...
|
|
virtual | ~Serializable () |
| Destructor.
|
|
|
static constexpr uint8_t | SIZE = 5 |
| Number of bytes in a RFPI UID.
|
|
static constexpr uint16_t | min_size |
| Minimum pack/unpack required data size.
|
|
static constexpr uint16_t | min_size |
| Minimum pack/unpack required data size.
|
|
|
static uint16_t | length () |
| Return the number of bytes in the underlining byte array. More...
|
|
DECT UID class.
Definition at line 378 of file uids.h.
◆ DECT()
HF::UID::DECT::DECT |
( |
uint8_t |
_value[5] | ) |
|
|
inline |
Constructor.
- Parameters
-
[in] | _value | initial value for UID. |
Definition at line 391 of file uids.h.
391 : ByteArray<DECT, 5, DECT_UID>(_value)
◆ 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.
400 return new DECT(*
this);
The documentation for this struct was generated from the following file: