DEIMOS
Earth Observation Software
Orbit and Attitude Adapater Tool
ESA
Public Member Functions | Friends | List of all members
AdpDefaultParser Class Referenceabstract

Abstract class for the Parser to be used in the EoOrbAttAdapter. More...

Public Member Functions

AdpParserConfigurationgetParserConfiguration () const
 Get the parser configuration. More...
 
void setParserConfiguration (AdpParserConfiguration *inParserConfiguration)
 Set the configuration for the parser. More...
 
virtual void parse (string dataFile)=0 throw (EoAdapterError)
 Parse the data file filling the OrbitData and Attitude data objects. More...
 
virtual void parse (const void *data)=0 throw (EoAdapterError)
 Parse the input data filling the OrbitData and Attitude data objects. More...
 
long getNofItems ()
 Get the the number of items in the data file. More...
 
long getNofProcessedItems ()
 Get the number of processed items from the data file. More...
 
OrbitFile getOrbitData ()
 Get the OrbitFile object containing the parsed orbit data. More...
 
AttFile getAttitudeData ()
 Get the AttitudeFile object containing the parsed attitude data. More...
 
void disableOrbitParser ()
 disable the orbit parser More...
 
void enableOrbitParser ()
 Enable the orbit parser. More...
 
void disableAttitudeParser ()
 disable the attitude parser More...
 
void enableAttitudeParser ()
 Enable the attitude parser. More...
 

Friends

class EoOrbAttAdapter
 

Detailed Description

Abstract class for the Parser to be used in the EoOrbAttAdapter.

This calss implements the interface required to parser the user files to CFI orbit/attitude files. Any class inheriting from this one will have to override the virtual methods to parse the input data file.

Member Function Documentation

◆ disableAttitudeParser()

void AdpDefaultParser::disableAttitudeParser ( )
inline

disable the attitude parser

◆ disableOrbitParser()

void AdpDefaultParser::disableOrbitParser ( )
inline

disable the orbit parser

◆ enableAttitudeParser()

void AdpDefaultParser::enableAttitudeParser ( )
inline

Enable the attitude parser.

References EoOrbAttAdapter::setMainConfiguration().

◆ enableOrbitParser()

void AdpDefaultParser::enableOrbitParser ( )
inline

Enable the orbit parser.

◆ getAttitudeData()

AttFile AdpDefaultParser::getAttitudeData ( )
inline

Get the AttitudeFile object containing the parsed attitude data.

Returns
attitude parsed data

◆ getNofItems()

long AdpDefaultParser::getNofItems ( )
inline

Get the the number of items in the data file.

Returns
number of items in the data file

◆ getNofProcessedItems()

long AdpDefaultParser::getNofProcessedItems ( )
inline

Get the number of processed items from the data file.

Returns
number of processed items from the data file

◆ getOrbitData()

OrbitFile AdpDefaultParser::getOrbitData ( )
inline

Get the OrbitFile object containing the parsed orbit data.

Returns
orbit parsed data

◆ getParserConfiguration()

AdpParserConfiguration* AdpDefaultParser::getParserConfiguration ( ) const
inline

Get the parser configuration.

Returns
AdpParserConfiguration pointer to the parser configuration instance

◆ parse() [1/2]

virtual void AdpDefaultParser::parse ( string  dataFile)
throw (EoAdapterError
)
pure virtual

Parse the data file filling the OrbitData and Attitude data objects.

Parameters
dataFileInput data file

◆ parse() [2/2]

virtual void AdpDefaultParser::parse ( const void *  data)
throw (EoAdapterError
)
pure virtual

Parse the input data filling the OrbitData and Attitude data objects.

Parameters
datageneric data

◆ setParserConfiguration()

void AdpDefaultParser::setParserConfiguration ( AdpParserConfiguration inParserConfiguration)
inline

Set the configuration for the parser.

Parameters
inParserConfigurationpointer to the parser configuration

References AdpParserConfiguration::clone(), and EoOrbAttAdapter::parse().


Generated on Tue Nov 28 2023 19:29:12 for by doxygen 1.8.13