NorMIT-nav  18.04-rc6
An IGT application
ProbeXmlConfigParser Class Referenceabstract

Class that works as a interface to a ProbeCalibConfigs.xml. More...

#include <ProbeXmlConfigParser.h>

Inheritance diagram for ProbeXmlConfigParser:
ProbeXmlConfigParserImpl ProbeXmlConfigParserMock

Classes

struct  Configuration
 < a easy-to-work-with struct for a specific xml configuration More...
 

Public Types

typedef std::pair< double, double > ColRowPair
 

Public Member Functions

virtual QString getFileName ()=0
 
virtual void removeConfig (QString scanner, QString probe, QString rtsource, QString configId)=0
 
virtual void saveCurrentConfig (Configuration config)=0
 
virtual QStringList getScannerList ()=0
 get a list of all scanner in the xml More...
 
virtual QStringList getProbeList (QString scanner)=0
 get a list of all probes for that scanner More...
 
virtual QStringList getRtSourceList (QString scanner, QString probe)=0
 get a list of rt sources for that scanner/probe combo More...
 
virtual QStringList getConfigIdList (QString scanner, QString probe, QString rtSource)=0
 get a list of config ids for that scanner/probe/rsource combo More...
 
virtual Configuration getConfiguration (QString scanner, QString probe, QString rtsource, QString configId)=0
 get a easy-to-work-with struct of a specific config More...
 

Detailed Description

Class that works as a interface to a ProbeCalibConfigs.xml.

Date
11. mai 2010
Author
jbake
Ole Vegard Solberg, SINTEF

Definition at line 31 of file ProbeXmlConfigParser.h.

Member Typedef Documentation

typedef std::pair<double,double> ProbeXmlConfigParser::ColRowPair

Definition at line 34 of file ProbeXmlConfigParser.h.

Member Function Documentation

virtual QStringList ProbeXmlConfigParser::getConfigIdList ( QString  scanner,
QString  probe,
QString  rtSource 
)
pure virtual

get a list of config ids for that scanner/probe/rsource combo

Implemented in ProbeXmlConfigParserMock, and ProbeXmlConfigParserImpl.

virtual Configuration ProbeXmlConfigParser::getConfiguration ( QString  scanner,
QString  probe,
QString  rtsource,
QString  configId 
)
pure virtual

get a easy-to-work-with struct of a specific config

Implemented in ProbeXmlConfigParserMock, and ProbeXmlConfigParserImpl.

virtual QString ProbeXmlConfigParser::getFileName ( )
pure virtual
virtual QStringList ProbeXmlConfigParser::getProbeList ( QString  scanner)
pure virtual

get a list of all probes for that scanner

Implemented in ProbeXmlConfigParserMock, and ProbeXmlConfigParserImpl.

virtual QStringList ProbeXmlConfigParser::getRtSourceList ( QString  scanner,
QString  probe 
)
pure virtual

get a list of rt sources for that scanner/probe combo

Implemented in ProbeXmlConfigParserMock, and ProbeXmlConfigParserImpl.

virtual QStringList ProbeXmlConfigParser::getScannerList ( )
pure virtual

get a list of all scanner in the xml

Implemented in ProbeXmlConfigParserMock, and ProbeXmlConfigParserImpl.

virtual void ProbeXmlConfigParser::removeConfig ( QString  scanner,
QString  probe,
QString  rtsource,
QString  configId 
)
pure virtual
virtual void ProbeXmlConfigParser::saveCurrentConfig ( Configuration  config)
pure virtual

The documentation for this class was generated from the following file: