#pragma once #include "nodes/BaseNode.h" #include "mixins/LazyLinkMixin.h" #include "mixins/FabricMixin.h" #include "links/LeafLink.h" #include "Logger.h" /// \brief Базовый класс для краевых (листовых) узлов дисциплин. /// Не допускает дочерних элементов. class LeafNode : public BaseNode, virtual public LazyLinkMixin> { public: ~LeafNode() { Logger::get("ConDes").dbg( std::string("--- Leaf destructor called for: ") + name_ ); } protected: LeafNode(std::string name, std::string kind) : BaseNode(std::move(name), std::move(kind)) { Logger::get("ConDes").dbg( std::string("--- Leaf constructor called for: ") + name_ + ", kind=" + kind_ ); } };