add hierarchical node
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include <iostream>
|
||||
|
||||
#include "nodes/BaseNode.h"
|
||||
#include "mixins/HierarchicalLinkMixin.h"
|
||||
#include "Logger.h"
|
||||
|
||||
class ComplexNode : public BaseNode,
|
||||
virtual public HierarchicalLinkMixin {
|
||||
public:
|
||||
~ComplexNode() {
|
||||
Logger::get("Node").dbg(std::string("--- Complex destructor called for: ") + name_);
|
||||
}
|
||||
ComplexNode(std::string name) : BaseNode(std::move(name)) {
|
||||
Logger::get("Node").dbg(std::string("--- Complex constructor called for: ") + name_);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user