45 lines
673 B
C++
Executable File
45 lines
673 B
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <dds/domain/DomainParticipant.hpp>
|
|
#include <memory>
|
|
|
|
namespace DDSConnector
|
|
{
|
|
class DdsConnector;
|
|
}
|
|
|
|
namespace ParticipantManagement
|
|
{
|
|
namespace Interface
|
|
{
|
|
class Dtc;
|
|
}
|
|
}
|
|
|
|
namespace CombatNetRadio
|
|
{
|
|
|
|
|
|
|
|
class DdsHandlerExercise
|
|
{
|
|
public:
|
|
explicit DdsHandlerExercise(const dds::domain::DomainParticipant &domainParticipant, int exerciseId);
|
|
virtual ~DdsHandlerExercise();
|
|
|
|
|
|
|
|
void enableDtcs();
|
|
|
|
ParticipantManagement::Interface::Dtc *ppmDtc() const { return m_ppmDtc.get(); }
|
|
|
|
private:
|
|
std::shared_ptr<DDSConnector::DdsConnector> m_ddsConnector;
|
|
std::shared_ptr<ParticipantManagement::Interface::Dtc> m_ppmDtc;
|
|
};
|
|
|
|
}
|