|
Bluenet
5.7.0
Bluenet, firmware for nRF52 smart home devices
|
#include <behaviour/cs_Behaviour.h>#include <presence/cs_PresencePredicate.h>#include <time/cs_Time.h>
Go to the source code of this file.
Functions | |
| bool | PresenceIsMoreRelevant (PresencePredicate lhs, PresencePredicate rhs) |
| Returns true if lhs is strictly more relevant than rhs. More... | |
| bool | FromUntilIntervalIsMoreRelevantOrEqual (int32_t lhs_from, int32_t lhs_until, int32_t rhs_from, int32_t rhs_until, int32_t current_tod) |
| Returns true if;. More... | |
| bool | FromUntilIntervalIsMoreRelevantOrEqual (Behaviour *lhs, Behaviour *rhs, Time currentTime) |
| Wrapper for raw int32_t values. More... | |
| bool | FromUntilIntervalIsEqual (Behaviour *lhs, Behaviour *rhs) |
| Returns false if either of lhs and rhs is nullptr, else returns true iff both from() and until() values match. More... | |
Returns false if either of lhs and rhs is nullptr, else returns true iff both from() and until() values match.
Wrapper for raw int32_t values.
| bool FromUntilIntervalIsMoreRelevantOrEqual | ( | int32_t | lhs_from, |
| int32_t | lhs_until, | ||
| int32_t | rhs_from, | ||
| int32_t | rhs_until, | ||
| int32_t | current_tod | ||
| ) |
Returns true if;.
| bool PresenceIsMoreRelevant | ( | PresencePredicate | lhs, |
| PresencePredicate | rhs | ||
| ) |
Returns true if lhs is strictly more relevant than rhs.