![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
Device Management - Persistent Storage API. More...
#include <device_management.h>
Public Member Functions | |
virtual DevicePtr | find (uint16_t address) const =0 |
Return the Device entry for the given address. More... | |
virtual DevicePtr | find (const HF::UID::UID &uid) const =0 |
Return the Device entry for the given UID. More... | |
virtual uint16_t | next_address () const =0 |
Return next available address for registering a device. More... | |
![]() | |
virtual uint16_t | size () const=0 |
Return the number of entries in the 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... | |
Device Management - Persistent Storage API.
Definition at line 344 of file device_management.h.
|
pure virtual |
Return the Device entry for the given address.
[in] | address | the device address. |
a | pointer to the Device entry associated with the given address, |
nullptr | if the entry does not exist. |
Implemented in HF::Core::DeviceManagement::Entries.
Referenced by HF::Core::DeviceManagement::IServer::entry().
|
pure virtual |
|
pure virtual |
Return next available address for registering a device.
Implemented in HF::Core::DeviceManagement::Entries.
Referenced by HF::Core::DeviceManagement::IServer::next_address().