#include <cs_TwilightBehaviour.h>
|
| virtual | ~TwilightBehaviour ()=default |
| |
| | TwilightBehaviour (uint8_t intensity, uint8_t profileid, DayOfWeekBitMask activedaysofweek, TimeOfDay from, TimeOfDay until) |
| |
| | TwilightBehaviour (SerializedDataType arr) |
| |
| SerializedDataType | serialize () |
| |
| virtual uint8_t * | serialize (uint8_t *outbuff, size_t max_size) override |
| |
| virtual size_t | serializedSize () const override |
| |
| virtual void | print () override |
| |
| virtual Type | getType () const override |
| |
| bool | isValid (Time currenttime) |
| | Does the behaviour apply to the current situation? If from() == until() the behaviour isValid all day. More...
|
| |
| virtual | ~Behaviour ()=default |
| |
| | Behaviour (Type typ, uint8_t intensity, uint8_t profileid, DayOfWeekBitMask activedaysofweek, TimeOfDay from, TimeOfDay until) |
| |
| | Behaviour (SerializedDataType arr) |
| |
| SerializedDataType | serialize () |
| |
| virtual uint8_t * | serialize (uint8_t *outbuff, size_t max_size) |
| |
| virtual size_t | serializedSize () const |
| |
| std::vector< uint8_t > | serialized () |
| |
| virtual void | print () |
| |
| virtual Type | getType () const |
| |
| bool | isValid (Time currenttime) |
| | Does the behaviour apply to the current situation? If from() == until() the behaviour isValid all day. More...
|
| |
| virtual bool | requiresPresence () |
| |
| virtual bool | requiresAbsence () |
| |
| uint8_t | value () const |
| | Returns the intended state when this behaviour is valid. More...
|
| |
| TimeOfDay | from () const |
| | Returns from (incl.) which time on this behaviour applies. More...
|
| |
| TimeOfDay | until () const |
| | Returns until (excl.) which time on this behaviour applies. More...
|
| |
◆ SerializedDataType
◆ ~TwilightBehaviour()
| virtual TwilightBehaviour::~TwilightBehaviour |
( |
| ) |
|
|
virtualdefault |
◆ TwilightBehaviour() [1/2]
◆ TwilightBehaviour() [2/2]
◆ getType()
| virtual Type TwilightBehaviour::getType |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isValid()
| bool Behaviour::isValid |
( |
Time |
currenttime | ) |
|
Does the behaviour apply to the current situation? If from() == until() the behaviour isValid all day.
Also checks the day of week bitmask.
◆ print()
| virtual void TwilightBehaviour::print |
( |
| ) |
|
|
overridevirtual |
◆ serialize() [1/2]
◆ serialize() [2/2]
| virtual uint8_t * TwilightBehaviour::serialize |
( |
uint8_t * |
outbuff, |
|
|
size_t |
max_size |
|
) |
| |
|
overridevirtual |
◆ serializedSize()
| virtual size_t TwilightBehaviour::serializedSize |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file: