}
};
+namespace internal {
+
template <typename LibObjT>
class SelfSpecificComponent : public BorrowedObject<LibObjT>
{
}
};
-namespace internal {
-
template <typename LibSelfCompT, typename LibSelfCompPortPtrT>
struct SelfComponentPortsSpec;
Port back() const noexcept;
};
-class SelfSourceComponent final : public SelfSpecificComponent<bt_self_component_source>
+class SelfSourceComponent final : public internal::SelfSpecificComponent<bt_self_component_source>
{
public:
using OutputPorts = SelfComponentPorts<bt_self_component_source, bt_self_component_port_output,
OutputPorts::Port _addOutputPort(const char *name, DataT *data) const;
};
-class SelfFilterComponent final : public SelfSpecificComponent<bt_self_component_filter>
+class SelfFilterComponent final : public internal::SelfSpecificComponent<bt_self_component_filter>
{
public:
using InputPorts = SelfComponentPorts<bt_self_component_filter, bt_self_component_port_input,
OutputPorts::Port _addOutputPort(const char *name, DataT *data) const;
};
-class SelfSinkComponent final : public SelfSpecificComponent<bt_self_component_sink>
+class SelfSinkComponent final : public internal::SelfSpecificComponent<bt_self_component_sink>
{
public:
using InputPorts = SelfComponentPorts<bt_self_component_sink, bt_self_component_port_input,