aboutsummaryrefslogtreecommitdiff
path: root/NodeOutput.h
diff options
context:
space:
mode:
Diffstat (limited to 'NodeOutput.h')
-rw-r--r--NodeOutput.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/NodeOutput.h b/NodeOutput.h
index 83a8b34..8b3eb44 100644
--- a/NodeOutput.h
+++ b/NodeOutput.h
@@ -3,19 +3,21 @@
#include "Node.h"
class NodeOutput : public Node {
+ using Node::Node;
+
public:
NodeOutput();
- NodeOutput(const NodeOutput * prototype);
- ~NodeOutput() = default;
+ virtual ~NodeOutput() = default;
+ virtual NodeOutput * clone() const;
virtual void sim();
- virtual SignalLevel level();
- virtual NodeOutput * clone() const;
virtual void setOutput(Net *);
+public:
+ virtual SignalLevel level();
private:
- using Node::Node;
+ NodeOutput(const NodeOutput * prototype);
constexpr static const char * type = "probe";
static NodeOutput instance;