| Earth Observation Mission CFI Software DataHandling Software User Manual |

Public Member Functions | Public Attributes

# EECFI::StarTrackerFile Class Reference

Class for reading star tracker files. More...

Inheritance diagram for EECFI::StarTrackerFile:

List of all members.

## Public Member Functions
| StarTrackerFile ()
| Empty constructor.
| StarTrackerFile (const string fileNam)
| Constructor with file name.
| ~StarTrackerFile ()
| Destructor.
void | read (vector< string > &fileList, TrackerLimits &trackerLimits) throw (CfiError)
| Read the whole files in the file list.
void | read (vector< string > &fileList, TrackerLimits &trackerLimits, const double time0, const double time1) throw (CfiError)
| Read files data in the selected time window.
## Public Attributes
long | strId
| Star tracker Id (1,2 or 3).
vector< StarTracker > | strRec
| Vector with the telemetry data.

## Detailed Description

Class for reading star tracker files.

## Constructor & Destructor Documentation

EECFI::StarTrackerFile::StarTrackerFile | ( |  | ) |

Empty constructor.

References EECFI::EEFile::fileType.

EECFI::StarTrackerFile::StarTrackerFile | ( | const string | fileNam | ) |

Constructor with file name.

EECFI::StarTrackerFile::~StarTrackerFile | ( |  | ) |

Destructor.

References EECFI::EEFile::fixedHeader, and strRec.

## Member Function Documentation

void EECFI::StarTrackerFile::read | ( | vector< string > & | fileList,
|  | TrackerLimits & | trackerLimits |
| ) |  |  | throw (CfiError)

Read the whole files in the file list.

Parameters:

  | fileList | List of files to read.
  | trackerLimits | Object with tracker limits.

void EECFI::StarTrackerFile::read | ( | vector< string > & | fileList,
|  | TrackerLimits & | trackerLimits,
|  | const double | time0,
|  | const double | time1 |
| ) |  |  | throw (CfiError)

Read files data in the selected time window.

Parameters:

  | 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.

## Member Data Documentation

long EECFI::StarTrackerFile::strId

Star tracker Id (1,2 or 3).

vector<StarTracker> EECFI::StarTrackerFile::strRec

Vector with the telemetry data.

Referenced by ~StarTrackerFile().