1 #ifndef MODULE_TEMPLATE
2 #define MODULE_TEMPLATE
30 template <
class T>
class xml_node;
35 class ModuleCollection;
42 virtual std::string
what()
override {
43 if(
id ==
"")
return "While loading an unknown module: " +
text;
44 else return "While loading module '" +
id +
"': " +
text;
110 std::list<std::shared_ptr<ParamTemplate>>
params;
111 std::list<std::pair<std::string, std::string>>
replies;
115 #endif //MODULE_TEMPLATE
ModuleCollection & collection
Definition: ModuleTemplate.hpp:107
Definition: ModuleTemplate.hpp:92
ParamAction
Definition: ModuleTemplate.hpp:58
std::string description
Definition: ModuleTemplate.hpp:100
std::string name
Definition: ModuleTemplate.hpp:83
ParamScale scale
Definition: ModuleTemplate.hpp:74
std::list< std::pair< std::string, std::string > > replies
Definition: ModuleTemplate.hpp:111
std::string id
Definition: ModuleTemplate.hpp:46
std::string name
Definition: ModuleTemplate.hpp:57
Definition: ModuleTemplate.hpp:54
ParamMode
Definition: ModuleTemplate.hpp:64
std::list< IOLetTemplate > inlets
Definition: ModuleTemplate.hpp:108
float step
Definition: ModuleTemplate.hpp:77
float default_max
Definition: ModuleTemplate.hpp:75
std::string sc_code
Definition: ModuleTemplate.hpp:104
std::string GetFullID() const
Definition: Module.hpp:37
ModuleTemplate(ModuleCollection &collection)
std::string id
Definition: ModuleTemplate.hpp:82
Definition: ModuleCollection.hpp:54
virtual std::string what() override
Definition: ModuleTemplate.hpp:42
Definition: Alertable.hpp:26
std::string id
Definition: ModuleTemplate.hpp:56
std::string class_name
Definition: ModuleTemplate.hpp:106
Definition: ModuleTemplate.hpp:39
std::string guitype
Definition: ModuleTemplate.hpp:101
bool has_class
Definition: ModuleTemplate.hpp:105
std::list< IOLetTemplate > outlets
Definition: ModuleTemplate.hpp:109
std::list< std::shared_ptr< ParamTemplate > > params
Definition: ModuleTemplate.hpp:110
std::string text
Definition: Exception.hpp:42
std::string name
Definition: ModuleTemplate.hpp:99
std::string id
Definition: ModuleTemplate.hpp:98
ModuleParse(std::string t)
Definition: ModuleTemplate.hpp:41
float default_min
Definition: ModuleTemplate.hpp:75
ModuleParse(std::string i, std::string t)
Definition: ModuleTemplate.hpp:40
Definition: Module.hpp:35
ParamAction action
Definition: ModuleTemplate.hpp:63
Definition: Exception.hpp:29
ParamScale
Definition: ModuleTemplate.hpp:70
bool has_sc_code
Definition: ModuleTemplate.hpp:103
std::string guitree
Definition: ModuleTemplate.hpp:102
Definition: ModuleTemplate.hpp:80
ParamMode mode
Definition: ModuleTemplate.hpp:69
float default_val
Definition: ModuleTemplate.hpp:76