43 lines
753 B
C++
Executable File
43 lines
753 B
C++
Executable File
/**
|
|
* Initialisation for Publisher
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
#pragma once
|
|
|
|
#include <dds/dds.hpp>
|
|
#include <DDS/DDSConnector/dds_connector.h>
|
|
|
|
namespace NGL {
|
|
class INGLLogger;
|
|
}
|
|
|
|
namespace DDSConnector
|
|
{
|
|
class DdsConnector;
|
|
class Publisher;
|
|
}
|
|
|
|
namespace DataSampleGenerator
|
|
{
|
|
class Initialisation : public DDSConnector::DdsConnector
|
|
{
|
|
public:
|
|
Initialisation(int domainId, int exerciseId);
|
|
~Initialisation() = default;
|
|
|
|
bool init(const QStringList &qosFileList = QStringList()) override final;
|
|
|
|
void generateTestData(const QString &type);
|
|
|
|
private:
|
|
// only for testing
|
|
bool m_isUsed;
|
|
int m_participantId;
|
|
|
|
NGL::INGLLogger& m_logger;
|
|
};
|
|
|
|
}
|