Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,49 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* DdsHandlerExercise
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Christian Fröbel, NLSE, 2018-01-05
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <dds/domain/DomainParticipant.hpp>
|
||||
#include <memory>
|
||||
|
||||
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<DDSConnector::DdsConnector> m_ddsConnector;
|
||||
std::shared_ptr<Interface::Dts> m_dts;
|
||||
};
|
||||
|
||||
} // namespace AudioVideoManagement
|
||||
Reference in new issue
Block a user