![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
#include <attribute_reporting.h>
Public Member Functions | |
void | add (const Entry &entry) |
Add the given entry to rule. More... | |
void | clear () |
Remove all entries in this rule. | |
uint16_t | entries_count () |
Number of entries present in this rule. More... | |
iterator | begin () |
Get a iterator to the start of the entries in this rule. More... | |
iterator | end () |
Get a iterator to the end of the entries in this rule. More... | |
const_iterator | cbegin () const |
Get a constant iterator to the start of the entries in this rule. More... | |
const_iterator | cend () const |
Get constant iterator to the end of the entries in this rule. More... | |
![]() | |
uint16_t | size () const |
Number bytes needed to serialize the message. More... | |
uint16_t | pack (Common::ByteArray &array, uint16_t offset=0) const |
Write the object on to a ByteArray so it can be sent over the network. More... | |
uint16_t | unpack (const Common::ByteArray &array, uint16_t offset=0) |
Read a message from a ByteArray. More... | |
Static Public Attributes | |
static constexpr uint16_t | min_size |
Minimum pack/unpack required data size. | |
![]() | |
static constexpr uint16_t | min_size |
Minimum pack/unpack required data size. | |
Protected Attributes | |
Container | entries |
Container for the entries of this rule. | |
Additional Inherited Members | |
![]() | |
Reference | report |
Report reference this rule generates. | |
Protocol::Address | destination |
Device/unit that will receive the report. | |
![]() | |
Rule (Type type) | |
Constructor. More... | |
Report event rule.
Definition at line 446 of file attribute_reporting.h.
|
inline |
Add the given entry
to rule.
[in] | entry | reference to the entry to add to this rule. |
Definition at line 472 of file attribute_reporting.h.
References entries.
|
inline |
Get a iterator to the start of the entries in this rule.
Definition at line 500 of file attribute_reporting.h.
References entries.
|
inline |
Get a constant iterator to the start of the entries in this rule.
Definition at line 520 of file attribute_reporting.h.
References entries.
|
inline |
Get constant iterator to the end of the entries in this rule.
Definition at line 530 of file attribute_reporting.h.
References entries.
|
inline |
Get a iterator to the end of the entries in this rule.
Definition at line 510 of file attribute_reporting.h.
References entries.
|
inline |
Number of entries present in this rule.
Definition at line 490 of file attribute_reporting.h.
References entries.