Files
qt5-legatus-legacy/Lts/Plugins/MarkerManagement/mrk_gui_plugin_interface.h
T
2026-08-13 18:33:10 +02:00

57 lines
1.5 KiB
C++
Executable File

/**
* @RDE_HEADER@
* HMI Plugin for Exercisemanagemt (Interface for access from other Plugins)
* $Id$
* $HeadURL$
* $Author$
* Created by Christian Ehrlicher, SLSE, 2016-02-29
*/
#pragma once
#include <LtsWidgets/lts_abstract_table_model.h>
#include <PluginInterfaces/topic_replay_interface.h>
#include <TopicEditorBase/topic_editor_interface.h>
namespace NGL
{
class INGLLogger;
}
namespace MarkerManagement
{
class Marker;
class Snapshot;
}
class QAbstractTableModel;
namespace SituationMap
{
class ForeignGuiInterface;
}
namespace MarkerManagement
{
class MarkerManagementDialogModel;
class SnapshotDialogModel;
class ForeignGuiInterface : public TopicReplay::Factory, public TopicEditorBase::Interface
{
public:
ForeignGuiInterface() = default;
virtual ~ForeignGuiInterface() = default;
static QString pluginName() { return QStringLiteral("MrkEditGuiPlugin"); }
virtual MarkerManagementDialogModel *createMarkerModel() = 0;
virtual SnapshotDialogModel *createSnapshotModel() = 0;
virtual void showMarker(int markerId) = 0;
virtual void setScriptsMrkIfc(MarkerManagement::ForeignGuiInterface* sitMapMrkIfc) = 0;
virtual void resetReplay() = 0;
virtual bool snapshotAdjustSitMap(const Snapshot &snapshot, bool bApplyFilter,
QByteArray &originalMapSettings,
SituationMap::ForeignGuiInterface *sitMapGuiIfc,
NGL::INGLLogger &logger) = 0;
};
} // namespace MarkerManagement