6 #ifndef SWIFT_SIMPLUGIN_SIMULATOR_P3D_H
7 #define SWIFT_SIMPLUGIN_SIMULATOR_P3D_H
9 #include "../fsxcommon/simconnectobject.h"
10 #include "../fsxcommon/simulatorfsxcommon.h"
15 namespace swift::simplugin::p3d
20 EventP3dFoo = fsxcommon::EventFSXEndMarker + 1
66 SIMCONNECT_DATA_REQUEST_ID requestId)
override;
Interface to a simulator.
virtual bool followAircraft(const swift::misc::aviation::CCallsign &callsign)
Follow aircraft.
Value object encapsulating information of a callsign.
Geodetic coordinate, a position in 3D space relative to the reference geoid.
Direct in memory access to client (network client) data.
Describing a simulator plugin.
Direct in memory access to interpolation setup, normally implemented by simulator.
Direct threadsafe in memory access to own aircraft.
Direct thread safe in memory access to remote aircraft.
Direct in memory access to elevation data.
Class representing a SimConnect object.
FSX Simulator Implementation.
virtual bool requestElevation(const swift::misc::geo::ICoordinateGeodetic &reference, const swift::misc::aviation::CCallsign &aircraftCallsign)
Request elevation, there is no guarantee the requested elevation will be available in the provider.
virtual void removeCamera(CSimConnectObject &simObject)
Remove camera if any.
virtual void removeObserver(CSimConnectObject &simObject)
Remove observer if any.
virtual bool releaseAIControl(const CSimConnectObject &simObject, SIMCONNECT_DATA_REQUEST_ID requestId)
Release AI control.
CSimulatorFsxCommonListener(const swift::misc::simulation::CSimulatorPluginInfo &info)
Constructor.
P3D Simulator Implementation.
static void CALLBACK SimConnectProc(SIMCONNECT_RECV *pData, DWORD cbData, void *pContext)
SimConnect Callback.
CSimulatorP3D(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.
virtual HRESULT initEventsP3D()
Specific P3D events.
virtual bool connectTo()
Connect to simulator.
CSimulatorP3DListener(const swift::misc::simulation::CSimulatorPluginInfo &info)
Constructor.
virtual void startImpl()
Plugin specific implementation to start listener.
unsigned long DWORD
Fake Windows DWORD.
EventsIdsP3D
P3D specific events.