48 lines
1.1 KiB
C++
Executable File
48 lines
1.1 KiB
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <PluginInterfaces/data_plugin_interface.h>
|
|
#include <SituationReplayManagement/srm_ftc.h>
|
|
#include <Core/core_dtc.h>
|
|
|
|
namespace Core
|
|
{
|
|
class ReplayPartition;
|
|
namespace Interface
|
|
{
|
|
class Dtc;
|
|
}
|
|
}
|
|
|
|
namespace SituationReplayManagement
|
|
{
|
|
class ForeignDataInterface;
|
|
|
|
|
|
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;
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
};
|
|
|
|
}
|