Inheritance diagram for tit.observation.Observation:

Public Member Functions | |
| Observation () | |
| boolean | isUnstarted () |
| boolean | isStarted () |
| boolean | isStopped () |
| void | startObservation () throws ObservationInIllegalStateException |
| void | stopObservation (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordFly (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordHop (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordPreen (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordBillwipe (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordBoink (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordPeckRing (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordTree1 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordTree2 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordTree3 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordTree4 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordTree5 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordWall1 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordWall2 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordWall3 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordWall4 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordFloor (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordDoorOrWindow (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordOtherLocation (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Private Types | |
| enum | State { UNSTARTED, STARTED, STOPPED } |
Private Attributes | |
| State | state |
| long | lastobservation |
enum tit::observation::Observation::State [private] |
| tit.observation.Observation.Observation | ( | ) |
Constructs a new unstarted observation.
| boolean tit.observation.Observation.isUnstarted | ( | ) |
Checks whether this observation is unstarted.
true if this observation is unstarted, false otherwise. | boolean tit.observation.Observation.isStarted | ( | ) |
Checks whether this observation is started.
true if this observation is started, false otherwise. | boolean tit.observation.Observation.isStopped | ( | ) |
Checks whether this observation is stopped.
true if this observation is stoppped, false otherwise. | void tit.observation.Observation.startObservation | ( | ) | throws ObservationInIllegalStateException |
Starts this observation.
| ObservationInIllegalStateException | Is thrown when the observation is not unstarted. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.stopObservation | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Stops this observation.
| time | The time on which the observation is stopped. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordFly | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a fly.
| time | The time on which the fly is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordHop | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a hop.
| time | The time on which the hop is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordPreen | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a preen.
| time | The time on which the preen is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordBillwipe | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a billwipe.
| time | The time on which the billwipe is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordBoink | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a boink.
| time | The time on which the boink is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordPeckRing | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a peckring.
| time | The time on which the peckring is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordTree1 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a tree1.
| time | The time on which the tree1 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordTree2 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a tree2.
| time | The time on which the tree2 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordTree3 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a tree3.
| time | The time on which the tree3 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordTree4 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a tree4.
| time | The time on which the tree4 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordTree5 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a tree5.
| time | The time on which the tree5 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordWall1 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a wall1.
| time | The time on which the wall1 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordWall2 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a wall2.
| time | The time on which the wall2 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordWall3 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a wall3.
| time | The time on which the wall3 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordWall4 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a wall4.
| time | The time on which the wall4 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordFloor | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a floor.
| time | The time on which the floor is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordDoorOrWindow | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a doororwindow.
| time | The time on which the doororwindow is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
| void tit.observation.Observation.recordOtherLocation | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a otherlocation.
| time | The time on which the otherlocation is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented in tit.observation.io.ObservationDOMWriter, tit.observation.ObservationRecord, tit.observation.ObservationTableModel, tit.summary.Summarizer, and tit.summary.SuperSummarizer.
State tit.observation.Observation.state [private] |
This observation's state.
long tit.observation.Observation.lastobservation [private] |
Time on which the last observation was made.
1.5.1