HAN-FUN API  1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
HF::Interfaces::OnOff::State Struct Reference

Helper class to handle the State attribute for the On-Off interface. More...

#include <on_off.h>

+ Inheritance diagram for HF::Interfaces::OnOff::State:
+ Collaboration diagram for HF::Interfaces::OnOff::State:

Static Public Attributes

static constexpr uint8_t ID = STATE_ATTR
 Attribute UID. More...
 
static constexpr bool WRITABBLE = false
 Attribute Read/Write.
 

Additional Inherited Members

- Public Member Functions inherited from HF::Attributes::Attribute< bool >
 Attribute (const uint16_t interface, const uint8_t uid, const HF::Interface *__owner, bool data, bool writable=false)
 Attribute template constructor. More...
 
 Attribute (const uint16_t interface, const uint8_t uid, bool writable=false)
 Attribute template constructor. More...
 
 Attribute (const uint16_t interface, const uint8_t uid, bool data, bool writable=false)
 Attribute template constructor. More...
 
- Public Member Functions inherited from HF::Attributes::AbstractAttribute
uint8_t uid () const
 Attribute's UID. More...
 
bool isWritable () const
 Indicate if the attribute is writable. More...
 
uint16_t interface () const
 Return the UID of the interface the attribute belongs to. More...
 
- Public Member Functions inherited from HF::Common::Serializable
virtual ~Serializable ()
 Destructor.
 
- Protected Attributes inherited from HF::Attributes::AbstractAttribute
const uint16_t _itf_uid
 Interface this attribute belongs to. More...
 
const uint8_t _uid
 Attribute unique identifier. More...
 
const bool _writable
 Attribute access mode. More...
 

Detailed Description

Helper class to handle the State attribute for the On-Off interface.

Definition at line 80 of file on_off.h.

Field Documentation

◆ ID

constexpr uint8_t HF::Interfaces::OnOff::State::ID = STATE_ATTR
static

Attribute UID.

Definition at line 82 of file on_off.h.


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