Inheritance diagram for tit.observation.ObservationRecord:
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< Behaviour > | observations |
long | stoptime |
tit.observation.ObservationRecord.ObservationRecord | ( | ) |
Constructs a new, unused ObservationRecord
.
synchronized void tit.observation.ObservationRecord.startObservation | ( | ) | throws ObservationInIllegalStateException |
Starts the observation.
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.
time | The time (in ms) when the measurement is stopped. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
time | The time on which this behaviour is recorded. |
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.
observation | The Observation -object on which the observation is produced. |
ObservationsInWrongOrderException | Can be thrown by observation . | |
ObservationInIllegalStateException | Can be thrown by observation . |
Implements tit.observation.Observable.
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.