diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-01-27 12:24:41 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-01-27 12:24:41 +0000 |
| commit | 487fcf990f3c536d7e1d2f66daa0c34c0407eac5 (patch) | |
| tree | 4f0dd5aa9d74af5e3e7628fbe20e1f0af60f512a /NT/src/rotor.h | |
| parent | 1f2bc21fd5ee9bff4fce190d7bb0ee4462e76e87 (diff) | |
NT resinstated as HTTP server
Diffstat (limited to 'NT/src/rotor.h')
| -rw-r--r-- | NT/src/rotor.h | 2 |
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; |
