22 void play(Ts...
x)
override {
37 void play(Ts...
x)
override {
56 if (this->cycle_.has_value()) {
57 call.with_cycle(this->cycle_.value(x...));
virtual void play(Ts... x)=0
SelectCall & with_operation(SelectOperation operation)
SelectCall & set_index(size_t index)
SelectCall & set_option(const std::string &option)
Base-class for all selects.
void add_on_state_callback(std::function< void(std::string, size_t)> &&callback)
SelectCall make_call()
Instantiate a SelectCall object to modify this select component's state.
TEMPLATABLE_VALUE(bool, cycle) TEMPLATABLE_VALUE(SelectOperation
SelectOperationAction(Select *select)
operation void play(Ts... x) override
SelectSetAction(Select *select)
TEMPLATABLE_VALUE(std::string, option) void play(Ts... x) override
SelectSetIndexAction(Select *select)
TEMPLATABLE_VALUE(size_t, index) void play(Ts... x) override
SelectStateTrigger(Select *parent)
Providing packet encoding functions for exchanging data with a remote host.