DEIMOS
Earth Observation Mission CFI Software
DataHandling Software User Manual
ESA

EECFI::AttFile Class Reference

Class for reading/writing attitude generic files. More...

Inheritance diagram for EECFI::AttFile:
EECFI::EEFile EECFI::CfiClass

List of all members.

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

Detailed Description

Class for reading/writing attitude generic files.


Constructor & Destructor Documentation

EECFI::AttFile::AttFile (  ) 

Empty constructor.

References EECFI::EEFile::fileType.

EECFI::AttFile::AttFile ( const string  fileNam  ) 

Constructor with file name.

Parameters:
fileNam Name of the file.
EECFI::AttFile::~AttFile (  ) 

Destructor.

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


Member Function Documentation

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.

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

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

Member Data Documentation

Vector of attitude data.

Referenced by read(), and ~AttFile().

Angles or quaternions (AttitudeDataTypeEnum).

Referenced by read().

Maximum time gap between two consecutive records.

Referenced by read().

Target reference frame.

Referenced by read().

Initial reference frame: inertial reference frame.

Referenced by read().


Generated on Thu Jul 15 2010 10:10:40 for by doxygen 1.7.1