|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.lancs.relate.trigger.conditions.Condition
uk.ac.lancs.relate.trigger.conditions.ZoneCondition
uk.ac.lancs.relate.trigger.conditions.ApproachingInZone
public class ApproachingInZone
This condition is true if a trackable is within the zone and moving towards the point of reference.
| Constructor Summary | |
|---|---|
ApproachingInZone(java.lang.String id1,
Zone zone,
java.lang.String deviceId)
Creates a new condition for a given application, user id and zone. |
|
| Method Summary | |
|---|---|
boolean |
evaluate()
Return true if the condition is fulfilled, else false. |
| Methods inherited from class uk.ac.lancs.relate.trigger.conditions.ZoneCondition |
|---|
defineActiveTrackable, defineInvolvedTrackables, getNrTrackablesInZone, getZone, inZone, setZone |
| Methods inherited from class uk.ac.lancs.relate.trigger.conditions.Condition |
|---|
addInvolvedTrackable, addInvolvedTrackable, getActiveTrackable, getApp, getInvolvedTrackables, getTrackableById, setActiveTrackable, setApp, setInvolvedTrackables |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApproachingInZone(java.lang.String id1,
Zone zone,
java.lang.String deviceId)
id1 - unique id of the active trackable, normally the userzone - zone| Method Detail |
|---|
public boolean evaluate()
evaluate in class ZoneCondition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||