diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-12-10 16:03:54 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-12-10 16:03:54 +0000 |
| commit | d3561183fbc59f8f907d2445f380a6a8a0f560d0 (patch) | |
| tree | 546c795458762b75ba8ddd432a251a1543761461 /rotord/src/rotor.h | |
| parent | c2cd92d57457c30c8d66cb2c589191a3bb950f7d (diff) | |
Control node template
Diffstat (limited to 'rotord/src/rotor.h')
| -rw-r--r-- | rotord/src/rotor.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index 0013313..766802f 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -338,7 +338,7 @@ namespace Rotor { }; class Node{ public: - Node(){duplicate_inputs=false;UItype="";}; + Node(){duplicate_inputs=false;}; virtual Node* clone(map<string,string> &_settings)=0; //pure virtual virtual ~Node(){ for (auto a: attributes) delete a.second; @@ -379,7 +379,6 @@ namespace Rotor { string ID; string NODEID; string title; - string UItype; bool duplicate_inputs; string find_setting(map<string,string> &settings,string key,string def=""){ if (settings.find(key)!=settings.end()) return settings[key]; else return def;}; double find_setting(map<string,string> &settings,string key,double def){ if (settings.find(key)!=settings.end()) return toFloat(settings[key]); else return def;}; |
