Earth Observation Mission CFI Software DataHandling Software User Manual |
Class for reading star tracker files. More...
Public Member Functions | |
StarTrackerFile () | |
Default constructor. | |
StarTrackerFile (const std::string &fileNam) | |
Constructor with file name. | |
StarTrackerFile (const StarTrackerFile &other) | |
~StarTrackerFile () NOEXCEPT | |
Destructor. | |
StarTrackerFile & | operator= (const StarTrackerFile &other) |
void | read (const std::vector< std::string > &fileList, const TrackerLimits &trackerLimits) |
Read the whole files in the file list. | |
void | read (const std::vector< std::string > &fileList, const TrackerLimits &trackerLimits, double time0, double time1) |
Read files data in the selected time window. | |
Public Attributes | |
long | strId |
Star tracker Id (1,2 or 3). | |
std::vector< StarTracker > | strRec |
Vector with the telemetry data. |
Class for reading star tracker files.
EECFI::StarTrackerFile::StarTrackerFile | ( | ) |
Default constructor.
EECFI::StarTrackerFile::StarTrackerFile | ( | const std::string & | fileNam | ) | [explicit] |
Constructor with file name.
EECFI::StarTrackerFile::StarTrackerFile | ( | const StarTrackerFile & | other | ) |
Copy constructor.
other | The StarTrackerFile to copy from |
EECFI::StarTrackerFile::~StarTrackerFile | ( | ) |
Destructor.
StarTrackerFile & EECFI::StarTrackerFile::operator= | ( | const StarTrackerFile & | other | ) |
Copy assigment operator.
other | The StarTrackerFile to copy/assign from |
void EECFI::StarTrackerFile::read | ( | const std::vector< std::string > & | fileList, | |
const TrackerLimits & | trackerLimits, | |||
double | time0, | |||
double | time1 | |||
) |
Read files data in the selected time window.
fileList | List of files to read. | |
trackerLimits | Object with tracker limits. | |
time0 | Star time of the requested time window. | |
time1 | Stop time of the requested time window. |
References EECFI::TrackerLimits::maxGap, EECFI::TrackerLimits::maxPenalty, EECFI::TrackerLimits::normThr, strId, strRec, and EECFI::CfiClass::throwWarn.
void EECFI::StarTrackerFile::read | ( | const std::vector< std::string > & | fileList, | |
const TrackerLimits & | trackerLimits | |||
) |
Read the whole files in the file list.
fileList | List of files to read. | |
trackerLimits | Object with tracker limits. |
References EECFI::TrackerLimits::maxGap, EECFI::TrackerLimits::maxPenalty, EECFI::TrackerLimits::normThr, strId, strRec, and EECFI::CfiClass::throwWarn.
Star tracker Id (1,2 or 3).
Referenced by operator=(), and read().
std::vector<StarTracker> EECFI::StarTrackerFile::strRec |
Vector with the telemetry data.
Referenced by operator=(), and read().