40 lines
939 B
C++
Executable File
40 lines
939 B
C++
Executable File
/**
|
|
* DdsHandler for ServiceManagement
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Hannes Baeuerle, SLSE, 2016-02-15
|
|
*/
|
|
#pragma once
|
|
|
|
#include <DDS/DDSConnector/dds_connector.h>
|
|
|
|
#include <memory>
|
|
|
|
#include "scm_dts.h"
|
|
#include "scm_fts.h"
|
|
#include "logger.h"
|
|
|
|
namespace ServiceManagement
|
|
{
|
|
class DdsHandler final
|
|
{
|
|
public:
|
|
explicit DdsHandler(int domainId);
|
|
~DdsHandler() = default;
|
|
|
|
bool init(const QStringList &qosFileList = QStringList());
|
|
|
|
std::shared_ptr<ServiceManagement::Interface::Dts> dts() const;
|
|
std::shared_ptr<ServiceManagement::Interface::Fts> fts() const;
|
|
std::shared_ptr<DDSConnector::DdsConnector> connector() const;
|
|
private:
|
|
std::shared_ptr<DDSConnector::DdsConnector> m_ddsConnector;
|
|
std::shared_ptr<ServiceManagement::Interface::Dts> m_ddsDts;
|
|
std::shared_ptr<ServiceManagement::Interface::Fts> m_ddsFts;
|
|
|
|
NGL::INGLLogger &m_logger;
|
|
};
|
|
|
|
} // namespace ServiceManagement
|