OpenIndy-Core  0.2.0.43
oi::Reading Class Reference

The Reading class. More...

#include <reading.h>

Inheritance diagram for oi::Reading:
oi::Element

Public Member Functions

 Reading (const ReadingPolar &reading, QObject *parent=0)
 Reading::Reading. More...
 
 Reading (const ReadingCartesian &reading, QObject *parent=0)
 Reading::Reading. More...
 
 Reading (const ReadingDirection &reading, QObject *parent=0)
 Reading::Reading. More...
 
 Reading (const ReadingDistance &reading, QObject *parent=0)
 Reading::Reading. More...
 
 Reading (const ReadingTemperature &reading, QObject *parent=0)
 Reading::Reading. More...
 
 Reading (const ReadingLevel &reading, QObject *parent=0)
 Reading::Reading. More...
 
 Reading (const ReadingUndefined &reading, QObject *parent=0)
 Reading::Reading. More...
 
 Reading (const Reading &copy, QObject *parent=0)
 Reading::Reading. More...
 
Readingoperator= (const Reading &copy)
 Reading::operator =. More...
 
 ~Reading ()
 Reading::~Reading. More...
 
const ReadingTypesgetTypeOfReading () const
 Reading::getTypeOfReading. More...
 
const ReadingPolargetPolarReading () const
 Reading::getPolarReading. More...
 
const ReadingCartesiangetCartesianReading () const
 Reading::getCartesianReading. More...
 
const ReadingDirectiongetDirectionReading () const
 Reading::getDirectionReading. More...
 
const ReadingDistancegetDistanceReading () const
 Reading::getDistanceReading. More...
 
const ReadingTemperaturegetTemperatureReading () const
 Reading::getTemperatureReading. More...
 
const ReadingLevelgetLevelReading () const
 Reading::getLevelReading. More...
 
const ReadingUndefinedgetUndefinedReading () const
 Reading::getUndefinedReading. More...
 
void setPolarReading (const ReadingPolar &rPolar)
 Reading::setPolarReading. More...
 
void makeBackup ()
 Reading::makeBackup. More...
 
void restoreBackup ()
 Reading::restoreBackup. More...
 
const MeasurementConfiggetMeasurementConfig ()
 Reading::getMeasurementConfig. More...
 
void setMeasurementConfig (const MeasurementConfig &mConfig)
 Reading::setMeasurementConfig. More...
 
const QDateTime & getMeasuredAt () const
 Reading::getMeasuredAt. More...
 
void setMeasuredAt (const QDateTime &measuredAt)
 Reading::setMeasuredAt. More...
 
const SensorFacesgetFace () const
 Reading::getFace. More...
 
void setSensorFace (const SensorFaces &face)
 Reading::setSensorFace. More...
 
const QPointer< Sensor > & getSensor () const
 Reading::getSensor. More...
 
void setSensor (const QPointer< Sensor > &sensor)
 Reading::setSensor. More...
 
const QPointer< Observation > & getObservation () const
 Reading::getObservation. More...
 
void setObservation (const QPointer< Observation > &observation)
 Reading::setObservation. More...
 
QString getDisplayId () const
 Reading::getDisplayId. More...
 
QString getDisplayType () const
 Reading::getDisplayType. More...
 
QString getDisplayTime () const
 Reading::getDisplayTime. More...
 
QString getDisplaySensor () const
 Reading::getDisplaySensor. More...
 
QString getDisplayIsFrontside () const
 Reading::getDisplayIsFrontside. More...
 
QString getDisplayAzimuth (const UnitType &type, const int &digits) const
 Reading::getDisplayAzimuth. More...
 
QString getDisplayZenith (const UnitType &type, const int &digits) const
 Reading::getDisplayZenith. More...
 
QString getDisplayDistance (const UnitType &type, const int &digits) const
 Reading::getDisplayDistance. More...
 
QString getDisplayX (const UnitType &type, const int &digits) const
 Reading::getDisplayX. More...
 
QString getDisplayY (const UnitType &type, const int &digits) const
 Reading::getDisplayY. More...
 
QString getDisplayZ (const UnitType &type, const int &digits) const
 Reading::getDisplayZ. More...
 
QString getDisplayRX (const UnitType &type, const int &digits) const
 Reading::getDisplayRX. More...
 
QString getDisplayRY (const UnitType &type, const int &digits) const
 Reading::getDisplayRY. More...
 
QString getDisplayRZ (const UnitType &type, const int &digits) const
 Reading::getDisplayRZ. More...
 
QString getDisplayTemperature (const UnitType &type, const int &digits) const
 Reading::getDisplayTemperature. More...
 
QString getDisplaySigmaAzimuth (const UnitType &type, const int &digits) const
 Reading::getDisplaySigmaAzimuth. More...
 
QString getDisplaySigmaZenith (const UnitType &type, const int &digits) const
 Reading::getDisplaySigmaZenith. More...
 
QString getDisplaySigmaDistance (const UnitType &type, const int &digits) const
 Reading::getDisplaySigmaDistance. More...
 
QString getDisplaySigmaX (const UnitType &type, const int &digits) const
 Reading::getDisplaySigmaX. More...
 
QString getDisplaySigmaY (const UnitType &type, const int &digits) const
 Reading::getDisplaySigmaY. More...
 
QString getDisplaySigmaZ (const UnitType &type, const int &digits) const
 Reading::getDisplaySigmaZ. More...
 
QString getDisplaySigmaRX (const UnitType &type, const int &digits) const
 Reading::getDisplaySigmaRX. More...
 
QString getDisplaySigmaRY (const UnitType &type, const int &digits) const
 Reading::getDisplaySigmaRY. More...
 
QString getDisplaySigmaRZ (const UnitType &type, const int &digits) const
 Reading::getDisplaySigmaRZ. More...
 
QString getDisplaySigmaTemperature (const UnitType &type, const int &digits) const
 Reading::getDisplaySigmaTemperature. More...
 
QDomElement toOpenIndyXML (QDomDocument &xmlDoc) const
 Reading::toOpenIndyXML. More...
 
bool fromOpenIndyXML (QDomElement &xmlElem)
 Reading::fromOpenIndyXML. More...
 
- Public Member Functions inherited from oi::Element
 Element (QObject *parent=0)
 
 Element (const Element &copy, QObject *parent=0)
 
Elementoperator= (const Element &copy)
 
virtual ~Element ()
 
int getId () const
 Element::getId. More...
 

Static Public Member Functions

static OiVec toCartesian (const double &azimuth, const double &zenith, const double &distance)
 Reading::toCartesian Returns a vector containing the cartesian coordinates corresponding to the given polar elements. More...
 
static OiVec toPolar (const double &x, const double &y, const double &z)
 Reading::toPolar Returns a vector containing the polar elements (azimuth, zenith, distance) corresponding to the given cartesian coordinates. More...
 

Friends

class Station
 
class CoordinateSystem
 
class Observation
 
class ProjectExchanger
 

Additional Inherited Members

- Signals inherited from oi::Element
void elementAboutToBeDeleted (const int &elementId, const QString &name, const QString &group, const FeatureTypes &type)
 
- Protected Attributes inherited from oi::Element
int id
 

Detailed Description

The Reading class.

Constructor & Destructor Documentation

Reading::Reading ( const ReadingPolar reading,
QObject *  parent = 0 
)
explicit

Reading::Reading.

Parameters
reading
parent
Reading::Reading ( const ReadingCartesian reading,
QObject *  parent = 0 
)
explicit

Reading::Reading.

Parameters
reading
parent
Reading::Reading ( const ReadingDirection reading,
QObject *  parent = 0 
)
explicit

Reading::Reading.

Parameters
reading
parent
Reading::Reading ( const ReadingDistance reading,
QObject *  parent = 0 
)
explicit

Reading::Reading.

Parameters
reading
parent
Reading::Reading ( const ReadingTemperature reading,
QObject *  parent = 0 
)
explicit

Reading::Reading.

Parameters
reading
parent
Reading::Reading ( const ReadingLevel reading,
QObject *  parent = 0 
)
explicit

Reading::Reading.

Parameters
reading
parent
Reading::Reading ( const ReadingUndefined reading,
QObject *  parent = 0 
)
explicit

Reading::Reading.

Parameters
reading
parent
Reading::Reading ( const Reading copy,
QObject *  parent = 0 
)

Reading::Reading.

Parameters
copy
parent
Reading::~Reading ( )

Member Function Documentation

bool Reading::fromOpenIndyXML ( QDomElement &  xmlElem)
virtual

Reading::fromOpenIndyXML.

Parameters
xmlElem
Returns

Reimplemented from oi::Element.

const ReadingCartesian & Reading::getCartesianReading ( ) const
const ReadingDirection & Reading::getDirectionReading ( ) const
QString Reading::getDisplayAzimuth ( const UnitType type,
const int &  digits 
) const

Reading::getDisplayAzimuth.

Parameters
type
digits
Returns
QString Reading::getDisplayDistance ( const UnitType type,
const int &  digits 
) const

Reading::getDisplayDistance.

Parameters
type
digits
Returns
QString Reading::getDisplayId ( ) const
QString Reading::getDisplayIsFrontside ( ) const
QString Reading::getDisplayRX ( const UnitType type,
const int &  digits 
) const

Reading::getDisplayRX.

Parameters
type
digits
Returns
QString Reading::getDisplayRY ( const UnitType type,
const int &  digits 
) const

Reading::getDisplayRY.

Parameters
type
digits
Returns
QString Reading::getDisplayRZ ( const UnitType type,
const int &  digits 
) const

Reading::getDisplayRZ.

Parameters
type
digits
Returns
QString Reading::getDisplaySensor ( ) const
QString Reading::getDisplaySigmaAzimuth ( const UnitType type,
const int &  digits 
) const

Reading::getDisplaySigmaAzimuth.

Parameters
type
digits
Returns
QString Reading::getDisplaySigmaDistance ( const UnitType type,
const int &  digits 
) const

Reading::getDisplaySigmaDistance.

Parameters
type
digits
Returns
QString Reading::getDisplaySigmaRX ( const UnitType type,
const int &  digits 
) const

Reading::getDisplaySigmaRX.

Parameters
type
digits
Returns
QString Reading::getDisplaySigmaRY ( const UnitType type,
const int &  digits 
) const

Reading::getDisplaySigmaRY.

Parameters
type
digits
Returns
QString Reading::getDisplaySigmaRZ ( const UnitType type,
const int &  digits 
) const

Reading::getDisplaySigmaRZ.

Parameters
type
digits
Returns
QString Reading::getDisplaySigmaTemperature ( const UnitType type,
const int &  digits 
) const

Reading::getDisplaySigmaTemperature.

Parameters
type
digits
Returns
QString Reading::getDisplaySigmaX ( const UnitType type,
const int &  digits 
) const

Reading::getDisplaySigmaX.

Parameters
type
digits
Returns
QString Reading::getDisplaySigmaY ( const UnitType type,
const int &  digits 
) const

Reading::getDisplaySigmaY.

Parameters
type
digits
Returns
QString Reading::getDisplaySigmaZ ( const UnitType type,
const int &  digits 
) const

Reading::getDisplaySigmaZ.

Parameters
type
digits
Returns
QString Reading::getDisplaySigmaZenith ( const UnitType type,
const int &  digits 
) const

Reading::getDisplaySigmaZenith.

Parameters
type
digits
Returns
QString Reading::getDisplayTemperature ( const UnitType type,
const int &  digits 
) const

Reading::getDisplayTemperature.

Parameters
type
digits
Returns
QString Reading::getDisplayTime ( ) const
QString Reading::getDisplayType ( ) const
QString Reading::getDisplayX ( const UnitType type,
const int &  digits 
) const

Reading::getDisplayX.

Parameters
type
digits
Returns
QString Reading::getDisplayY ( const UnitType type,
const int &  digits 
) const

Reading::getDisplayY.

Parameters
type
digits
Returns
QString Reading::getDisplayZ ( const UnitType type,
const int &  digits 
) const

Reading::getDisplayZ.

Parameters
type
digits
Returns
QString Reading::getDisplayZenith ( const UnitType type,
const int &  digits 
) const

Reading::getDisplayZenith.

Parameters
type
digits
Returns
const ReadingDistance & Reading::getDistanceReading ( ) const
const SensorFaces & Reading::getFace ( ) const

Reading::getFace.

Returns
const ReadingLevel & Reading::getLevelReading ( ) const
const QDateTime & Reading::getMeasuredAt ( ) const
const MeasurementConfig & Reading::getMeasurementConfig ( )
const QPointer< Observation > & Reading::getObservation ( ) const
const ReadingPolar & Reading::getPolarReading ( ) const
const QPointer< Sensor > & Reading::getSensor ( ) const
const ReadingTemperature & Reading::getTemperatureReading ( ) const
const ReadingTypes & Reading::getTypeOfReading ( ) const
const ReadingUndefined & Reading::getUndefinedReading ( ) const
void Reading::makeBackup ( )
Reading & Reading::operator= ( const Reading copy)

Reading::operator =.

Parameters
copy
Returns
void Reading::restoreBackup ( )
void Reading::setMeasuredAt ( const QDateTime &  measuredAt)

Reading::setMeasuredAt.

Parameters
measuredAt
void Reading::setMeasurementConfig ( const MeasurementConfig mConfig)

Reading::setMeasurementConfig.

Parameters
mConfig
void Reading::setObservation ( const QPointer< Observation > &  observation)

Reading::setObservation.

Parameters
observation
void Reading::setPolarReading ( const ReadingPolar rPolar)

Reading::setPolarReading.

Parameters
rPolar
void Reading::setSensor ( const QPointer< Sensor > &  sensor)

Reading::setSensor.

Parameters
sensor
void Reading::setSensorFace ( const SensorFaces face)

Reading::setSensorFace.

Parameters
face
OiVec Reading::toCartesian ( const double &  azimuth,
const double &  zenith,
const double &  distance 
)
static

Reading::toCartesian Returns a vector containing the cartesian coordinates corresponding to the given polar elements.

Parameters
azimuth
zenith
distance
Returns
QDomElement Reading::toOpenIndyXML ( QDomDocument &  xmlDoc) const
virtual

Reading::toOpenIndyXML.

Parameters
xmlDoc
Returns

Reimplemented from oi::Element.

OiVec Reading::toPolar ( const double &  x,
const double &  y,
const double &  z 
)
static

Reading::toPolar Returns a vector containing the polar elements (azimuth, zenith, distance) corresponding to the given cartesian coordinates.

Parameters
x
y
z
Returns

Friends And Related Function Documentation

friend class CoordinateSystem
friend
friend class Observation
friend
friend class ProjectExchanger
friend
friend class Station
friend

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