Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+45
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Routing Test - main object
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "logger.h"
|
||||
#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:
|
||||
|
||||
std::unique_ptr<SessionHandler> m_sessionHandler;
|
||||
std::unique_ptr<PartitionHandler> m_partitionHandler;
|
||||
std::shared_ptr<Core::Pacemaker> m_pacemaker;
|
||||
|
||||
NGL::INGLLogger &m_logger;
|
||||
};
|
||||
} // namespace RoutingService
|
||||
Reference in new issue
Block a user