|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.filters.AbstractFilter
faa.tg.aircraft.deadreckon.tmf.AcCountFilter
public class AcCountFilter
AcCountFilter is used by the TmfAircraftListener to limit the number of targets procesed. This is necessary to prevent any simulator from operating above capacity.See the source: AcCountFilter.java
| Field Summary | |
|---|---|
private int |
acMax
max number of a/c to pass |
private java.util.Hashtable<java.lang.String,Acid> |
acTable
The list of a/c to pass |
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
(package private) static long |
serialVersionUID
|
| Fields inherited from class faa.tg.filters.AbstractFilter |
|---|
DEFAULT_PASS_THROUGH, listeners, passThrough |
| Constructor Summary | |
|---|---|
AcCountFilter(int max)
Constructor |
|
| Method Summary | |
|---|---|
void |
addAircraft(Acid acid)
Method addAircraft ... |
void |
handleFlightActivatedEvent(FlightActivatedEvent fae)
Method handleFlightActivatedEvent ... |
void |
handleFlightTerminatedEvent(FlightTerminatedEvent fte)
Method handleFlightTerminatedEvent ... |
void |
handleObject(Filterable event)
handleObject recieves events to filter on |
void |
removeAircraft(Acid acid)
remove and A/C from processing table |
void |
setMax(int acMax)
Set or change maximum number of A/C |
| Methods inherited from class faa.tg.filters.AbstractFilter |
|---|
addFilterableListener, fire, getPassThrough, removeFilterableListener, setPassThrough, substituteFileVariables |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
private java.util.Hashtable<java.lang.String,Acid> acTable
private int acMax
| Constructor Detail |
|---|
public AcCountFilter(int max)
max - the maximum number of A/C to process| Method Detail |
|---|
public void setMax(int acMax)
acMax - public void handleFlightActivatedEvent(FlightActivatedEvent fae)
handleFlightActivatedEvent in interface FlightActivatedListenerfae - public void handleFlightTerminatedEvent(FlightTerminatedEvent fte)
handleFlightTerminatedEvent in interface FlightTerminatedListenerfte - public void removeAircraft(Acid acid)
acid - the acid of the A/C to removepublic void addAircraft(Acid acid)
acid - public void handleObject(Filterable event)
handleObject in interface FilterableListenerhandleObject in class AbstractFilterevent -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||