- training_area_telegrams.cpp: Fixed QJsonObject initializer syntax (Qt6 requires {{}} not ({}))
- training_area_telegrams.cpp: Fixed fromJson() methods to access m_* members directly
- training_area_telegrams.cpp: Fixed brace mismatches in multiple toJson() methods
- training_area_telegrams.h: Changed Header struct to public members for consistency
- tx_mixin.cpp: Fixed getEquipmentNumber() template for direct member access
- lts_coordinate.cpp: Added missing #include <iomanip>
- MIGRATION_STATUS.md: Added migration progress tracking document
C++17 constraint enforced due to RTI Connext DDS 7.7.0 incompatibility with C++20+
Build status: BUILD_RTI=OFF successful (0 errors, warnings only)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
80 lines
2.6 KiB
C++
Executable File
80 lines
2.6 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
*
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*
|
|
* Created by Gerlinde Rudolphus, SLSE, 2017-10-20
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AudioVideoManagement/avm_ftc.h>
|
|
#include <AudioVideoManagement/avm_ftc_types.h>
|
|
#include <AudioVideoManagement/avm_dtc.h>
|
|
#include <DDS/DDSConnector/dds_connector.h>
|
|
#include <QtCore/QObject>
|
|
#include <QtCore/QVector>
|
|
|
|
namespace AudioVideoManagement
|
|
{
|
|
|
|
/**
|
|
* @author Astrid Mueller, Christian Fröbel
|
|
*/
|
|
class AvmVcaTests : public QObject
|
|
, protected Interface::Ftc::ModifyCnrTvcProfileReplyHandler
|
|
, protected Interface::Ftc::RemoveCnrTvcProfileReplyHandler
|
|
, protected Interface::Ftc::ModifyTvcConfigReplyHandler
|
|
, protected Interface::Ftc::ModifyCnrConfigReplyHandler
|
|
, protected Interface::Ftc::RemoveTvcConfigReplyHandler
|
|
, protected Interface::Ftc::RemoveCnrConfigReplyHandler
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit AvmVcaTests(int domainId, int exerciseId, int operatorId);
|
|
|
|
private slots:
|
|
void initTestCase();
|
|
void cleanupTestCase();
|
|
|
|
void test();
|
|
|
|
private:
|
|
|
|
NGL::INGLLogger &m_logger;
|
|
void create();
|
|
void modify();
|
|
void remove();
|
|
|
|
/** FunctionTopic replies */
|
|
///@{
|
|
void onModifyCnrTvcProfileReply(const Core::FunctionReplyObject &replyObject) override final;
|
|
void onRemoveCnrTvcProfileReply(const Core::FunctionReplyObject &replyObject) override final;
|
|
void onModifyTvcConfigReply(const Core::FunctionReplyObject &replyObject) override final;
|
|
void onModifyCnrConfigReply(const Core::FunctionReplyObject &replyObject) override final;
|
|
void onRemoveTvcConfigReply(const Core::FunctionReplyObject &replyObject) override final;
|
|
void onRemoveCnrConfigReply(const Core::FunctionReplyObject &replyObject) override final;
|
|
///@}
|
|
|
|
void createTvcConfig();
|
|
void createCnrConfig();
|
|
void removeTvcConfig();
|
|
void removeCnrConfig();
|
|
|
|
std::shared_ptr<DDSConnector::DdsConnector> m_ddsConnector;
|
|
std::shared_ptr<AudioVideoManagement::Interface::Ftc> m_ftc;
|
|
std::shared_ptr<AudioVideoManagement::Interface::Dtc> m_dtc;
|
|
const int m_exerciseId;
|
|
const int m_operatorId;
|
|
int m_circuitId{-1};
|
|
bool m_modifyReplyReceived{false};
|
|
bool m_removeReplyReceived{false};
|
|
QVector<int> m_tvcConfigIds;
|
|
QVector<int> m_cnrConfigIds;
|
|
};
|
|
|
|
} // namespace AudioVideoManagement
|