From 487fcf990f3c536d7e1d2f66daa0c34c0407eac5 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 27 Jan 2014 12:24:41 +0000 Subject: NT resinstated as HTTP server --- NT/src/rotor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NT/src/rotor.h') 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; -- cgit v1.2.3