37 std::shared_ptr<::ComFixed> m_comfixed;
40 m_comfixed = std::make_shared<::ComFixed>();
41 for (
auto const &[
key, value] : params) {
47 system.comfixed = m_comfixed;
55 m_comfixed->set_fixed_types(
p_types);
57 [
this]() {
return m_comfixed->get_fixed_types(); }}});
Bind parameters in the script interface.
void do_set_parameter(const std::string &name, const Variant &value) final
void add_parameters(std::vector< AutoParameter > &¶ms)
void on_bind_system(::System::System &system) override
void do_construct(VariantMap const ¶ms) override
T get_value(Variant const &v)
Extract value of specific type T from a Variant.
std::unordered_map< std::string, Variant > VariantMap
Recursive variant implementation.