39 lines
729 B
C++
Executable File
39 lines
729 B
C++
Executable File
/**
|
|
* MainHandler for AereaEffectSimulation
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <memory>
|
|
#include "dds_handler.h"
|
|
#include "cmo_db.h"
|
|
#include "logger.h"
|
|
|
|
namespace ComponentMonitor
|
|
{
|
|
// Forward
|
|
class Initialization;
|
|
|
|
class MainHandler : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit MainHandler(QObject *parent = nullptr);
|
|
~MainHandler();
|
|
|
|
bool init(int domainId);
|
|
|
|
std::shared_ptr<DdsHandler> dds() const { return m_ddsHandler; }
|
|
|
|
private:
|
|
std::shared_ptr<DdsHandler> m_ddsHandler;
|
|
std::shared_ptr<ComponentMonitor::Initialization> m_cmoService;
|
|
|
|
NGL::INGLLogger &m_logger;
|
|
|
|
};
|
|
} // namespace ComponentMonitor
|