summaryrefslogtreecommitdiff
path: root/NT/src/rotor.h
diff options
context:
space:
mode:
Diffstat (limited to 'NT/src/rotor.h')
-rw-r--r--NT/src/rotor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/NT/src/rotor.h b/NT/src/rotor.h
index 4a9eb70..17c8545 100644
--- a/NT/src/rotor.h
+++ b/NT/src/rotor.h
@@ -255,6 +255,7 @@ namespace Rotor {
//in Node we could have create_multi_inlet() and add_multi_inlet()
class Node { //base type for node pointers
public:
+ Node(){type="";type_id="";id="";description="";};
virtual ~Node(){
for (auto v:vars){
delete v.second;
@@ -271,6 +272,7 @@ namespace Rotor {
}
std::string get_type(){return type;};
std::string& get_id(){return id;};
+ std::string& get_description(){return description;};
Json::Value to_json();
virtual Node* clone(Json::Value &_settings)=0;
virtual std::string get_output_type()=0;