12 void play(Ts...
x)
override { this->
parent_->start(); }
16 void play(Ts...
x)
override { this->
parent_->stop(); }
20 void play(Ts...
x)
override { this->
parent_->set_mute_state(
true); }
23 void play(Ts...
x)
override { this->
parent_->set_mute_state(
false); }
40 bool check(Ts...
x)
override {
return this->
parent_->get_mute_state(); }
Base class for all automation conditions.
Helper class to easily give an object a parent of type T.
DataTrigger(Microphone *mic)
bool check(Ts... x) override
bool check(Ts... x) override
void add_data_callback(std::function< void(const std::vector< uint8_t > &)> &&data_callback)
Providing packet encoding functions for exchanging data with a remote host.