Click or drag to resize
VirtualRadar.Interface.FlightSimulatorX Namespace
The namespace for all of the interfaces and objects associated with talking to Microsoft's Flight Simulator X.
Classes
  ClassDescription
Public classFlightSimulatorXException
Thrown when FlightSimulatorX reports an exception.
Public classSimConnectEventObservedEventArgs
The event args for the EventObserved event.
Public classSimConnectExceptionRaisedEventArgs
The event args for ExceptionRaised
Public classSimConnectObjectReceivedEventArgs
The event args for ObjectReceived.
Structures
  StructureDescription
Public structureReadAircraftInformation
The structure that IFlightSimulatorX will fill in with information about the simulated aircraft currently flying in FSX.
Public structureWriteAircraftInformation
The structure that is passed to IFlightSimulatorX to control the location, altitude, attitude and details of the simulated aircraft.
Interfaces
  InterfaceDescription
Public interfaceIFlightSimulatorX
The interface for objects that can talk to Microsoft's Flight Simulator X for us.
Public interfaceISimConnectWrapper
The interface for objects that allows tests to abstract away the SimConnect object that we have to use to connect to FSX.
Enumerations
  EnumerationDescription
Public enumerationFlightSimulatorXEventId
An enumeration of the values used to identify events within FSX that we are interested in. Many of these events are sent to FSX although some identify events which have taken place at the user's behest.
Public enumerationFlightSimulatorXExceptionCode
An enumeration of the reasons given by Flight Simulator X for throwing an exception.
Remarks

The main class here is IFlightSimulatorX. ISimConnectWrapper is also of interest as implementations of IFlightSimulatorX may use it to talk to FSX. You will need to have read the SimConnect documentation before you can make use of ISimConnectWrapper. Only the parts of SimConnect that were of interest to the application were wrapped.