8namespace micro_wake_word {
22 bool check(
const Ts &...
x)
override {
return this->
parent_->is_running(); }
Base class for all automation conditions.
Helper class to easily give an object a parent of type T.
WakeWordModel * wake_word_model_
void play(const Ts &...x) override
DisableModelAction(WakeWordModel *wake_word_model)
WakeWordModel * wake_word_model_
void play(const Ts &...x) override
EnableModelAction(WakeWordModel *wake_word_model)
bool check(const Ts &...x) override
WakeWordModel * wake_word_model_
ModelIsEnabledCondition(WakeWordModel *wake_word_model)
bool check(const Ts &...x) override
void play(const Ts &...x) override
void play(const Ts &...x) override
bool is_enabled() const
Return true if the model is enabled.
void enable() override
Enable the model and save to flash. The next performing_streaming_inference call will load it.
void disable() override
Disable the model and save to flash. The next performing_streaming_inference call will unload it.
Providing packet encoding functions for exchanging data with a remote host.