public interface ITimeBasedState extends IThreadAware
motions
.Modifier and Type | Method and Description |
---|---|
List<String> |
getAvailableElements()
Gets the names of all of the elements in this state.
|
JulianDate |
getCurrentDate()
Gets the
JulianDate that this state is valid. |
<T> Motion1<T> |
getMotion(String elementIdentification)
Returns the
Motion1 of the requested elementIdentification . |
<T> T |
getValue(String elementIdentification)
Returns the requested value of the requested element.
|
<T> void |
modifyMotion(String elementIdentification,
Motion1<T> newValue)
Modifies this instance of
ITimeBasedState with the Motion1 of the
specified elementIdentification updated. |
<T> void |
modifyValue(String elementIdentification,
T newValue)
|
void |
setCurrentDate(JulianDate value)
Sets the
JulianDate that this state is valid. |
getIsThreadSafe
clone
<T> T getValue(String elementIdentification)
T
- The type of the motion that the elementIdentification
is
(Cartesian
, double
, etc...).elementIdentification
- The name of the element.elementIdentification
.<T> void modifyValue(String elementIdentification, T newValue)
T
- The type that the value described by the elementIdentification
is.elementIdentification
- The name of the element to change.newValue
- The new value for the elementIdentification
.@Nonnull List<String> getAvailableElements()
@Nonnull <T> Motion1<T> getMotion(String elementIdentification)
Motion1
of the requested elementIdentification
.<T> void modifyMotion(String elementIdentification, @Nonnull Motion1<T> newValue)
ITimeBasedState
with the Motion1
of the
specified elementIdentification
updated.T
- The type that the Motion1
described by the elementIdentification
is.elementIdentification
- The name of the element to change.newValue
- The new values for the elementIdentification
.@Nonnull JulianDate getCurrentDate()
JulianDate
that this state is valid.void setCurrentDate(@Nonnull JulianDate value)
JulianDate
that this state is valid.