- BUILD_RTI conditional compilation für RTI Connext DDS dependencies - Namespace fixes in core_dtc.h (Core:: → DDS::Core::) - CMakeLists.txt: BUILD_RTI option und conditional dependencies - Handler minelayer: namespace closing mit BUILD_RTI guard - Build erfolgreich mit BUILD_RTI=OFF validiert Signed-off-by: Torsten Wierschin <torsten.wierschin@life-maps.com>
44 lines
794 B
C++
Executable File
44 lines
794 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
#pragma once
|
|
|
|
#if BUILD_RTI
|
|
#include <DDS/DDSConnector/dds_connector.h>
|
|
#endif
|
|
#include <ngldb/db_service_handler.h>
|
|
#include "svcgmpserver_export.h"
|
|
#include "logger.h"
|
|
|
|
namespace GuezMinelayerProcessing
|
|
{
|
|
class DdsHandler;
|
|
#if BUILD_RTI
|
|
class HandlerMinelayerData;
|
|
#endif
|
|
|
|
class GMP_SERVER_EXPORT Initialization final
|
|
{
|
|
public:
|
|
Initialization();
|
|
~Initialization();
|
|
|
|
bool initialize(
|
|
#if BUILD_RTI
|
|
const std::shared_ptr<DDSConnector::DdsConnector> &ddsConnector
|
|
#endif
|
|
);
|
|
bool loadFromDatabase();
|
|
|
|
private:
|
|
NGL::INGLLogger &m_logger;
|
|
std::shared_ptr<DdsHandler> m_ddsHandler;
|
|
#if BUILD_RTI
|
|
std::shared_ptr<HandlerMinelayerData> m_handlerMinelayerData;
|
|
#endif
|
|
};
|
|
} // namespace GuezMinelayerProcessing
|