![]() |
Earth Explorer Mission CFI Software Lib Software User Manual |
![]() |
Public Member Functions | |
TimeCorrelation (double time_corr[4]) throw (CfiError) | |
Class constructor: using time correlations. | |
TimeCorrelation (long timeModel, vector< string > timeFiles, TimeInterval time, TimeInterval &valTime) throw (CfiError) | |
Class constructor: using files and times. | |
TimeCorrelation (long timeModel, vector< string > timeFiles, long timeRef, OrbitInterval orbits, TimeInterval &valTime) throw (CfiError) | |
Class constructor: using files and orbits. | |
TimeCorrelation (long timeModel, vector< string > timeFiles, long timeRef, TimeInterval &valTime) throw (CfiError) | |
Class constructor: using files and default initialisation interval. | |
~TimeCorrelation () throw (CfiError) | |
Class destructor. | |
TimeCorrelationData | getData () |
Get data. | |
void | getLeapSecondInfo (long asciiFormat, long &leapFlag, string &UtcTimeBeforeLeap, string &UtcTimeAfterLeap) throw (CfiError) |
Get leap second info. | |
void | setData (TimeCorrelationData timeCorr) |
Set data. | |
Protected Member Functions | |
TimeCorrelation () | |
Empty Class constructor: do not initialise time correlations. | |
GenericId * | getId () |
Get the id. | |
void | eraseObject () throw (CfiError) |
Erase object and free memory. | |
Friends | |
class | Time |
class | OrbitId |
class | OrbitFunc |
class | SatNomTransId |
class | SatTransId |
class | InstrTransId |
class | Attitude |
EECFI::TimeCorrelation::TimeCorrelation | ( | double | time_corr[4] | ) | throw (CfiError) |
Class constructor: using time correlations.
time_corr | Time correlations array: [0] = TAI time (Decimal days - Processing format). Allowed range=[-18262.0, 36524.0] [1] = UTC time (Decimal days - Processing format). Allowed range=[-18262.0, 36524.0] [2] = UT1 time (Decimal days - Processing format). Allowed range=[-18262.0, 36524.0] [3] = GPS time (Decimal days - Processing format). Allowed range=[-18262.0, 36524.0]. |
EECFI::TimeCorrelation::TimeCorrelation | ( | long | timeModel, | |
vector< string > | timeFiles, | |||
TimeInterval | time, | |||
TimeInterval & | valTime | |||
) | throw (CfiError) |
Class constructor: using files and times.
timeModel | Time model (TimeModelEnum). Allowed range: complete except XLCFI_TIMEMOD_USER. Note: when the input file is an IERS Bulleting B file and the time mode is XLCFI_TIMEMOD_AUTO, then the time model is set automatically to XLCFI_TIMEMOD_IERS_B_RESTITUTED. | |
timeFiles | Array of files. | |
time | Requested initialisation time window. | |
valTime | [OUTPUT] Time validity interval. |
EECFI::TimeCorrelation::TimeCorrelation | ( | long | timeModel, | |
vector< string > | timeFiles, | |||
long | timeRef, | |||
OrbitInterval | orbits, | |||
TimeInterval & | valTime | |||
) | throw (CfiError) |
Class constructor: using files and orbits.
timeModel | Time model (TimeModelEnum). Allowed range: complete except XLCFI_TIMEMOD_USER. Note: when the input file is an IERS Bulleting B file and the time mode is XLCFI_TIMEMOD_AUTO, then the time model is set automatically to XLCFI_TIMEMOD_IERS_B_RESTITUTED. | |
timeFiles | Array of files. | |
timeRef | Time reference for the validity interval. | |
orbits | Requested initialisation orbit window. | |
valTime | [OUTPUT] Time validity interval. |
EECFI::TimeCorrelation::TimeCorrelation | ( | long | timeModel, | |
vector< string > | timeFiles, | |||
long | timeRef, | |||
TimeInterval & | valTime | |||
) | throw (CfiError) |
Class constructor: using files and default initialisation interval.
timeModel | Time model (TimeModelEnum). Allowed range: complete except XLCFI_TIMEMOD_USER. Note: when the input file is an IERS Bulleting B file and the time mode is XLCFI_TIMEMOD_AUTO, then the time model is set automatically to XLCFI_TIMEMOD_IERS_B_RESTITUTED. | |
timeFiles | Array of files. | |
timeRef | Time reference for the validity interval. | |
valTime | [OUTPUT] Time validity interval. |
EECFI::TimeCorrelation::~TimeCorrelation | ( | ) | throw (CfiError) |
EECFI::TimeCorrelation::TimeCorrelation | ( | ) | [inline, protected] |
Empty Class constructor: do not initialise time correlations.
void EECFI::TimeCorrelation::eraseObject | ( | ) | throw (CfiError) [protected] |
Erase object and free memory.
References EECFI::CfiId::status(), EECFI::CfiId::subtractInstance(), and EECFI::CfiClass::throwWarn.
Referenced by ~TimeCorrelation().
TimeCorrelationData EECFI::TimeCorrelation::getData | ( | ) |
Get data.
References EECFI::LeapSecondInfo::flag, EECFI::TimeCorrelationData::leapSecond, EECFI::TimeData::tai_gps, EECFI::TimeData::tai_ut1, EECFI::TimeData::tai_utc, EECFI::TimeData::taiTime, EECFI::TimeCorrelationData::timeCorrVector, EECFI::TimeData::ut1Time, and EECFI::LeapSecondInfo::utcTime.
GenericId * TimeCorrelation::getId | ( | ) | [protected] |
void EECFI::TimeCorrelation::getLeapSecondInfo | ( | long | asciiFormat, | |
long & | leapFlag, | |||
string & | utcTimeBeforeLeap, | |||
string & | utcTimeAfterLeap | |||
) | throw (CfiError) |
Get leap second info.
asciiFormat | Ascii format (TimeAsciiEnum). | |
leapFlag | [OUTPUT] Flag for leap second presence within time initialization data (-1 = Negative leap second; 0 = No leap second within initialization data; 1 = Positive leap second). | |
utcTimeBeforeLeap | [OUTPUT] UTC time just before leap second insertion. | |
utcTimeAfterLeap | [OUTPUT] UTC time just after leap second insertion. |
void EECFI::TimeCorrelation::setData | ( | TimeCorrelationData | timeCorr | ) |
Set data.
timeCorr | Time correlation data. |
References EECFI::LeapSecondInfo::flag, EECFI::TimeCorrelationData::leapSecond, EECFI::TimeCorrelationData::timeCorrVector, and EECFI::LeapSecondInfo::utcTime.
friend class Attitude [friend] |
friend class InstrTransId [friend] |
friend class OrbitFunc [friend] |
friend class OrbitId [friend] |
friend class SatNomTransId [friend] |
friend class SatTransId [friend] |
friend class Time [friend] |