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.
24 lines
785 B
C++
24 lines
785 B
C++
#pragma once
|
|
|
|
#include "nodes/BaseNode.h"
|
|
#include "mixins/LazyLinkMixin.h"
|
|
#include "mixins/FabricMixin.h"
|
|
#include "links/OneToOneLink.h"
|
|
#include "Logger.h"
|
|
|
|
/// \brief Класс простого (листового) узла дерева.
|
|
/// Может содержать только одного дочернего ComplexNode.
|
|
class SimpleNode : public BaseNode,
|
|
virtual public LazyLinkMixin<OneToOneLink<INode>>,
|
|
public FabricMixin<SimpleNode> {
|
|
public:
|
|
~SimpleNode() {
|
|
Logger::get("ConDes").dbg(std::string("--- Simple destructor called for: ") + name_);
|
|
}
|
|
private:
|
|
friend class FabricMixin<SimpleNode>;
|
|
SimpleNode(std::string name) : BaseNode(std::move(name)) {
|
|
Logger::get("ConDes").dbg(std::string("--- Simple constructor called for: ") + name_);
|
|
}
|
|
};
|