swift
simulatorfsx.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2013 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_FSX_SIMULATORFSX_H
7 #define SWIFT_SIMPLUGIN_FSX_SIMULATORFSX_H
8 
9 #include "../fsxcommon/simulatorfsxcommon.h"
10 
11 namespace swift::simplugin::fsx
12 {
15  {
16  Q_OBJECT
17 
18  public:
23  swift::misc::network::IClientProvider *clientProvider, QObject *parent = nullptr);
24 
27  virtual bool connectTo() override;
29  };
30 
32  class CSimulatorFsxListener : public FsxCommon::CSimulatorFsxCommonListener
33  {
34  Q_OBJECT
35 
36  public:
38  using CSimulatorFsxCommonListener::CSimulatorFsxCommonListener;
39 
40  protected:
41  virtual void startImpl() override;
42  };
43 } // namespace swift::simplugin::fsx
44 
45 #endif // SWIFT_SIMPLUGIN_FSX_SIMULATORFSX_H
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.
FSX simulator implementation.
Definition: simulatorfsx.h:15
CSimulatorFsx(const swift::misc::simulation::CSimulatorPluginInfo &info, swift::misc::simulation::IOwnAircraftProvider *ownAircraftProvider, swift::misc::simulation::IRemoteAircraftProvider *remoteAircraftProvider, swift::misc::network::IClientProvider *clientProvider, QObject *parent=nullptr)
Constructor, parameters as in.