swift
Loading...
Searching...
No Matches
simulatoremulatedfactory.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) 2017 swift Project Community / Contributors
2// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
5
6#ifndef SWIFT_SIMPLUGIN_EMULATED_SIMULATOREMULATEDFACTORY_H
7#define SWIFT_SIMPLUGIN_EMULATED_SIMULATOREMULATEDFACTORY_H
8
9#include <QObject>
10#include <QtPlugin>
11
12#include "core/simulator.h"
14
15namespace swift::simplugin::emulated
16{
19 {
21 Q_PLUGIN_METADATA(IID "org.swift-project.swift_core.simulatorinterface" FILE "simulatoremulated.json")
23
24 public:
29 swift::misc::network::IClientProvider *clientProvider) override;
30
34 };
35} // namespace swift::simplugin::emulated
36
37#endif // SWIFT_SIMPLUGIN_EMULATED_SIMULATOREMULATEDFACTORY_H
Factory pattern class to create instances of ISimulator.
Definition simulator.h:694
Interface to a simulator.
Definition simulator.h:59
Interface to a simulator listener.
Definition simulator.h:633
Direct in memory access to client (network client) data.
Direct threadsafe in memory access to own aircraft.
Direct thread safe in memory access to remote aircraft.
Factory implementation to create CSimulatorEmulated instances.
swift::core::ISimulatorListener * createListener(const swift::misc::simulation::CSimulatorPluginInfo &info)
Simulator listener instance.
swift::core::ISimulator * create(const swift::misc::simulation::CSimulatorPluginInfo &info, swift::misc::simulation::IOwnAircraftProvider *ownAircraftProvider, swift::misc::simulation::IRemoteAircraftProvider *remoteAircraftProvider, swift::misc::network::IClientProvider *clientProvider)
Create a new instance of a driver.
QObject(QObject *parent)
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT