![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
Colour bulb profile implementation. More...
#include <profiles.h>
Additional Inherited Members | |
![]() | |
OnOffServer * | first () |
Pointer to the first interface instance. More... | |
const OnOffServer * | first () const |
Pointer to the first interface instance. More... | |
ColourControlServer * | second () |
Pointer to the second interface instance. More... | |
const ColourControlServer * | second () const |
Pointer to the second interface instance. More... | |
![]() | |
Common::Result | handle (Protocol::Packet &packet, Common::ByteArray &payload, uint16_t offset) |
Handle incoming messages from the network. More... | |
virtual void | send (const Protocol::Address &addr, Protocol::Message &message)=0 |
Send message msg to the network address given by addr . More... | |
virtual void | notify (const HF::Attributes::IAttribute &old_value, const HF::Attributes::IAttribute &new_value) const=0 |
Notify that an attribute value as changed. More... | |
HF::Attributes::List | attributes (Common::Interface itf, uint8_t pack_id, const HF::Attributes::UIDS &uids) const |
Return a list of all the attributes for a given interface, pack id and list of attributes UID's. More... | |
![]() | |
uint16_t | uid () const |
Return this profile HAN-FUN UID. More... | |
Common::Result | handle (Protocol::Packet &packet, Common::ByteArray &payload, uint16_t offset) |
Handle incoming messages from the network. More... | |
![]() | |
Container (ProfileN< _uid, _Interfaces... > &base) | |
Constructor. More... | |
Common::Result | handle (Protocol::Packet &packet, Common::ByteArray &payload, uint16_t offset) |
Handle incoming messages from the network. More... | |
void | attributes (HF::Attributes::List &attr_list, Common::Interface itf, uint8_t pack_id, const HF::Attributes::UIDS &uids) const |
Return a list of all the attributes for a given interface, pack id and list of attributes UID's. More... | |
std::vector< Common::Interface > | interfaces () const |
Return the list of interfaces present in the wrapper. More... | |
const std::tuple_element< N, interfaces_t >::type::base * | get () const |
Retrieve a pointer to the N optional interface implemented by this unit. More... | |
![]() | |
void | for_each (std::function< void(HF::Interface &)> func) const |
Call the given function for all the interfaces. More... | |
void | for_each (std::function< void(HF::Interface &)> func) |
Call the given function for all the interfaces. More... | |
void | for_each (std::function< void(HF::Interface &)> func) const |
Helper template function to implement the HF::Units::Unit::for_each functionality. More... | |
void | for_each (std::function< void(HF::Interface &)> func) const |
Helper template function to implement the HF::Units::Unit::for_each functionality. More... | |
HF::Interface * | find (uint16_t itf_uid) const |
Find the interface with the given UID. More... | |
HF::Interface * | find (uint16_t itf_uid) const |
Final template instantiation that finds the wrapped interface with the given UID. More... | |
void | attributes_itf (HF::Attributes::List &attrs, Common::Interface itf, uint8_t pack_id, const HF::Attributes::UIDS &uids) const |
Helper function used to provide HF::Units::Unit::attributes functionality. More... | |
void | attributes_itf (HF::Attributes::List &attrs, Common::Interface itf, uint8_t pack_id, const HF::Attributes::UIDS &uids) const |
Helper function used to provide HF::Units::Unit::attributes functionality. More... | |
Colour bulb profile implementation.
Definition at line 845 of file profiles.h.