Click or drag to resize
IFlightSimulatorXView Interface
The interface for views that can display information about the connection to Flight Simulator X.

Namespace: VirtualRadar.Interface.View
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IFlightSimulatorXView : IView, 
	IDisposable

The IFlightSimulatorXView type exposes the following members.

Properties
  NameDescription
Public propertyCanBeRefreshed
Gets a value indicating to the presenter that the view is on show and should be refreshed.
Public propertyConnectionStatus
Gets or sets a description of the state of the connection to FSX.
Public propertyConnectToFlightSimulatorXEnabled
Gets or sets a value indicating that the user should be allowed to elect to connect to Flight Simulator X.
Public propertyFlightSimulatorPageAddress
Gets or sets the address of the flight simulator web page that the server can display.
Public propertyRideAircraftEnabled
Gets or sets a value indicating that the user should be allowed to elect to ride an aircraft.
Public propertyRideStatus
Gets or sets a description of the state of the FSX 'ride' feature.
Public propertyRidingAircraft
Gets or sets a value indicating that the user is mirroring a real aircraft's position etc. in FSX.
Public propertySelectedRealAircraft
Gets the real aircraft selected by the user for riding.
Public propertyUseSlewMode
Gets or sets a value indicating then the ride feature should use slew mode to move the simulated aircraft instead of freeze mode.
Public propertyWindowHandle
Gets the window handle that will be passed to IFlightSimulatorX.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodInitialise
Records objects that will be passed on to IFlightSimulatorXPresenter when it is created.
Public methodInitialiseRealAircraftListDisplay
Displays the list of real aircraft for the first time. Any existing display of real aircraft will be cleared by this.
Public methodShowView
Displays the view to the user.
(Inherited from IView.)
Public methodUpdateRealAircraftListDisplay
Updates the display of real aircraft. This could be called from a non-GUI thread.
Top
Events
  NameDescription
Public eventCloseClicked
Raised when the view is shutting down.
Public eventConnectClicked
Raised when the user has indicated that they want to connect to Flight Simulator X.
Public eventRefreshFlightSimulatorXInformation
Raised by a timer running on the GUI thread. Indicates that the presenter should ask FSX for an update of the simulated aircraft's position or send updates of real-world aircraft positions to FSX.
Public eventRideAircraftClicked
Raised when the user has indicated that they want to duplicate the position, airspeed, attitude etc. of a real aircraft in Flight Simulator X.
Public eventStopRidingAircraftClicked
Raised when the user has indicated that they don't want to ride the aircraft any more.
Top
Remarks
Note that SimConnect requires that this have a window handle to which messages can be sent which may limit the circumstances under which this can be fully implemented.
See Also