tit.observation.PresentTimeObservation Class Reference

List of all members.

Public Member Functions

 PresentTimeObservation (Observation observationinit)
boolean isUnstarted ()
boolean isStarted ()
boolean isStopped ()
void startObservation () throws ObservationInIllegalStateException
void stopObservation () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordFly () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordHop () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordPreen () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordBillwipe () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordBoink () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordPeckRing () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordTree1 () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordTree2 () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordTree3 () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordTree4 () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordTree5 () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordWall1 () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordWall2 () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordWall3 () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordWall4 () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordFloor () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordDoorOrWindow () throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void recordOtherLocation () throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Private Attributes

Observation observation
long starttime

Detailed Description

A wrapper around a Observation which translates present-time observations.
Author:
Bart Sas


Constructor & Destructor Documentation

tit.observation.PresentTimeObservation.PresentTimeObservation ( Observation  observationinit  ) 

Create a new ObservationWrapper around observationinit.

Parameters:
observationinit The Observation around which this wrapper will be created.


Member Function Documentation

boolean tit.observation.PresentTimeObservation.isUnstarted (  ) 

Checks whether this observation is unstarted.

Returns:
true if this observation is unstarted, false otherwise.

boolean tit.observation.PresentTimeObservation.isStarted (  ) 

Checks whether this observation is started.

Returns:
true if this observation is started, false otherwise.

boolean tit.observation.PresentTimeObservation.isStopped (  ) 

Checks whether this observation is stopped.

Returns:
true if this observation is stoppped, false otherwise.

void tit.observation.PresentTimeObservation.startObservation (  )  throws ObservationInIllegalStateException

Starts this observation.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.stopObservation (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Stops this observation.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordFly (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a fly.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordHop (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a hop.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordPreen (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a preen.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordBillwipe (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a billwipe.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordBoink (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a boink.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordPeckRing (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a peckring.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordTree1 (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a tree1.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordTree2 (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a tree2.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordTree3 (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a tree3.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordTree4 (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a tree4.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordTree5 (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a tree5.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordWall1 (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a wall1.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordWall2 (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a wall2.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordWall3 (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a wall3.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordWall4 (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a wall4.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordFloor (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a floor.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordDoorOrWindow (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a doororwindow.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.

void tit.observation.PresentTimeObservation.recordOtherLocation (  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Records a otherlocation.

Exceptions:
ObservationInIllegalStateException Can be thrown by the observation.
ObservationsInWrongOrderException Can be thrown by the observation.


Member Data Documentation

Observation tit.observation.PresentTimeObservation.observation [private]

The Observation to which the observations will be passed through.

long tit.observation.PresentTimeObservation.starttime [private]

The time (in ms) on which this observation is started.


The documentation for this class was generated from the following file:
Generated on Sun Jun 3 16:44:00 2007 by  doxygen 1.5.1