- BUILD_RTI conditional compilation für RTI Connext DDS dependencies - Namespace fixes in core_dtc.h (Core:: → DDS::Core::) - CMakeLists.txt: BUILD_RTI option und conditional dependencies - Handler minelayer: namespace closing mit BUILD_RTI guard - Build erfolgreich mit BUILD_RTI=OFF validiert Signed-off-by: Torsten Wierschin <torsten.wierschin@life-maps.com>
45 lines
735 B
C++
45 lines
735 B
C++
|
|
|
|
#pragma once
|
|
|
|
#include <ProjectConfig/project_defines.h>
|
|
#include <QObject>
|
|
#include <memory>
|
|
|
|
namespace NGL
|
|
{
|
|
class INGLLogger;
|
|
}
|
|
|
|
namespace LtsSession
|
|
{
|
|
class LtsSessionDataDds;
|
|
}
|
|
|
|
namespace DataPluginBase
|
|
{
|
|
|
|
class Interface
|
|
{
|
|
public:
|
|
Interface() = default;
|
|
virtual ~Interface() = default;
|
|
};
|
|
|
|
class Plugin : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Plugin() = default;
|
|
virtual ~Plugin() = default;
|
|
|
|
virtual QString pluginName() const = 0;
|
|
virtual std::shared_ptr<Interface> createDataInterface(LtsSession::LtsSessionDataDds* session) = 0;
|
|
virtual bool availableInPartition(IDL::PartitionType partition) const = 0;
|
|
};
|
|
|
|
} // namespace DataPluginBase
|
|
|
|
Q_DECLARE_INTERFACE(DataPluginBase::Plugin, "data:")
|