diff options
Diffstat (limited to 'NodeOutput.h')
-rw-r--r-- | NodeOutput.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/NodeOutput.h b/NodeOutput.h new file mode 100644 index 0000000..2e92bf0 --- /dev/null +++ b/NodeOutput.h @@ -0,0 +1,16 @@ +#pragma once + +#include "Node.h" + +class NodeOutput : public Node { +public: + NodeOutput(const NodeOutput * prototype); + ~NodeOutput() = default; + virtual void sim(); + virtual NodeOutput * clone() const; + +private: + NodeOutput(const char * type); + constexpr static const char * type = "probe"; + static NodeOutput instance; +}; |