HAN-FUN API  1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
DeviceManagement::Entries Struct Reference

Custom Device Management Entries class. More...

#include <base.h>

+ Inheritance diagram for DeviceManagement::Entries:
+ Collaboration diagram for DeviceManagement::Entries:

Public Member Functions

void insert (const Device &device)
 Insert a device management entry into the database. More...
 
- Public Member Functions inherited from HF::Core::DeviceManagement::Entries
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...
 
- Public Member Functions inherited from HF::Common::IEntries< Device >
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

- Protected Attributes inherited from HF::Core::DeviceManagement::Entries
Container db
 Actual container for the entries.
 

Detailed Description

Custom Device Management Entries class.

This class saves the application configuration every time an entry is save or destroyed.

Definition at line 43 of file base.h.


The documentation for this struct was generated from the following files: