tit.observation.ObservationRecord Class Reference

Inheritance diagram for tit.observation.ObservationRecord:

tit.observation.ReproducableObservation tit.observation.Observation tit.observation.Observable List of all members.

Public Member Functions

 ObservationRecord ()
synchronized void startObservation () throws ObservationInIllegalStateException
synchronized void stopObservation (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordFly (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordHop (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordPreen (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordBillwipe (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordPeckRing (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordBoink (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordTree1 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordTree2 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordTree3 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordTree4 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordTree5 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordWall1 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordWall2 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordWall3 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordWall4 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordFloor (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordDoorOrWindow (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
synchronized void recordOtherLocation (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException
void produceObservation (Observation observation) throws ObservationsInWrongOrderException, ObservationInIllegalStateException

Private Attributes

List< Behaviourobservations
long stoptime

Detailed Description

An observation which can later on reproduce itself.
Author:
Bart Sas


Constructor & Destructor Documentation

tit.observation.ObservationRecord.ObservationRecord (  ) 

Constructs a new, unused ObservationRecord.


Member Function Documentation

synchronized void tit.observation.ObservationRecord.startObservation (  )  throws ObservationInIllegalStateException

Starts the observation.

Exceptions:
ObservationInIllegalStateException Is thrown when the measurement has already been started.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.stopObservation ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Stops the observation.

Parameters:
time The time (in ms) when the measurement is stopped.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement isn't started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordFly ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record a fly.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordHop ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record a hop.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordPreen ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record a preen.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordBillwipe ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record a billwipe.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordPeckRing ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record a peckring.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordBoink ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record a boink.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordTree1 ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record tree 1.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordTree2 ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record tree 2.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordTree3 ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record tree 3.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordTree4 ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record tree 4.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordTree5 ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record tree 5.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordWall1 ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record wall 1.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordWall2 ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record wall 2.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordWall3 ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record wall 3.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordWall4 ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record wall 4.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordFloor ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record the floor.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordDoorOrWindow ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record the door or window.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

synchronized void tit.observation.ObservationRecord.recordOtherLocation ( long  time  )  throws ObservationInIllegalStateException, ObservationsInWrongOrderException

Record an other location.

Parameters:
time The time on which this behaviour is recorded.
Exceptions:
ObservationInIllegalStateException Is thrown when the measurement hasn't been started yet or has already been stopped.
ObservationsInWrongOrderException Is thrown when this method is called whith a time less than the time of a previous call.

Reimplemented from tit.observation.Observation.

void tit.observation.ObservationRecord.produceObservation ( Observation  observation  )  throws ObservationsInWrongOrderException, ObservationInIllegalStateException

Produce an observation.

Parameters:
observation The Observation-object on which the observation is produced.
Exceptions:
ObservationsInWrongOrderException Can be thrown by observation.
ObservationInIllegalStateException Can be thrown by observation.

Implements tit.observation.Observable.


Member Data Documentation

List<Behaviour> tit.observation.ObservationRecord.observations [private]

The list of observations.

long tit.observation.ObservationRecord.stoptime [private]

The time on which the observation was stopped.


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