#pragma once #include namespace ddkit { namespace access { /// @brief template-independent base-class of topics (needed to have a type for generically store a topic-map) class ITopic { public: virtual std::string topicName() = 0; virtual bool hasReader() = 0; virtual void unloadReader() = 0; virtual void closeReader() = 0; virtual bool hasWriter() = 0; virtual void closeWriter() = 0; virtual ~ITopic() = default; }; } // namespace access } // namespace ddkit