public class Timeline extends Object
This class represents the orbital events timeline as well as the associated phenomena when the event triggers a phenomenon.
Constructor and Description |
---|
Timeline(CodedEventsLogger logger,
AbsoluteDateInterval interval)
Builds an instance of the timeline from a
CodedEventsLogger , generating the list of detected events and
the list of corresponding phenomena.These events and phenomena are the output of a propagation with events detector; the coherence between events and phenomena should be guaranteed by the detection process during propagation. |
Timeline(Timeline timeline)
Builds an instance of the Timeline from another Timeline.
|
Modifier and Type | Method and Description |
---|---|
void |
addCodedEvent(CodedEvent event) |
void |
addPhenomenon(Phenomenon phenomenon) |
protected CodedEventsList |
getCodedEvents() |
List<CodedEvent> |
getCodedEventsList() |
AbsoluteDateInterval |
getIntervalOfValidity() |
protected PhenomenaList |
getPhenomena() |
List<Phenomenon> |
getPhenomenaList() |
void |
removeCodedEvent(CodedEvent event) |
void |
removeOnlyCodedEvent(CodedEvent event) |
void |
removePhenomenon(Phenomenon phenomenon) |
public Timeline(CodedEventsLogger logger, AbsoluteDateInterval interval) throws PatriusException
CodedEventsLogger
, generating the list of detected events and
the list of corresponding phenomena.logger
- the CodedEventsLogger
storing the events and phenomena created during propagation.interval
- the AbsoluteDateInterval
representing the validity interval of the events/phenomena lists.PatriusException
- if a problem occurs when g is called when building phenomena.public Timeline(Timeline timeline)
timeline
- the timeline to copyprotected PhenomenaList getPhenomena()
protected CodedEventsList getCodedEvents()
public List<Phenomenon> getPhenomenaList()
public List<CodedEvent> getCodedEventsList()
public void removeCodedEvent(CodedEvent event)
event
- : coded event that has to be removed from the listpublic void removeOnlyCodedEvent(CodedEvent event)
event
- : coded event that has to be removed from the listpublic void removePhenomenon(Phenomenon phenomenon)
phenomenon
- : phenomenon that has to be removed from the listpublic void addCodedEvent(CodedEvent event)
event
- : event that has to be added to the listpublic void addPhenomenon(Phenomenon phenomenon)
phenomenon
- : phenomenon that has to be added to the listpublic AbsoluteDateInterval getIntervalOfValidity()
Copyright © 2018 CNES. All Rights Reserved.