TrainingAreaBase: - Add BUILD_RTI guards to dds_handler.cpp (entire file) - Add BUILD_RTI guards to recv_from_dds_aes.h for tab_db.h include - Add BUILD_RTI guards to main_handler.h for tab_db.h include - Remove duplicate m_logger declaration in main_handler.h - Add stub headers for RTI types (tab_db_stub.hpp, tab_enums_stub.hpp, etc.) VideoOverlayManagement: - Fix member initialization order in handler_overlays.h - Fix member initialization order in avs_interface.h - Fix member initialization order in main_handler.h - Change logger.cpp include from NGLLogger.h to INGLLogger.h - Add BUILD_RTI guard to handler_overlays.cpp for RTI signal connection Plugins: - Migrate QDesktopWidget → QScreen in Light/Dark style plugins - Fix CMakeLists.txt for SituationReplayManagement (BUILD_RTI guards) - Fix CMakeLists.txt for CombatNetRadio (Qt6::Core linking) - Remove QDesktopWidget includes in multiple plugin files Infrastructure: - Remove duplicate INGLLogger.h include directory - Add stub headers for ProjectDataManagement (pdm.hpp, etc.) - Add stub headers for RoutingServiceNG BUILD_RTI=OFF build now compiles successfully (1112 targets).
50 lines
826 B
C++
Executable File
50 lines
826 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Routing Test - main object
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <QtCore/QObject>
|
|
|
|
#include "logger.h"
|
|
|
|
#if BUILD_RTI
|
|
|
|
#include "partition_handler.h"
|
|
#include "session_handler.h"
|
|
#include "session.h"
|
|
#include <DDS/DDSConnector/dds_connector.h>
|
|
|
|
namespace Core
|
|
{
|
|
class Pacemaker;
|
|
}
|
|
|
|
namespace RoutingService
|
|
{
|
|
class TopicDispatcherInterface;
|
|
|
|
class MainHandler : public QObject
|
|
{
|
|
public:
|
|
explicit MainHandler();
|
|
~MainHandler();
|
|
|
|
bool init(int domainIdIn, int domainIdOut, unsigned short tcpPortOut);
|
|
void shutdown();
|
|
|
|
private:
|
|
|
|
NGL::INGLLogger &m_logger;
|
|
std::unique_ptr<SessionHandler> m_sessionHandler;
|
|
std::unique_ptr<PartitionHandler> m_partitionHandler;
|
|
std::shared_ptr<Core::Pacemaker> m_pacemaker;
|
|
};
|
|
} // namespace RoutingService
|
|
|
|
#endif // BUILD_RTI
|