20 int32_t lhs_from, int32_t lhs_until, int32_t rhs_from, int32_t rhs_until, int32_t current_tod);
Class to derrive behaviours from, centralizing common variables such as from and until times.
Definition: cs_Behaviour.h:20
Definition: cs_PresencePredicate.h:15
Author: Crownstone Team Copyright: Crownstone (https://crownstone.rocks) Date: Sep 24,...
Definition: cs_Time.h:14
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.
bool FromUntilIntervalIsEqual(Behaviour *lhs, Behaviour *rhs)
Returns false if either of lhs and rhs is nullptr, else returns true iff both from() and until() valu...