![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
Custom Device Management Entries class. More...
#include <base.h>
Public Member Functions | |
void | insert (const Device &device) |
Insert a device management entry into the database. More... | |
![]() | |
uint16_t | size () const |
Return the number of entries in the container. More... | |
Common::Result | destroy (const Device &entry) |
Destroy the given entry in the persistent storage. More... | |
DevicePtr | find (uint16_t address) const |
Return the Device entry for the given address. More... | |
DevicePtr | find (const HF::UID::UID &uid) const |
Return the Device entry for the given UID. More... | |
uint16_t | next_address () const |
Return next available address for registering a device. More... | |
iterator | begin () |
Get an iterator to the start of the entries in this container. More... | |
iterator | end () |
Get an iterator to the end of the entries in this container. More... | |
const_iterator | begin () const |
Get a constant iterator to the start of the entries in this container. More... | |
const_iterator | end () const |
Get a constant iterator to the start of the entries in this container. More... | |
![]() | |
virtual Result | save (const Device &entry)=0 |
Store the given entry to persistent storage. More... | |
virtual Result | destroy (const Device &entry)=0 |
Destroy the given entry in the persistent storage. More... | |
Additional Inherited Members | |
![]() | |
Container | db |
Actual container for the entries. | |
Custom Device Management Entries class.
This class saves the application configuration every time an entry is save or destroyed.