Restore ProjectDataManagement stub headers for release scope
The RELEASE_BUILD include path (root CMakeLists.txt) points to Lts/Services/ProjectDataManagement/stubs, which TrainingAreaBase's tab_plugin_interface.h needs (ProjectDataManagement/pdm.hpp). Only the stub headers are restored - the full PDM module stays out of scope.
This commit is contained in:
1 parent
e4743d631d
commit
5a96bd5d58
4 files changed
+250
No files matched your search
+181
@@ -0,0 +1,181 @@
|
||||
// Stub file for pdm - BUILD_RTI=OFF
|
||||
// Auto-generated stub to replace RTI IDL-generated code
|
||||
|
||||
#ifndef PDM_HPP
|
||||
#define PDM_HPP
|
||||
|
||||
#include "../pdm_enums_stub.hpp"
|
||||
#include "../pdm_stub.hpp"
|
||||
#include "../pdm_db_stub.hpp"
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
|
||||
// Forward declarations and stub types for ProjectDataManagement namespace
|
||||
// Used when BUILD_RTI=OFF to allow compilation without RTI Connext DDS
|
||||
|
||||
namespace ProjectDataManagement {
|
||||
|
||||
// Stub types for RTI IDL-generated classes
|
||||
struct RadioGroup {
|
||||
int m_id = 0;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
};
|
||||
|
||||
struct ChargeType {
|
||||
int m_id = 0;
|
||||
QString m_properties;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct GearClass {
|
||||
int m_id = 0;
|
||||
QString m_properties;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct GearType {
|
||||
int m_id = 0;
|
||||
int m_gearClassId = 0;
|
||||
QString m_properties;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
int gearClassId() const { return m_gearClassId; }
|
||||
void gearClassId(int val) { m_gearClassId = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct GearTypeChargeType {
|
||||
int m_id = 0;
|
||||
int m_gearTypeId = 0;
|
||||
int m_chargeTypeId = 0;
|
||||
QString m_properties;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
int gearTypeId() const { return m_gearTypeId; }
|
||||
void gearTypeId(int val) { m_gearTypeId = val; }
|
||||
int chargeTypeId() const { return m_chargeTypeId; }
|
||||
void chargeTypeId(int val) { m_chargeTypeId = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct BuildingChargeEffect {
|
||||
int m_id = 0;
|
||||
QString m_properties;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct VulnerabilityKind {
|
||||
int m_id = 0;
|
||||
QString m_properties;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct IgniterType {
|
||||
int m_id = 0;
|
||||
QString m_properties;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct LoadType {
|
||||
int m_id = 0;
|
||||
QString m_properties;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString properties() const { return m_properties; }
|
||||
void properties(const QString& val) { m_properties = val; }
|
||||
};
|
||||
|
||||
struct CanComponentString {
|
||||
int m_id = 0;
|
||||
QString m_text;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString text() const { return m_text; }
|
||||
void text(const QString& val) { m_text = val; }
|
||||
};
|
||||
|
||||
struct BiteComponentText {
|
||||
int m_id = 0;
|
||||
QString m_text;
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString text() const { return m_text; }
|
||||
void text(const QString& val) { m_text = val; }
|
||||
};
|
||||
|
||||
struct SanitationProcedure {
|
||||
int m_id = 0;
|
||||
QString m_name;
|
||||
QString m_longName;
|
||||
QString m_type;
|
||||
int m_typeId = 0;
|
||||
int m_minimumQualification = 0;
|
||||
int m_dataCode = 0;
|
||||
QString m_version;
|
||||
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString name() const { return m_name; }
|
||||
void name(const QString& val) { m_name = val; }
|
||||
QString longName() const { return m_longName; }
|
||||
void longName(const QString& val) { m_longName = val; }
|
||||
QString type() const { return m_type; }
|
||||
void type(const QString& val) { m_type = val; }
|
||||
int typeId() const { return m_typeId; }
|
||||
void typeId(int val) { m_typeId = val; }
|
||||
int minimumQualification() const { return m_minimumQualification; }
|
||||
void minimumQualification(int val) { m_minimumQualification = val; }
|
||||
int dataCode() const { return m_dataCode; }
|
||||
void dataCode(int val) { m_dataCode = val; }
|
||||
QString version() const { return m_version; }
|
||||
void version(const QString& val) { m_version = val; }
|
||||
};
|
||||
|
||||
struct SanitationInjury {
|
||||
int m_id = 0;
|
||||
QString m_name;
|
||||
int m_kind = 0;
|
||||
int m_place1 = 0;
|
||||
int m_place2 = 0;
|
||||
int m_vbg = 0;
|
||||
|
||||
int id() const { return m_id; }
|
||||
void id(int val) { m_id = val; }
|
||||
QString name() const { return m_name; }
|
||||
void name(const QString& val) { m_name = val; }
|
||||
int kind() const { return m_kind; }
|
||||
void kind(int val) { m_kind = val; }
|
||||
int place1() const { return m_place1; }
|
||||
void place1(int val) { m_place1 = val; }
|
||||
int place2() const { return m_place2; }
|
||||
void place2(int val) { m_place2 = val; }
|
||||
int vbg() const { return m_vbg; }
|
||||
void vbg(int val) { m_vbg = val; }
|
||||
};
|
||||
|
||||
// Forward declaration for Interface::Dtc
|
||||
namespace Interface {
|
||||
class Dtc;
|
||||
}
|
||||
|
||||
} // namespace ProjectDataManagement
|
||||
|
||||
#endif // PDM_HPP
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
// Stub file for pdm_db - BUILD_RTI=OFF
|
||||
// Auto-generated stub to replace RTI IDL-generated database code
|
||||
|
||||
#ifndef PDM_DB_STUB_HPP
|
||||
#define PDM_DB_STUB_HPP
|
||||
|
||||
#include "pdm_enums_stub.hpp"
|
||||
|
||||
namespace pdm {
|
||||
namespace db {
|
||||
|
||||
// Stub class to replace RTI IDL-generated database types
|
||||
class ProjectDatabase {
|
||||
public:
|
||||
virtual ~ProjectDatabase() = default;
|
||||
};
|
||||
|
||||
} // namespace db
|
||||
} // namespace pdm
|
||||
|
||||
#endif // PDM_DB_STUB_HPP
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
// Stub file for pdm_enums - BUILD_RTI=OFF
|
||||
// Auto-generated stub to replace RTI IDL-generated code
|
||||
|
||||
#ifndef PDM_ENUMS_STUB_HPP
|
||||
#define PDM_ENUMS_STUB_HPP
|
||||
|
||||
namespace pdm {
|
||||
namespace enums {
|
||||
|
||||
// Stub enums to replace RTI IDL-generated types
|
||||
enum class ProjectState : int {
|
||||
Unknown = 0
|
||||
};
|
||||
|
||||
enum class ProjectType : int {
|
||||
Unknown = 0
|
||||
};
|
||||
|
||||
enum class GearClass : int {
|
||||
Unknown = 0
|
||||
};
|
||||
|
||||
} // namespace enums
|
||||
} // namespace pdm
|
||||
|
||||
#endif // PDM_ENUMS_STUB_HPP
|
||||
@@ -0,0 +1,22 @@
|
||||
// Stub file for pdm - BUILD_RTI=OFF
|
||||
// Auto-generated stub to replace RTI IDL-generated code
|
||||
|
||||
#ifndef PDM_STUB_HPP
|
||||
#define PDM_STUB_HPP
|
||||
|
||||
#include "pdm_enums_stub.hpp"
|
||||
|
||||
namespace pdm {
|
||||
|
||||
// Stub structs to replace RTI IDL-generated types
|
||||
struct ProjectData {
|
||||
int id = 0;
|
||||
};
|
||||
|
||||
struct ProjectConfig {
|
||||
int projectId = 0;
|
||||
};
|
||||
|
||||
} // namespace pdm
|
||||
|
||||
#endif // PDM_STUB_HPP
|
||||
Reference in new issue
Block a user