![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
Group Table persistent storage API. More...
#include <group_table.h>
Public Member Functions | |
virtual void | clear ()=0 |
Clear all entries in database. | |
virtual void | for_each (uint16_t group, std::function< void(const Entry &)> func) const =0 |
Call the given function for all the entries with given group address. More... | |
virtual Entry const & | operator[] (uint8_t index) const =0 |
Retrive the entry at the given index . More... | |
![]() | |
virtual uint16_t | size () const=0 |
Return the number of entries in the container. More... | |
virtual Result | save (const Entry &entry)=0 |
Store the given entry to persistent storage. More... | |
virtual Result | destroy (const Entry &entry)=0 |
Destroy the given entry in the persistent storage. More... | |
Group Table persistent storage API.
Definition at line 371 of file group_table.h.
|
pure virtual |
Call the given function for all the entries with given group
address.
[in] | group | group address to search for. |
[in] | func | function to apply to each member of the group. |
Implemented in HF::Core::GroupTable::Entries.
|
pure virtual |
Retrive the entry at the given index
.
[in] | index | the index to retrive the entry from. |
Implemented in HF::Core::GroupTable::Entries.