![]() |
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 Simple Light Sensor interface API. More...
Data Structures | |
struct | HF::Interfaces::SimpleLightSensor::Value |
Helper class to handle the Value attribute for the Simple Light Sensor interface. More... | |
struct | HF::Interfaces::SimpleLightSensor::Minimum |
Helper class to handle the Minimum attribute for the Simple Light Sensor interface. More... | |
struct | HF::Interfaces::SimpleLightSensor::Maximum |
Helper class to handle the Maximum attribute for the Simple Light Sensor interface. More... | |
struct | HF::Interfaces::SimpleLightSensor::Tolerance |
Helper class to handle the Tolerance attribute for the Simple Light Sensor interface. More... | |
struct | HF::Interfaces::SimpleLightSensor::Base |
Simple Light Sensor Interface : Parent. More... | |
class | HF::Interfaces::SimpleLightSensor::Server |
Simple Light Sensor Interface : Server side implementation. More... | |
struct | HF::Interfaces::SimpleLightSensor::Client |
Simple Light Sensor Interface : Client side implementation. More... | |
Enumerations | |
enum | HF::Interfaces::SimpleLightSensor::Attributes { HF::Interfaces::SimpleLightSensor::VALUE_ATTR = 0x01, HF::Interfaces::SimpleLightSensor::MINIMUM_ATTR = 0x02, HF::Interfaces::SimpleLightSensor::MAXIMUM_ATTR = 0x03, HF::Interfaces::SimpleLightSensor::TOLERANCE_ATTR = 0x04 } |
Attributes. More... | |
Functions | |
HF::Attributes::IAttribute * | HF::Interfaces::create_attribute (SimpleLightSensor::Server *server, uint8_t uid) |
Create an attribute object that can hold the attribute with the given uid . More... | |
HF::Attributes::IAttribute * | HF::Interfaces::SimpleLightSensor::create_attribute (uint8_t uid) |
Create an attribute object that can hold the attribute with the given uid . (HF::Interfaces::SimpleLightSensor::Server *,uint8_t) More... | |
std::ostream & | operator<< (std::ostream &stream, const HF::Interfaces::SimpleLightSensor::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 Simple Light Sensor interface API.
Enumerator | |
---|---|
VALUE_ATTR | |
MINIMUM_ATTR | |
MAXIMUM_ATTR | |
TOLERANCE_ATTR |
Definition at line 63 of file simple_light_sensor.h.
HF::Attributes::IAttribute* HF::Interfaces::create_attribute | ( | SimpleLightSensor::Server * | 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::Interfaces::SimpleLightSensor::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. |
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::SimpleLightSensor::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::SimpleKeypad::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::SimpleButton::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::SimpleAirPressure::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::OnOff::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::LevelControl::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::ColourControl::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::Alert::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::Scheduling::Weekly::IServer *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::Time::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::SUOTA::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::RSSI::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::GroupTable::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
.
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::Scheduling::Event::IServer *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::DeviceManagement::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::DeviceInformation::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::BindManagement::Server *,uint8_t)
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::Interfaces::SimpleLightSensor::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::SimpleKeypad::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::SimpleButton::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::SimpleAirPressure::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::OnOff::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::LevelControl::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::ColourControl::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::Alert::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::Scheduling::Weekly::IServer *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::Time::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::SUOTA::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Interfaces::RSSI::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::GroupTable::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
.
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::Scheduling::Event::IServer *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::DeviceManagement::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::DeviceInformation::Server *,uint8_t)
Create an attribute object that can hold the attribute with the given uid
. (HF::Core::BindManagement::Server *,uint8_t)
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::Interfaces::SimpleLightSensor::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