Base-class for all text inputs.
void publish_state(const std::string &state)
TextCall make_call()
Instantiate a TextCall object to modify this text component's state.
virtual void control(const std::string &value)=0
Set the value of the text input, this is a virtual method that each text input integration must imple...
void add_on_state_callback(std::function< void(std::string)> &&callback)
bool has_state() const
Return whether this text input has gotten a full state yet.
CallbackManager< void(std::string)> state_callback_