Files
qt5-legatus-legacy/Lts/Proxies/TrainingAreaBase/Plugins/UAS/TmsIfAdapter/tms_if_adapter.h
T
2026-08-13 18:33:10 +02:00

32 lines
626 B
C++
Executable File

/**
* Creates and manages the TmsIfAdapter class to interface with the libTmsIfAdapter interface
* $Id$
* $HeadURL$
* $Author$
*
* Created by Mike Wille, ESZS, 2025-04-17
*/
#pragma once
#include <functional>
namespace UAS
{
class UAVCommander;
class TmsIfAdapter
{
public:
virtual ~TmsIfAdapter() = default;
static TmsIfAdapter &get(); // NOTE: call stop() before application exit
static void stop();
virtual bool isReady() const = 0;
virtual void set_isReady_Callback(std::function<void()> callbackFn) = 0;
virtual UAVCommander *createUAV(int domainId, int uasId) = 0;
};
} // namespace UAS