- 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>
52 lines
1.3 KiB
C++
Executable File
52 lines
1.3 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* ISM Object Instrumentation Asset
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Iuliana Ojog, SLSE, 2016-11-26
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "base.h"
|
|
#include <Core/core_types.h>
|
|
|
|
#include <InfrastructureManagement/ism_db.h>
|
|
|
|
//-------------------------------------------------------------------------------------------------------------
|
|
namespace InfrastructureManagement
|
|
{
|
|
class ObjectInstrumentationAsset : public Base
|
|
{
|
|
public:
|
|
explicit ObjectInstrumentationAsset(MainHandler *mainHandler);
|
|
~ObjectInstrumentationAsset();
|
|
|
|
Core::FunctionReplyObject createObject(const InstrumentationAsset &data);
|
|
Core::FunctionReplyObject updateObject(const InstrumentationAsset &data);
|
|
Core::FunctionReplyObject removeObject();
|
|
|
|
qint32 getId() const
|
|
{
|
|
return m_data.id();
|
|
}
|
|
QString getName() const { return QString::fromStdString(m_data.name()); }
|
|
InfrastructureManagement::InstrumentationAsset getData() const;
|
|
|
|
bool isValid() const;
|
|
bool isUsed() const;
|
|
Core::FunctionReplyObject setUsed(bool isUsed);
|
|
|
|
// convert methods
|
|
static Database::IsmAsset toDbData(const InstrumentationAsset &ddsData); // dds -> db
|
|
static InstrumentationAsset toDdsData(const Database::IsmAsset &dbData); // db -> dds
|
|
|
|
protected:
|
|
void onPublishData();
|
|
|
|
private:
|
|
InstrumentationAsset m_data;
|
|
};
|
|
}
|