Click or drag to resize
IAircraftList Interface
The interface for objects that can collect together information from the messages transmitted by aircraft, and lookups in various data sources, to maintain a list of aircraft and their current state.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IAircraftList : IBackgroundThreadExceptionCatcher, 
	IDisposable

The IAircraftList type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the total number of aircraft currently being tracked.
Public propertyIsTracking
Gets a value indicating that the aircraft list is tracking aircraft.
Public propertySource
Gets a value indicating where the aircraft messages are coming from.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodFindAircraft
Returns details of the aircraft with the unique ID passed across or null if no such aircraft exists. The aircraft returned is a clone of the orignal, it will not change as further messages are received from the aircraft.
Public methodStart
Starts the tracking of aircraft.
Public methodStop
Stops tracking aircraft.
Public methodTakeSnapshot
Returns a list of all of the aircraft currently being tracked. The aircraft objects are clones of the originals held by the list, they will not change as further messages are received from the aircraft.
Top
Events
  NameDescription
Public eventCountChanged
Raised when the count of aircraft has changed. This could be raised from any thread, it needn't be raised on a GUI thread.
Public eventExceptionCaught
Raised when an exception is caught on the background thread. The background thread should not pass ThreadAbortException through this.
(Inherited from IBackgroundThreadExceptionCatcher.)
Public eventTrackingStateChanged
Raised when the aircraft list is started or stopped. Could be raised from any thread.
Top
See Also