|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.iu.gps.TriggerInfo
Trigger information base class. Contains information common for all triggers, trigger id, the receiver of the trigger, and whether the trigger is persistant or a one-shot trigger.
Field Summary | |
int |
id
Unique ID for the trigger. |
boolean |
persistant
Specifies one-shot (false) or persistant (true) trigger. |
VRMITriggerListener |
receiver
Receiver to whom this trigger will be reported. |
Constructor Summary | |
TriggerInfo()
|
Method Summary | |
void |
trigger(GPSInfo gi)
Sends a trigger to the receiver, along with the current GPSInfo. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int id
public VRMITriggerListener receiver
public boolean persistant
Constructor Detail |
public TriggerInfo()
Method Detail |
public void trigger(GPSInfo gi)
gi
- Current GPSInfo.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |