diff options
Diffstat (limited to 'Node.h')
-rw-r--r-- | Node.h | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -0,0 +1,23 @@ +#pragma once +#include <string> +#include <vector> + +#include "Observer.h" +#include "Net.h" + + + +class Node: Observer { + private: + std::string label; + std::string type; + + std::vector<Net*> inputs; + std::vector<Net*> outputs; + + public: + Node(/* args */); + ~Node(); + virtual void addInput(Net*); + virtual void addOutput(Net*); +}; |