org.iu.gps
Class TimeTriggerInfo

java.lang.Object
  |
  +--org.iu.gps.TriggerInfo
        |
        +--org.iu.gps.TimeTriggerInfo

public class TimeTriggerInfo
extends TriggerInfo

Contains all information about a distance / time trigger. This structure can be used to define periodic triggers(distance==0.0) or distance-based triggers (distance>0.0)


Field Summary
 double distance
          Distance after which to trigger.
 long dt
          Maximim inactivity before triggering (in milliseconds).
 double fromx
          Source X position.
 double fromy
          Source Y position.
 long t
           
 
Fields inherited from class org.iu.gps.TriggerInfo
id, persistant, receiver
 
Constructor Summary
TimeTriggerInfo()
           
 
Methods inherited from class org.iu.gps.TriggerInfo
trigger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

t

public long t

dt

public long dt
Maximim inactivity before triggering (in milliseconds).

distance

public double distance
Distance after which to trigger.

fromx

public double fromx
Source X position.

fromy

public double fromy
Source Y position.
Constructor Detail

TimeTriggerInfo

public TimeTriggerInfo()