uavsim.computers
Class DMEComputer

java.lang.Object
  extended by uavsim.computers.A_NavigationComputer
      extended by uavsim.computers.DMEComputer

public class DMEComputer
extends A_NavigationComputer

Defines a navigation computer that links a DME (distance measuring equipment) station, receiver, and instrument.

Author:
Dan Tappan [26.10.11]

Field Summary
private  DMEMarkerIndicator _dmeInstrument
          the DME instrument
private  VORDMEReceiver _dmeReceiver
          the DME receiver
 
Fields inherited from class uavsim.computers.A_NavigationComputer
_chart
 
Constructor Summary
DMEComputer(NavigationChart chart, VORDMEReceiver dmeReceiver, DMEMarkerIndicator dmeInstrument)
          Creates a DME computer.
 
Method Summary
 DMEMarkerIndicator getDMEInstrument()
          Gets the DME receiver.
 VORDMEReceiver getDMEReceiver()
          Gets the DME instrument.
 java.lang.String toString()
          
 void update(SevenDOFDescriptor sevenDOFDescriptor)
          Updates the instrument based on the computed navigation information.
 
Methods inherited from class uavsim.computers.A_NavigationComputer
getNavigationChart, refresh
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_dmeInstrument

private final DMEMarkerIndicator _dmeInstrument
the DME instrument


_dmeReceiver

private final VORDMEReceiver _dmeReceiver
the DME receiver

Constructor Detail

DMEComputer

public DMEComputer(NavigationChart chart,
                   VORDMEReceiver dmeReceiver,
                   DMEMarkerIndicator dmeInstrument)
Creates a DME computer.

Parameters:
chart - - the navigation chart
dmeReceiver - - the DME receiver
dmeInstrument - - the DME instrument
Method Detail

getDMEInstrument

public DMEMarkerIndicator getDMEInstrument()
Gets the DME receiver.

Returns:
the receiver

getDMEReceiver

public VORDMEReceiver getDMEReceiver()
Gets the DME instrument.

Returns:
the instrument

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

update

public void update(SevenDOFDescriptor sevenDOFDescriptor)
Updates the instrument based on the computed navigation information.

Specified by:
update in class A_NavigationComputer
Parameters:
sevenDOFDescriptor - - the UAV 7-DOF descriptor