Fawkes API  Fawkes Development Version
fawkes::SwitchInterface::SetMessage::SetMessage_data_t Struct Reference

Internal data storage, do NOT modify! More...

List of all members.

Public Attributes

int64_t timestamp_sec
 Interface Unix timestamp, seconds.
int64_t timestamp_usec
 Interface Unix timestamp, micro-seconds.
bool enabled
 True if the switch is currently enabled.
float value
 If switches support multiple states these can be indicated with this value.

Detailed Description

Internal data storage, do NOT modify!


Member Data Documentation

True if the switch is currently enabled.

Definition at line 90 of file SwitchInterface.h.

Referenced by fawkes::SwitchInterface::SetMessage::SetMessage().

Interface Unix timestamp, seconds.

Definition at line 88 of file SwitchInterface.h.

Interface Unix timestamp, micro-seconds.

Definition at line 89 of file SwitchInterface.h.

If switches support multiple states these can be indicated with this value.

For example for a switch that notes the intensity it could be a value in the valid range.

Definition at line 93 of file SwitchInterface.h.

Referenced by fawkes::SwitchInterface::SetMessage::SetMessage().


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