![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
This module contains the classes that define and implement the Batch Program Management interface API. More...
Data Structures | |
struct | HF::Core::BatchProgramManagement::MaximumNumberOfEntries |
Helper class to handle the Maximum Number Of Entries attribute for the Batch Program Management interface. More... | |
struct | HF::Core::BatchProgramManagement::NumberOfEntries |
Helper class to handle the Number Of Entries attribute for the Batch Program Management interface. More... | |
struct | HF::Core::BatchProgramManagement::IEntries |
Batch Program Management - Persistent Storage API. More... | |
struct | HF::Core::BatchProgramManagement::Entries |
Default implementation of the persistence API. More... | |
struct | HF::Core::BatchProgramManagement::Base |
Batch Program Management Interfaces::Interface : Parent. More... | |
class | HF::Core::BatchProgramManagement::IServer |
Batch Program Management Interfaces::Interface : Server side implementation. More... | |
class | HF::Core::BatchProgramManagement::Server< _Entries > |
Helper template to declare a Batch Program server with custom entries backend. More... | |
struct | HF::Core::BatchProgramManagement::Client |
Batch Program Management Interfaces::Interface : Client side implementation. More... | |
Typedefs | |
typedef Server | HF::Core::BatchProgramManagement::DefaultServer |
Helper typedef. | |
Functions | |
HF::Attributes::IAttribute * | HF::Core::create_attribute (BatchProgramManagement::IServer *server, uint8_t uid) |
Create an attribute object that can hold the attribute with the given uid . More... | |
HF::Attributes::IAttribute * | HF::Core::BatchProgramManagement::create_attribute (uint8_t uid) |
Create an attribute object that can hold the attribute with the given uid . (HF::Core::BatchProgramManagement::IServer *,uint8_t) More... | |
std::ostream & | operator<< (std::ostream &stream, const HF::Core::BatchProgramManagement::CMD command) |
Convert the given command into a string and write it to the given stream . More... | |
std::ostream & | operator<< (std::ostream &stream, const HF::Core::BatchProgramManagement::Attributes attribute) |
Convert the given attribute into a string and write it to the given stream . More... | |
This module contains the classes that define and implement the Batch Program Management interface API.
Enumerator | |
---|---|
MAXIMUM_NUMBER_OF_ENTRIES_ATTR | Maximum Number Of Entries attribute UID. |
NUMBER_OF_ENTRIES_ATTR | Number Of Entries attribute UID. |
Definition at line 78 of file batch_program_management.h.
Command IDs.
Definition at line 67 of file batch_program_management.h.
HF::Attributes::IAttribute* HF::Core::create_attribute | ( | BatchProgramManagement::IServer * | server, |
uint8_t | uid | ||
) |
Create an attribute object that can hold the attribute with the given uid
.
If server
is not equal to nullptr
then initialize it with the current value.
[in] | server | pointer to the object to read the current value from. |
[in] | uid | attribute's UID to create the attribute object for. |
nullptr
if the attribute UID does not exist.
|
inline |
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::BatchProgramManagement::IServer *,uint8_t)
[in] | uid | attribute %UID to create the attribute object for. |
pointer | to an attribute object |
nullptr | if the attribute %UID does not exist. |
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::BatchProgramManagement::IServer *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::AttributeReporting::Server *,uint8_t)
[in] | uid | attribute UID to create the attribute object for. |
nullptr
if the attribute UID does not exist.Create an attribute object that can hold the attribute with the given uid
. (HF::Core::BatchProgramManagement::IServer *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::AttributeReporting::Server *,uint8_t)
[in] | uid | attribute UID to create the attribute object for. |
pointer | to an attribute object |
<tt>nullptr</tt> | if the attribute UID does not exist. |
Definition at line 108 of file simple_humidity.h.
std::ostream& operator<< | ( | std::ostream & | stream, |
const HF::Core::BatchProgramManagement::CMD | command | ||
) |
Convert the given command
into a string and write it to the given stream
.
[in] | stream | out stream to write the string to. |
[in] | command | role value to convert to a string. |
stream
std::ostream& operator<< | ( | std::ostream & | stream, |
const HF::Core::BatchProgramManagement::Attributes | attribute | ||
) |
Convert the given attribute
into a string and write it to the given stream
.
[in] | stream | out stream to write the string to. |
[in] | attribute | attribute value to convert to a string. |
stream