- Merged 292 changed files from dlbo snapshot - Fixed IDL enum collisions (PortType, PdmEventType) - Fixed Grantlee template for C++11 scoped enums - Fixed CMake VERSION_GREATER syntax - Added missing directories (THP, LtsRestClient, etc.) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
57 lines
1.6 KiB
C++
Executable File
57 lines
1.6 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Data Plugin Interface for SituationReplayManagement (Interface for access from other Plugins)
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Patric Karwat, SLSE, 2016-02-29
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <PluginInterfaces/data_plugin_interface.h>
|
|
#include <SituationReplayManagement/srm_ftc.h>
|
|
#include <DDS/Core/core_dtc.h>
|
|
|
|
namespace Core
|
|
{
|
|
class ReplayPartition;
|
|
namespace Interface
|
|
{
|
|
class Dtc;
|
|
}
|
|
}
|
|
|
|
namespace SituationReplayManagement
|
|
{
|
|
class ForeignDataInterface;
|
|
/**
|
|
* @brief The DataInterface class provides the Topics Clients only for the GUI Plugins
|
|
*/
|
|
class DataInterface : public DataPluginBase::Interface
|
|
{
|
|
public:
|
|
using DataPluginBase::Interface::Interface;
|
|
|
|
virtual std::shared_ptr<Core::Interface::Dtc> getDtc() = 0;
|
|
virtual std::shared_ptr<ForeignDataInterface> getForeignDataInterface() = 0;
|
|
};
|
|
|
|
/**
|
|
* @brief The ForeignInterface class provides methods and signals for foreign plugins, that need
|
|
* access to the data of this DataPlugin
|
|
*/
|
|
class ForeignDataInterface
|
|
{
|
|
public:
|
|
ForeignDataInterface() = default;
|
|
virtual ~ForeignDataInterface() = default;
|
|
|
|
virtual void removeReplayPartitionsWorkstation(const int workstationId) noexcept(false) = 0;
|
|
virtual void removeReplayPartitionsOperator(const int operatorId) noexcept(false) = 0;
|
|
virtual void replayPartitionRemoveRequest(int partitionId, int workstationId, int operatorId) noexcept(false) = 0;
|
|
virtual int replayPartitionCreateRequest(int exerciseId, int workstationId, int operatorId, Core::ReplayType replayType) noexcept(false) = 0;
|
|
};
|
|
|
|
} //namespace SituationReplayManagement
|