Migrates InfrastructureManagement to generated rtiddsgen API

Converts accessor calls to plain member access across ism service.
This commit is contained in:
berrux-dev committed 2026-09-21 02:45:09 +02:00
1 parent 472f537313
commit 82356f23e5
30 files changed
+1322 -1314

No files matched your search

@@ -37,31 +37,31 @@ public:
qint32 getId() const
{
return m_data.id();
return m_data.id;
}
const std::string &getName() const
{
return m_data.displayName();
return m_data.displayName;
}
std::vector<int32_t> getPath() const
{
return m_data.path();
return m_data.path;
}
qint32 getParentId() const
{
return m_data.path().size() > 0 ? m_data.path().at(m_data.path().size() - 1) : 0;
return !m_data.path.empty() ? m_data.path.at(m_data.path.size() - 1) : 0;
}
qint32 getMainStructureElementId() const
{
return m_data.mainStructureElementId();
return m_data.mainStructureElementId;
}
InfrastructureManagement::StructureElementType getStructureElementTypeId() const
{
return m_data.structureElementTypeId();
return m_data.structureElementTypeId;
}
InfrastructureManagement::MountingPointType getMountingPointType() const
{
return m_data.mountingPointTypeId();
return m_data.mountingPointTypeId;
}
InfrastructureManagement::StructureElement &getData()
{
@@ -73,11 +73,11 @@ public:
}
const Core::RelativePosition &getRelativePosition() const
{
return m_data.relPosition();
return m_data.relPosition;
}
const Core::GeoPosition &getGeoPosition() const
{
return m_data.geoPosition();
return m_data.geoPosition;
}
ObjectMainStructureElement *getMainStructureElement() const
{