Earth Observation Mission CFI Software Orbit Software User Manual |
This class contains a time instant given as a relative orbit number plus the time elapsed since the ANX. More...
Public Member Functions | |
RelANXTime () | |
Class constructor. | |
RelANXTime (long orbitIn, long cycleIn, long secondsIn, long microsecIn) | |
Class constructor. | |
RelANXTime (const OrbitId &orbitId, long orbitIn, long cycleIn, long secondsIn, long microsecIn) throw (CfiError) | |
Class constructor with parameters using OrbitId. | |
RelANXTime (const RelANXTime &at) | |
Copy class constructor. | |
~RelANXTime () | |
Class destructor. | |
ANXTime | toAbsolute () const throw (CfiError) |
Returns the absolute orbit corresponding to the RelANXTime object.. | |
void | fromAbsolute (const ANXTime &anxTime) throw (CfiError) |
Set the RelANXTime object from an input ANXTime object. | |
void | operator= (const RelANXTime &t) |
Assigment operator. | |
Public Attributes | |
long | orbit |
Relative orbit number. | |
long | cycle |
Cycle number. | |
long | seconds |
Seconds since the ANX. | |
long | microseconds |
Microseconds. |
This class contains a time instant given as a relative orbit number plus the time elapsed since the ANX.
EECFI::RelANXTime::RelANXTime | ( | ) |
Class constructor.
If no OrbitId is provided in constructor, the object can only be used as data container.
EECFI::RelANXTime::RelANXTime | ( | long | orbitIn, | |
long | cycleIn, | |||
long | secondsIn, | |||
long | microsecIn | |||
) |
Class constructor.
If no OrbitId is provided in constructor, the object can only be used as data container.
orbitIn | Relative orbit. | |
cycleIn | Cycle of orbit.. | |
secondsIn | Seconds. | |
microsecIn | Microseconds.. |
References cycle, microseconds, orbit, and seconds.
EECFI::RelANXTime::RelANXTime | ( | const OrbitId & | orbitIdIn, | |
long | orbitIn, | |||
long | cycleIn, | |||
long | secondsIn, | |||
long | microsecIn | |||
) | throw (CfiError) |
Class constructor with parameters using OrbitId.
orbitIdIn | Orbit Id. | |
orbitIn | Relative orbit. | |
cycleIn | Cycle of orbit. | |
secondsIn | Seconds. | |
microsecIn | Microseconds. |
EECFI::RelANXTime::RelANXTime | ( | const RelANXTime & | rt | ) |
Copy class constructor.
rt | Object to be copied.. |
References cycle, microseconds, orbit, and seconds.
EECFI::RelANXTime::~RelANXTime | ( | ) |
Class destructor.
Set the RelANXTime object from an input ANXTime object.
anxTime | ANXTime object with absolute values. |
References EECFI::CfiError::addMsg(), EECFI::OrbitInfo::cycle, and EECFI::OrbitInfo::relOrbit.
void EECFI::RelANXTime::operator= | ( | const RelANXTime & | t | ) |
Assigment operator.
t | RelANXTime object we want to copy values into this one. |
References cycle, microseconds, orbit, and seconds.
Returns the absolute orbit corresponding to the RelANXTime object..
References EECFI::OrbitInfo::absOrbit, EECFI::CfiError::addMsg(), cycle, EECFI::OrbitId::getOrbitNumbersFromRel(), microseconds, EECFI::ANXTime::microseconds, EECFI::ANXTime::orbit, orbit, seconds, and EECFI::ANXTime::seconds.
Referenced by EECFI::RelTimeSegment::toAbsolute().
Cycle number.
Referenced by operator=(), RelANXTime(), and toAbsolute().
Microseconds.
Referenced by operator=(), RelANXTime(), and toAbsolute().
Relative orbit number.
Referenced by operator=(), RelANXTime(), and toAbsolute().
Seconds since the ANX.
Referenced by operator=(), RelANXTime(), and toAbsolute().