- 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>
39 lines
975 B
C++
Executable File
39 lines
975 B
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <PluginInterfaces/data_plugin_interface.h>
|
|
#include <AdvancedSymbology/asb_data_plugin_interface.h>
|
|
|
|
namespace AdvancedSymbology
|
|
{
|
|
|
|
class DataPlugin final : public DataPluginBase::Plugin
|
|
{
|
|
Q_PLUGIN_METADATA(IID "data:3:asb")
|
|
|
|
Q_OBJECT
|
|
public:
|
|
DataPlugin() = default;
|
|
~DataPlugin() = default;
|
|
|
|
QString pluginName() const override { return QStringLiteral("AdvancedSymbology"); }
|
|
std::shared_ptr<DataPluginBase::Interface> createDataInterface(LtsSession::LtsSessionDataDds *session) override;
|
|
bool availableInPartition(IDL::PartitionType partition) const override { Q_UNUSED(partition); return true; }
|
|
};
|
|
|
|
|
|
class DataInterfaceImpl final : public DataInterface
|
|
{
|
|
public:
|
|
explicit DataInterfaceImpl(LtsSession::LtsSessionDataDds *session);
|
|
std::shared_ptr<ForeignDataInterface> getForeignDataInterface() override;
|
|
|
|
private:
|
|
std::shared_ptr<ForeignDataInterface> m_foreignInterface;
|
|
LtsSession::LtsSessionDataDds *m_session;
|
|
};
|
|
|
|
}
|