HAN-FUN API  1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
HF::Core::Time::Value Struct Reference

Helper class to handle the Time attribute for the Time service. More...

#include <time.h>

+ Inheritance diagram for HF::Core::Time::Value:
+ Collaboration diagram for HF::Core::Time::Value:

Static Public Attributes

static constexpr uint32_t INVALID = 0xFFFFFFFF
 Invalid value for time. More...
 
static constexpr uint32_t MIN = 0x00000000
 Minimum value for time. More...
 
static constexpr uint32_t MAX = INVALID - 1
 Maximum value for time. More...
 
static constexpr uint8_t ID = TIME_ATTR
 Attribute UID. More...
 
static constexpr bool WRITABLE = true
 Attribute Read/Write.
 

Additional Inherited Members

- Public Member Functions inherited from HF::Attributes::Attribute< uint32_t >
 Attribute (const uint16_t interface, const uint8_t uid, const HF::Interface *__owner, uint32_t 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, uint32_t 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 Time attribute for the Time service.

Definition at line 137 of file time.h.

Field Documentation

◆ ID

constexpr uint8_t HF::Core::Time::Value::ID = TIME_ATTR
static

Attribute UID.

Definition at line 143 of file time.h.

◆ INVALID

constexpr uint32_t HF::Core::Time::Value::INVALID = 0xFFFFFFFF
static

Invalid value for time.

Definition at line 139 of file time.h.

Referenced by HF::Core::Time::Server::tick().

◆ MAX

constexpr uint32_t HF::Core::Time::Value::MAX = INVALID - 1
static

Maximum value for time.

Definition at line 141 of file time.h.

◆ MIN

constexpr uint32_t HF::Core::Time::Value::MIN = 0x00000000
static

Minimum value for time.

Definition at line 140 of file time.h.


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