Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+65
@@ -0,0 +1,65 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Philipp Dassow, SLEA, 2017-07-20
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <memory>
|
||||
|
||||
#include "dds_handler.h"
|
||||
#include "gim_db.h"
|
||||
#include "logger.h"
|
||||
|
||||
namespace CodificationManagement
|
||||
{
|
||||
class Initialization;
|
||||
}
|
||||
namespace EffectShowManagement
|
||||
{
|
||||
class Initialization;
|
||||
}
|
||||
namespace GuezMinelayerProcessing
|
||||
{
|
||||
class Initialization;
|
||||
}
|
||||
namespace NGLDB
|
||||
{
|
||||
template <typename DB> class DbServiceHandler;
|
||||
}
|
||||
|
||||
namespace GuezIedManagement
|
||||
{
|
||||
using DbHandler = NGLDB::DbServiceHandler<DatabaseInterface>;
|
||||
class HandlerIed;
|
||||
class MainHandler
|
||||
{
|
||||
public:
|
||||
MainHandler();
|
||||
~MainHandler();
|
||||
|
||||
bool init(int domainId, int exerciseId);
|
||||
int exerciseId () const { return m_exerciseId; }
|
||||
|
||||
bool loadFromDatabase();
|
||||
|
||||
private:
|
||||
QString initInternal(int domainId, int exerciseId);
|
||||
private:
|
||||
std::shared_ptr<HandlerIed> m_handlerIed;
|
||||
std::shared_ptr<DdsHandler> m_ddsHandler;
|
||||
std::shared_ptr<DbHandler> m_dbHandler;
|
||||
|
||||
CodificationManagement::Initialization *m_codService;
|
||||
EffectShowManagement::Initialization *m_esmService;
|
||||
GuezMinelayerProcessing::Initialization *m_gmpService;
|
||||
|
||||
int m_exerciseId;
|
||||
|
||||
NGL::INGLLogger &m_logger;
|
||||
|
||||
};
|
||||
} // namespace GuezIedProcessing
|
||||
Reference in new issue
Block a user