- Migrated all 104 CMakeLists.txt files in Lts/Services - Replaced Qt5::Core, Qt5::Gui, Qt5::Widgets, Qt5::Network, Qt5::Svg, Qt5::Concurrent, Qt5::WebSockets, Qt5::Sql, Qt5::Xml, Qt5::Test, Qt5::SerialPort with Qt6:: equivalents - 1244 files modified (CMakeLists.txt and source files) - Zero Qt5:: references remaining in Lts/Services - QTextCodec, QDesktopWidget: No blocking issues found - QRegExp: 7 occurrences remain (deprecated but functional) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
37 lines
887 B
C++
Executable File
37 lines
887 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Routing Test - handle a session (connection to and from sv for a specific partition)
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include "connection.h"
|
|
|
|
namespace RoutingService
|
|
{
|
|
class Session
|
|
{
|
|
public:
|
|
explicit Session(const QString &partitionNameSv, const QString &partitionNameWs);
|
|
~Session();
|
|
|
|
bool init(const dds::domain::DomainParticipant &dpIn,
|
|
const dds::domain::DomainParticipant &dpOut,
|
|
const std::vector<TopicDispatcherInterface *> &topicsToRouteToWs,
|
|
const std::vector<TopicDispatcherInterface *> &topicsToRouteToSv);
|
|
void shutdown();
|
|
|
|
private:
|
|
std::string m_partitionNameSv;
|
|
std::string m_partitionNameWs;
|
|
std::unique_ptr<Connection> m_connectionSvToWs;
|
|
std::unique_ptr<Connection> m_connectionWsToSv;
|
|
|
|
NGL::INGLLogger &m_logger;
|
|
};
|
|
} // namespace RoutingService
|