Go to the documentation of this file.
18 auto Input(
const std::string & name, T & value)
20 if constexpr(std::is_same_v<T, bool>) {
return Checkbox(name, value); }
21 else if constexpr(std::is_same_v<T, std::string>) {
return StringInput(name, value); }
22 else if constexpr(std::is_floating_point_v<T>) {
return NumberInput(name, value); }
23 else if constexpr(mc_rtc::internal::is_integral_v<T>) {
return IntegerInput(name, value); }
auto NumberInput(const std::string &name, GetT get_fn, SetT set_fn)
Definition: NumberInput.h:34
auto StringInput(const std::string &name, GetT get_fn, SetT set_fn)
Definition: StringInput.h:34
auto ArrayInput(const std::string &name, GetT get_fn, SetT set_fn)
Definition: ArrayInput.h:59
auto Checkbox(const std::string &name, GetT get_fn, Callback cb)
Definition: Checkbox.h:43
auto Input(const std::string &name, T &value)
Definition: Input.h:18
auto IntegerInput(const std::string &name, GetT get_fn, SetT set_fn)
Definition: IntegerInput.h:34
Definition: Observer.h:15