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

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

Inheritance diagram for EoOrbAttAdapter.AdpDefaultParser:
EoOrbAttAdapter.AdpParser EoOrbAttAdapter.AdpDfdl4sParser

Public Member Functions

AdpParserConfiguration getParserConfiguration ()
 Get the parser configuration. More...
 
void setParserConfiguration (AdpParserConfiguration inParserConfiguration)
 Set the configuration for the parser. More...
 
abstract void parse (String dataFile) throws EoAdapterError
 Parse the data file filling the OrbitData and Attitude data objects. More...
 
abstract void parse (byte[] dataArr) throws EoAdapterError
 Parse the byte array 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...
 

Protected Member Functions

void setMainConfiguration (AdpMainConfiguration inMainConfiguration)
 Set the main configuration (as it could be needed by the parser). More...
 

Detailed Description

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

This class implements the AdpParser interface. Any class inheriting from this one will have to override that interface with methods to read the input data file.

Member Function Documentation

◆ disableAttitudeParser()

void EoOrbAttAdapter.AdpDefaultParser.disableAttitudeParser ( )

disable the attitude parser

Implements EoOrbAttAdapter.AdpParser.

Referenced by EoOrbAttAdapter.EoOrbAttAdapter.setParser().

◆ disableOrbitParser()

void EoOrbAttAdapter.AdpDefaultParser.disableOrbitParser ( )

disable the orbit parser

Implements EoOrbAttAdapter.AdpParser.

Referenced by EoOrbAttAdapter.EoOrbAttAdapter.setParser().

◆ enableAttitudeParser()

void EoOrbAttAdapter.AdpDefaultParser.enableAttitudeParser ( )

Enable the attitude parser.

Implements EoOrbAttAdapter.AdpParser.

Referenced by EoOrbAttAdapter.EoOrbAttAdapter.setParser().

◆ enableOrbitParser()

void EoOrbAttAdapter.AdpDefaultParser.enableOrbitParser ( )

Enable the orbit parser.

Implements EoOrbAttAdapter.AdpParser.

Referenced by EoOrbAttAdapter.EoOrbAttAdapter.setParser().

◆ getAttitudeData()

AttFile EoOrbAttAdapter.AdpDefaultParser.getAttitudeData ( )

Get the AttitudeFile object containing the parsed attitude data.

Returns
attitude parsed data

Implements EoOrbAttAdapter.AdpParser.

Referenced by EoOrbAttAdapter.EoOrbAttAdapter.addParsedVectors().

◆ getNofItems()

long EoOrbAttAdapter.AdpDefaultParser.getNofItems ( )

Get the the number of items in the data file.

Returns
number of items in the data file

Implements EoOrbAttAdapter.AdpParser.

Referenced by EoOrbAttAdapter.EoOrbAttAdapter.getNofItems().

◆ getNofProcessedItems()

long EoOrbAttAdapter.AdpDefaultParser.getNofProcessedItems ( )

Get the number of processed items from the data file.

Returns
number of processed items from the data file

Implements EoOrbAttAdapter.AdpParser.

Referenced by EoOrbAttAdapter.EoOrbAttAdapter.getNofProcessedItems().

◆ getOrbitData()

OrbitFile EoOrbAttAdapter.AdpDefaultParser.getOrbitData ( )

Get the OrbitFile object containing the parsed orbit data.

Returns
orbit parsed data

Implements EoOrbAttAdapter.AdpParser.

Referenced by EoOrbAttAdapter.EoOrbAttAdapter.addParsedVectors().

◆ getParserConfiguration()

AdpParserConfiguration EoOrbAttAdapter.AdpDefaultParser.getParserConfiguration ( )

Get the parser configuration.

Returns
AdpParserConfiguration parser configuration instance

Referenced by EoOrbAttAdapter.EoOrbAttAdapter.setParser().

◆ parse() [1/2]

abstract void EoOrbAttAdapter.AdpDefaultParser.parse ( String  dataFile) throws EoAdapterError
abstract

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

Parameters
dataFileInput data file

Implements EoOrbAttAdapter.AdpParser.

Referenced by EoOrbAttAdapter.AdpDefaultParser.setMainConfiguration(), and EoOrbAttAdapter.EoOrbAttAdapter.setParser().

◆ parse() [2/2]

abstract void EoOrbAttAdapter.AdpDefaultParser.parse ( byte []  dataArr) throws EoAdapterError
abstract

Parse the byte array filling the OrbitData and Attitude data objects.

Parameters
dataArrInput byte array data

Implements EoOrbAttAdapter.AdpParser.

◆ setMainConfiguration()

void EoOrbAttAdapter.AdpDefaultParser.setMainConfiguration ( AdpMainConfiguration  inMainConfiguration)
protected

Set the main configuration (as it could be needed by the parser).

Parameters
inMainConfigurationmain configuration instance

References EoOrbAttAdapter.AdpDefaultParser.parse().

Referenced by EoOrbAttAdapter.EoOrbAttAdapter.setParser().

◆ setParserConfiguration()

void EoOrbAttAdapter.AdpDefaultParser.setParserConfiguration ( AdpParserConfiguration  inParserConfiguration)

Set the configuration for the parser.

Parameters
inParserConfigurationparser configuration instance

Referenced by EoOrbAttAdapter.EoOrbAttAdapter.setParser().


Generated on Tue Dec 1 2020 11:44:33 for by doxygen 1.8.13