- cmake/FindRTI.cmake: Add INTERFACE placeholder targets when RTI not found - cmake/FindRTI.cmake: Force BUILD_RTI=OFF when RTI not installed - Lts/Common/LtsSession/CMakeLists.txt: Make LtsSessionDataDds conditional on BUILD_RTI - Lts/Viewer/CMakeLists.txt: Make LtsDataView conditional on BUILD_RTI - Lts/Plugins/*/CMakeLists.txt: 97 plugin files wrapped in BUILD_RTI conditionals - cmake/NGLMacros.cmake: Fix NGL_ADD_BIG_RESOURCES macro (removed premature return()) - Multiple Qt6 API fixes: QLinkedList→std::list, QStringRef→QStringView, etc. - BUILD_RTI_FIXES_SUMMARY.md: Comprehensive documentation of all fixes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
46 lines
1.1 KiB
C++
Executable File
46 lines
1.1 KiB
C++
Executable File
/**
|
|
* Map description object
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Hanna E. Rathje, SLSE, 2016-03-03
|
|
*/
|
|
#pragma once
|
|
|
|
#include "logger.h"
|
|
#include <Core/core_types.h>
|
|
|
|
// Generated
|
|
#include <AssetManagement/asm_db.h>
|
|
#include <AssetManagement/asm.hpp>
|
|
|
|
namespace AssetManagement
|
|
{
|
|
class MainHandler;
|
|
|
|
class ObjectMapDescription
|
|
{
|
|
public:
|
|
explicit ObjectMapDescription(MainHandler *mainHandler);
|
|
|
|
Core::FunctionReplyObject createObject(const MapDescription &data, int order);
|
|
Core::FunctionReplyObject updateObject(const MapDescription &data);
|
|
Core::FunctionReplyObject removeObject();
|
|
|
|
qint32 getId() const { return m_data.id(); }
|
|
QString getName() const { return QString::fromStdString(m_data.name()); }
|
|
const MapDescription &getData() const { return m_data; }
|
|
|
|
bool isValid() const;
|
|
|
|
// convert methods
|
|
static Database::AsmMapDescription toDbData(const MapDescription &ddsData); // dds -> db
|
|
static MapDescription toDdsData(const Database::AsmMapDescription &dbData); // db -> dds
|
|
|
|
private:
|
|
MainHandler *m_mainHandler;
|
|
MapDescription m_data;
|
|
int m_order;
|
|
};
|
|
}
|