You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
777 B
C++
23 lines
777 B
C++
#pragma once
|
|
|
|
#include "nodes/BaseNode.h"
|
|
#include "mixins/HierarchicalLinkMixin.h"
|
|
#include "mixins/FabricMixin.h"
|
|
#include "Logger.h"
|
|
|
|
/// \brief Класс сложного (составного) узла дерева.
|
|
/// Может содержать несколько дочерних ComplexNode или один SimpleNode.
|
|
class ComplexNode : public BaseNode,
|
|
virtual public HierarchicalLinkMixin,
|
|
public FabricMixin<ComplexNode> {
|
|
public:
|
|
~ComplexNode() {
|
|
Logger::get("ConDes").dbg(std::string("--- Complex destructor called for: ") + name_);
|
|
}
|
|
private:
|
|
friend class FabricMixin<ComplexNode>;
|
|
ComplexNode(std::string name) : BaseNode(std::move(name)) {
|
|
Logger::get("ConDes").dbg(std::string("--- Complex constructor called for: ") + name_);
|
|
}
|
|
};
|