Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+37
@@ -0,0 +1,37 @@
|
||||
/**
|
||||
* UAS Plugin Interface Factory
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Mike Wille, ESZS, 2025-04-17
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QHostInfo>
|
||||
|
||||
#include <TrainingAreaBase/tab_plugin_interface.h>
|
||||
|
||||
|
||||
namespace UAS
|
||||
{
|
||||
class TabPluginUAS : public QObject, public TrainingAreaBase::Plugin::Plugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "special:3:tab.uas")
|
||||
Q_INTERFACES(TrainingAreaBase::Plugin::Plugin)
|
||||
|
||||
private:
|
||||
bool hostAvailable(QString hostname);
|
||||
|
||||
public:
|
||||
TabPluginUAS() = default;
|
||||
virtual ~TabPluginUAS() = default;
|
||||
std::shared_ptr<TrainingAreaBase::Plugin::Interface> createInterface(TrainingAreaBase::Plugin::DataProvider *dataProvider,
|
||||
const std::shared_ptr<TrainingAreaBase::RecvFromTab> &recvFromTabCb,
|
||||
const std::shared_ptr<TrainingAreaBase::TxMixin> &sendToTabCb,
|
||||
const std::shared_ptr<TrainingAreaBase::DdsHandler> &ddsHandler,
|
||||
NGL::Settings *settings) override;
|
||||
};
|
||||
} // namespace UAS
|
||||
Reference in new issue
Block a user