BUILD_RTI=OFF: CODEGEN_* Makros in IF-Blocekt + DatabaseInterfaceImpl Stubs
- Alle 38 Service-Module CMakeLists.txt: CODEGEN_* Makros in IF(BUILD_RTI) gepackt - flm_db_impl_custom.h: Include-Pfad korrigiert (Lts/Services/... → FileManagement/) - DatabaseInterfaceImpl Stub-Header erstellt für: - FileManagement (flm_db_impl.h) - InfrastructureManagement (ism_db_impl.h) - ParticipantManagement (ppm_db_impl.h) - RecordingManagement (rec_db_impl.h) - Evaluations (evl_db_impl.h) - opm_enums.hpp: Placeholder-Enums für OperatorManagement Ermöglicht BUILD_RTI=OFF Builds ohne RTI/DDS Codegenerierung
This commit is contained in:
1 parent
115243d47c
commit
eafbbbbbe9
48 files changed
+1065
-308
No files matched your search
@@ -0,0 +1,41 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Stub header for CODEGEN_DATABASE generated code (BUILD_RTI=OFF)
|
||||
* This file is generated by CODEGEN_DATABASE macro when BUILD_RTI=ON
|
||||
* For BUILD_RTI=OFF builds, this stub provides the minimal interface
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
namespace Database
|
||||
{
|
||||
// Stub struct for RecSnapshot
|
||||
struct RecSnapshot
|
||||
{
|
||||
qint64 id = 0;
|
||||
// Add other fields as needed
|
||||
};
|
||||
} // namespace Database
|
||||
|
||||
namespace RecordingManagement
|
||||
{
|
||||
|
||||
/**
|
||||
* @brief Base class for database interface implementation
|
||||
*
|
||||
* This class is normally generated by CODEGEN_DATABASE macro.
|
||||
* This stub provides minimal interface for BUILD_RTI=OFF builds.
|
||||
*/
|
||||
class DatabaseInterfaceImpl : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit DatabaseInterfaceImpl(QObject *parent = nullptr) : QObject(parent) {}
|
||||
virtual ~DatabaseInterfaceImpl() = default;
|
||||
|
||||
// Virtual methods that can be overridden by custom implementations
|
||||
virtual bool removeNewerEqual(const Database::RecSnapshot &data) = 0;
|
||||
};
|
||||
|
||||
} // namespace RecordingManagement
|
||||
Reference in new issue
Block a user