48 #undef CONFIG_VARIABLE
49 #undef CONFIG_VARIABLE_SPECIAL
50 #define CONFIG_VARIABLE(Type,var,name,value) \
51 Type get_##var () const { return var.get(); } \
52 bool set_##var (Type val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; }
53 #define CONFIG_VARIABLE_SPECIAL(Type,var,name,value,mutator) \
54 Type get_##var () const { return var.get(); } \
55 bool set_##var (Type val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; }
57 #undef CONFIG_VARIABLE
58 #undef CONFIG_VARIABLE_SPECIAL
66 #undef CONFIG_VARIABLE
67 #undef CONFIG_VARIABLE_SPECIAL
68 #define CONFIG_VARIABLE(Type,var,name,value) PBD::ConfigVariable<Type> var;
69 #define CONFIG_VARIABLE_SPECIAL(Type,var,name,value,mutator) PBD::ConfigVariableWithMutation<Type> var;
71 #undef CONFIG_VARIABLE
72 #undef CONFIG_VARIABLE_SPECIAL
void set_variables(XMLNode const &)
XMLNode & get_variables(std::string const &nodename) const
void map_parameters(std::function< void(std::string)> &)
XMLNode & get_state() const
std::map< std::string, PBD::ConfigVariableBase * > _my_variables
int set_state(XMLNode const &, int version)