/** * @RDE_HEADER@ * DdsHandlerExercise * $Id$ * $HeadURL$ * $Author$ * Created by Christian Fröbel, NLSE, 2018-01-05 */ #pragma once #include #include namespace DDSConnector { class DdsConnector; } namespace AudioVideoManagement { namespace Interface { class Dts; class Fts; } /** * Most topics in AVM live in the global partition. * But there are some topics (e.g. Stream) that live in exercise partitions. * DdsHandlerExercise is instantiated for every *active* exercise. * * @author Christian Fröbel */ class DdsHandlerExercise { public: DdsHandlerExercise(const dds::domain::DomainParticipant &domainParticipant, int exerciseId); virtual ~DdsHandlerExercise(); Interface::Dts *dts() const { return m_dts.get(); } private: std::shared_ptr m_ddsConnector; std::shared_ptr m_dts; }; } // namespace AudioVideoManagement