X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fcpp-common%2Fbt2%2Fself-component-port.hpp;h=e2bbe80742af9a3350cebe23caf2b27c2a211316;hb=6133c94191474e358f8c0688c8f9d3f5cc323836;hp=2cd056afb1f4343dbe367d4f99c102b4de39f8a3;hpb=bd6e66fd0c3012ad6bcb03cdb3fb687767fb6ccf;p=babeltrace.git diff --git a/src/cpp-common/bt2/self-component-port.hpp b/src/cpp-common/bt2/self-component-port.hpp index 2cd056af..e2bbe807 100644 --- a/src/cpp-common/bt2/self-component-port.hpp +++ b/src/cpp-common/bt2/self-component-port.hpp @@ -128,6 +128,8 @@ public: } }; +namespace internal { + template class SelfSpecificComponent : public BorrowedObject { @@ -198,8 +200,6 @@ private: } }; -namespace internal { - template struct SelfComponentPortsSpec; @@ -326,7 +326,7 @@ public: Port back() const noexcept; }; -class SelfSourceComponent final : public SelfSpecificComponent +class SelfSourceComponent final : public internal::SelfSpecificComponent { public: using OutputPorts = SelfComponentPorts +class SelfFilterComponent final : public internal::SelfSpecificComponent { public: using InputPorts = SelfComponentPorts +class SelfSinkComponent final : public internal::SelfSpecificComponent { public: using InputPorts = SelfComponentPorts