Go to the documentation of this file.
21 template<
typename GetT,
typename SetT>
26 ComboInputImpl(
const std::string &
name,
const std::vector<std::string> & values, GetT get_fn, SetT set_fn)
30 "ComboInput element getter callback should return an std::string");
38 writer.
write(values_);
45 std::vector<std::string> values_;
51 template<
typename GetT,
typename SetT>
52 auto ComboInput(
const std::string & name,
const std::vector<std::string> & values, GetT get_fn, SetT set_fn)
58 inline auto ComboInput(
const std::string & name,
const std::vector<std::string> & values, std::string & value)
static constexpr size_t write_size()
Definition: elements.h:106
Definition: MessagePackBuilder.h:86
auto read(const T &&value)
Definition: traits.h:188
auto ComboInput(const std::string &name, const std::vector< std::string > &values, GetT get_fn, SetT set_fn)
Definition: ComboInput.h:52
auto write(T &value)
Definition: traits.h:224
void write(mc_rtc::MessagePackBuilder &builder)
Definition: elements.h:108
Definition: Observer.h:15
const std::string & name() const
Definition: elements.h:61