![]() |
Earth Observation Mission CFI Software DataHandling Software User Manual |
![]() |
Class for reading/writing attitude generic files. More...
Public Member Functions | |
AttFile () | |
Empty constructor. | |
AttFile (const string fileNam) | |
Constructor with file name. | |
~AttFile () | |
Destructor. | |
void | read () throw (CfiError) |
Read the whole data block and store it in object. | |
void | write (FixedHeader &fixedHead, vector< AttRec > &attRecords, const long srcRef, const long datTyp, const double maximumGap, const long satReference) throw (CfiError) |
Write attitude file with name given in constructor. | |
void | write (string fileNam, FixedHeader &fixedHead, vector< AttRec > &attRecords, const long srcRef, const long datTyp, const double maximumGap, const long satReference) throw (CfiError) |
Write attitude file with a new name. | |
Public Attributes | |
vector< AttRec > | attRec |
Vector of attitude data. | |
long | sourceRef |
Initial reference frame: inertial reference frame. | |
long | dataType |
Angles or quaternions (AttitudeDataTypeEnum). | |
double | maxGap |
Maximum time gap between two consecutive records. | |
long | satRef |
Target reference frame. |
Class for reading/writing attitude generic files.
EECFI::AttFile::AttFile | ( | ) |
Empty constructor.
References EECFI::EEFile::fileType.
EECFI::AttFile::AttFile | ( | const string | fileNam | ) |
Constructor with file name.
fileNam | Name of the file. |
EECFI::AttFile::~AttFile | ( | ) |
Destructor.
References attRec, and EECFI::EEFile::fixedHeader.
void EECFI::AttFile::read | ( | ) | throw (CfiError) |
Read the whole data block and store it in object.
References attRec, dataType, EECFI::EEFile::fileName, maxGap, satRef, sourceRef, and EECFI::CfiClass::throwWarn.
void EECFI::AttFile::write | ( | string | fileNam, | |
FixedHeader & | fixedHead, | |||
vector< AttRec > & | attRecords, | |||
const long | srcRef, | |||
const long | datTyp, | |||
const double | maximumGap, | |||
const long | satReference | |||
) | throw (CfiError) |
Write attitude file with a new name.
fileNam | New file name. | |
fixedHead | Values of the fixed header. | |
attRecords | Vector of attitude data. | |
srcRef | Initial reference frame. | |
datTyp | Angles of quaternions (AttitudeDataTypeEnum). | |
maximumGap | Maximum time gap between two cosecutive records. | |
satReference | Target reference frame. |
void EECFI::AttFile::write | ( | FixedHeader & | fixedHead, | |
vector< AttRec > & | attRecords, | |||
const long | srcRef, | |||
const long | datTyp, | |||
const double | maximumGap, | |||
const long | satReference | |||
) | throw (CfiError) |
Write attitude file with name given in constructor.
fixedHead | Values of the fixed header. | |
attRecords | Vector of attitude data. | |
srcRef | Initial reference frame. | |
datTyp | Angles of quaternions (AttitudeDataTypeEnum). | |
maximumGap | Maximum time gap between two cosecutive records. | |
satReference | Target reference frame. |
vector<AttRec> EECFI::AttFile::attRec |
Vector of attitude data.
Referenced by read(), and ~AttFile().
Angles or quaternions (AttitudeDataTypeEnum).
Referenced by read().
double EECFI::AttFile::maxGap |
Maximum time gap between two consecutive records.
Referenced by read().
Initial reference frame: inertial reference frame.
Referenced by read().