OpenIndy-Core  0.2.0.43
oi::Station Class Reference

The Station class. More...

#include <station.h>

Inheritance diagram for oi::Station:
oi::Feature oi::Element

Signals

void activeStationChanged (const int &stationId)
 
void sensorChanged (const int &featureId)
 
void connectSensor ()
 
void disconnectSensor ()
 
void measure (const int &geomId, const MeasurementConfig &mConfig)
 
void setStreamFormat (ReadingTypes streamFormat)
 
void move (const double &azimuth, const double &zenith, const double &distance, const bool &isRelative, const bool &measure, const int &geomId=-1, const MeasurementConfig &mConfig=MeasurementConfig())
 
void move (const double &x, const double &y, const double &z, const bool &measure, const int &geomId=-1, const MeasurementConfig &mConfig=MeasurementConfig())
 
void initialize ()
 
void motorState ()
 
void home ()
 
void toggleSight ()
 
void compensation ()
 
void selfDefinedAction (const QString &action)
 
void commandFinished (const bool &success, const QString &msg)
 
void measurementFinished (const int &geomId, const QList< QPointer< Reading > > &readings)
 
- Signals inherited from oi::Feature
void featureNameChanged (const int &featureId, const QString &oldName)
 
void featureGroupChanged (const int &featureId, const QString &oldGroup)
 
void featureCommentChanged (const int &featureId)
 
void featureIsUpdatedChanged (const int &featureId)
 
void featureIsSolvedChanged (const int &featureId)
 
void featureFunctionListChanged (const int &featureId)
 
void featureUsedForChanged (const int &featureId)
 
void featurePreviouslyNeededChanged (const int &featureId)
 
void featureIsActiveChanged (const int &featureId)
 
- Signals inherited from oi::Element
void elementAboutToBeDeleted (const int &elementId, const QString &name, const QString &group, const FeatureTypes &type)
 

Public Member Functions

 Station (QObject *parent=0)
 Station::Station. More...
 
 Station (const QString &name, QObject *parent=0)
 Station::Station. More...
 
 Station (const Station &copy, QObject *parent=0)
 Station::Station. More...
 
Stationoperator= (const Station &copy)
 Station::operator =. More...
 
 ~Station ()
 Station::~Station. More...
 
const bool & getIsActiveStation () const
 Station::getIsActiveStation. More...
 
void setActiveStationState (const bool &isActiveStation)
 Station::setActiveStationState. More...
 
const QPointer< Point > & getPosition () const
 Station::getPosition. More...
 
const QPointer< CoordinateSystem > & getCoordinateSystem () const
 Station::getCoordinateSystem. More...
 
bool getIsSensorSet ()
 Station::getIsSensorSet. More...
 
bool getIsSensorConnected ()
 Station::getIsSensorConnected. More...
 
bool getIsReadyForMeasurement ()
 Station::getIsReadyForMeasurement. More...
 
bool getIsBusy ()
 Station::getIsBusy. More...
 
QMap< QString, QString > getSensorStatus ()
 Station::getSensorStatus. More...
 
SensorConfiguration getSensorConfiguration ()
 Station::getSensorConfiguration. More...
 
void setSensorConfiguration (const SensorConfiguration &sConfig)
 Station::setSensorConfiguration. More...
 
void setSensor (const QPointer< Sensor > &sensor)
 Station::setSensor. More...
 
void resetSensor ()
 Station::resetSensor. More...
 
const QPointer< SensorListenergetSensorListener () const
 Station::getSensorListener. More...
 
SensorTypes getActiveSensorType () const
 Station::getActiveSensorType. More...
 
QList< ReadingTypesgetSupportedReadingTypes () const
 Station::getSupportedReadingTypes. More...
 
QList< ConnectionTypesgetSupportedConnectionTypes () const
 Station::getSupportedConnectionTypes. More...
 
QList< SensorFunctionsgetSupportedSensorActions () const
 Station::getSupportedSensorActions. More...
 
QStringList getSelfDefinedActions () const
 Station::getSelfDefinedActions. More...
 
void recalc ()
 Station::recalc. More...
 
QDomElement toOpenIndyXML (QDomDocument &xmlDoc)
 Station::toOpenIndyXML. More...
 
bool fromOpenIndyXML (QDomElement &xmlElem)
 Station::fromOpenIndyXML. More...
 
QString getDisplayX (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Station::getDisplayX. More...
 
QString getDisplayY (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Station::getDisplayY. More...
 
QString getDisplayZ (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Station::getDisplayZ. More...
 
- Public Member Functions inherited from oi::Feature
 Feature (QObject *parent=0)
 Feature::Feature. More...
 
 Feature (const Feature &copy, QObject *parent=0)
 Feature::Feature. More...
 
Featureoperator= (const Feature &copy)
 Feature::operator =. More...
 
virtual ~Feature ()
 Feature::~Feature. More...
 
const QPointer< FeatureWrapper > & getFeatureWrapper () const
 Feature::getFeatureWrapper. More...
 
const QString & getFeatureName () const
 Feature::getFeatureName. More...
 
void setFeatureName (const QString &name)
 Feature::setFeatureName. More...
 
const QString & getGroupName () const
 Feature::getGroupName. More...
 
void setGroupName (const QString &group)
 Feature::setGroupName. More...
 
const QString & getComment () const
 Feature::getComment. More...
 
void setComment (const QString &comment)
 Feature::setComment. More...
 
const bool & getIsUpdated () const
 Feature::getIsUpdated. More...
 
void setIsUpdated (const bool &isUpdated)
 Feature::setIsUpdated. More...
 
const bool & getIsSolved () const
 Feature::getIsSolved. More...
 
void setIsSolved (const bool &isSolved)
 Feature::setIsSolved. More...
 
const QList< QPointer< Function > > & getFunctions () const
 Feature::getFunctions. More...
 
void addFunction (const QPointer< Function > &function)
 Feature::addFunction. More...
 
void removeFunction (const int &index)
 Feature::removeFunction. More...
 
const bool & getIsActiveFeature () const
 Feature::getIsActiveFeature. More...
 
void setActiveFeatureState (const bool &isActiveFeature)
 Feature::setActiveFeatureState. More...
 
const QList< QPointer< FeatureWrapper > > & getUsedFor () const
 Feature::getUsedFor. More...
 
bool addUsedFor (const QPointer< FeatureWrapper > &feature)
 Feature::addUsedFor. More...
 
bool removeUsedFor (const QPointer< FeatureWrapper > &feature)
 Feature::removeUsedFor. More...
 
const QList< QPointer< FeatureWrapper > > & getPreviouslyNeeded () const
 Feature::getPreviouslyNeeded. More...
 
bool addPreviouslyNeeded (const QPointer< FeatureWrapper > &feature)
 Feature::addPreviouslyNeeded. More...
 
bool removePreviouslyNeeded (const QPointer< FeatureWrapper > &feature)
 Feature::removePreviouslyNeeded. More...
 
virtual QDomElement toOpenIndyXML (QDomDocument &xmlDoc) const
 Feature::toOpenIndyXML. More...
 
virtual QString getDisplayType () const
 Feature::getDisplayType. More...
 
virtual QString getDisplayIsSolved () const
 Feature::getDisplayIsSolved. More...
 
virtual QString getDisplayIsUpdated () const
 Feature::getDisplayIsUpdated. More...
 
virtual QString getDisplayFunctions () const
 Feature::getDisplayFunctions. More...
 
virtual QString getDisplayUsedFor () const
 Feature::getDisplayUsedFor. More...
 
virtual QString getDisplayPreviouslyNeeded () const
 Feature::getDisplayPreviouslyNeeded. More...
 
virtual QString getDisplayStDev (const UnitType &type, const int &digits) const
 Feature::getDisplayStDev. More...
 
virtual QString getDisplayMeasurementConfig () const
 Feature::getDisplayMeasurementConfig. More...
 
virtual QString getDisplayObservations () const
 Feature::getDisplayObservations. More...
 
virtual QString getDisplayPrimaryI (const int &digits, const bool &showDiff=false) const
 Feature::getDisplayPrimaryI. More...
 
virtual QString getDisplayPrimaryJ (const int &digits, const bool &showDiff=false) const
 Feature::getDisplayPrimaryJ. More...
 
virtual QString getDisplayPrimaryK (const int &digits, const bool &showDiff=false) const
 Feature::getDisplayPrimaryK. More...
 
virtual QString getDisplayRadiusA (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayRadiusA. More...
 
virtual QString getDisplayRadiusB (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayRadiusB. More...
 
virtual QString getDisplaySecondaryI (const int &digits, const bool &showDiff=false) const
 Feature::getDisplaySecondaryI. More...
 
virtual QString getDisplaySecondaryJ (const int &digits, const bool &showDiff=false) const
 Feature::getDisplaySecondaryJ. More...
 
virtual QString getDisplaySecondaryK (const int &digits, const bool &showDiff=false) const
 Feature::getDisplaySecondaryK. More...
 
virtual QString getDisplayAperture (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayAperture. More...
 
virtual QString getDisplayA (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayA. More...
 
virtual QString getDisplayB (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayB. More...
 
virtual QString getDisplayC (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayC. More...
 
virtual QString getDisplayAngle (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayAngle. More...
 
virtual QString getDisplayDistance (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayDistance. More...
 
virtual QString getDisplayMeasurementSeries (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayMeasurementSeries. More...
 
virtual QString getDisplayTemperature (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayTemperature. More...
 
virtual QString getDisplayLength (const UnitType &type, const int &digits, const bool &showDiff=false) const
 Feature::getDisplayLength. More...
 
virtual QString getDisplayExpansionOriginX (const UnitType &type, const int &digits) const
 Feature::getDisplayExpansionOriginX. More...
 
virtual QString getDisplayExpansionOriginY (const UnitType &type, const int &digits) const
 Feature::getDisplayExpansionOriginY. More...
 
virtual QString getDisplayExpansionOriginZ (const UnitType &type, const int &digits) const
 Feature::getDisplayExpansionOriginZ. More...
 
virtual QString getDisplayXAxisI (const int &digits) const
 Feature::getDisplayXAxisI. More...
 
virtual QString getDisplayXAxisJ (const int &digits) const
 Feature::getDisplayXAxisJ. More...
 
virtual QString getDisplayXAxisK (const int &digits) const
 Feature::getDisplayXAxisK. More...
 
virtual QString getDisplayYAxisI (const int &digits) const
 Feature::getDisplayYAxisI. More...
 
virtual QString getDisplayYAxisJ (const int &digits) const
 Feature::getDisplayYAxisJ. More...
 
virtual QString getDisplayYAxisK (const int &digits) const
 Feature::getDisplayYAxisK. More...
 
virtual QString getDisplayZAxisI (const int &digits) const
 Feature::getDisplayZAxisI. More...
 
virtual QString getDisplayZAxisJ (const int &digits) const
 Feature::getDisplayZAxisJ. More...
 
virtual QString getDisplayZAxisK (const int &digits) const
 Feature::getDisplayZAxisK. More...
 
virtual QString getDisplayStartSystem () const
 Feature::getDisplayStartSystem. More...
 
virtual QString getDisplayDestinationSystem () const
 Feature::getDisplayDestinationSystem. More...
 
virtual QString getDisplayTranslationX (const UnitType &type, const int &digits) const
 Feature::getDisplayTranslationX. More...
 
virtual QString getDisplayTranslationY (const UnitType &type, const int &digits) const
 Feature::getDisplayTranslationY. More...
 
virtual QString getDisplayTranslationZ (const UnitType &type, const int &digits) const
 Feature::getDisplayTranslationZ. More...
 
virtual QString getDisplayRotationX (const UnitType &type, const int &digits) const
 Feature::getDisplayRotationX. More...
 
virtual QString getDisplayRotationY (const UnitType &type, const int &digits) const
 Feature::getDisplayRotationY. More...
 
virtual QString getDisplayRotationZ (const UnitType &type, const int &digits) const
 Feature::getDisplayRotationZ. More...
 
virtual QString getDisplayScaleX (const int &digits) const
 Feature::getDisplayScaleX. More...
 
virtual QString getDisplayScaleY (const int &digits) const
 Feature::getDisplayScaleY. More...
 
virtual QString getDisplayScaleZ (const int &digits) const
 Feature::getDisplayScaleZ. More...
 
virtual QString getDisplayIsUsed () const
 Feature::getDisplayIsUsed. More...
 
virtual QString getDisplayValidTime () const
 Feature::getDisplayValidTime. More...
 
virtual QString getDisplayIsMovement () const
 Feature::getDisplayIsMovement. More...
 
virtual QString getDisplayIsDatumTransformation () const
 Feature::getDisplayIsDatumTransformation. 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...
 

Protected Member Functions

void setUpFeatureId ()
 Station::setUpFeatureId Generate a new unique id when the current job was set. More...
 
void setJob (const QPointer< OiJob > &job)
 Station::setJob. More...
 

Friends

class OiJob
 
class ProjectExchanger
 
class Observation
 

Additional Inherited Members

- Protected Attributes inherited from oi::Feature
QString name
 
QString group
 
QString comment
 
bool isSolved
 
bool isUpdated
 
bool isActiveFeature
 
QList< QPointer< Function > > functionList
 
QList< QPointer< FeatureWrapper > > usedForList
 
QMap< int, QPointer< FeatureWrapper > > usedForMap
 
QList< QPointer< FeatureWrapper > > previouslyNeededList
 
QMap< int, QPointer< FeatureWrapper > > previouslyNeededMap
 
QPointer< FeatureWrapperselfFeature
 
QPointer< OiJobjob
 
- Protected Attributes inherited from oi::Element
int id
 

Detailed Description

The Station class.

Constructor & Destructor Documentation

Station::Station ( QObject *  parent = 0)
explicit

Station::Station.

Parameters
parent
Station::Station ( const QString &  name,
QObject *  parent = 0 
)
explicit

Station::Station.

Parameters
name
parent
Station::Station ( const Station copy,
QObject *  parent = 0 
)

Station::Station.

Parameters
copy
parent
Station::~Station ( )

Member Function Documentation

void oi::Station::activeStationChanged ( const int &  stationId)
signal
void oi::Station::commandFinished ( const bool &  success,
const QString &  msg 
)
signal
void oi::Station::compensation ( )
signal
void oi::Station::connectSensor ( )
signal
void oi::Station::disconnectSensor ( )
signal
bool Station::fromOpenIndyXML ( QDomElement &  xmlElem)
virtual

Station::fromOpenIndyXML.

Parameters
xmlElem
Returns

Reimplemented from oi::Feature.

SensorTypes Station::getActiveSensorType ( ) const
const QPointer< CoordinateSystem > & Station::getCoordinateSystem ( ) const
QString Station::getDisplayX ( const UnitType type,
const int &  digits,
const bool &  showDiff = false 
) const
virtual

Station::getDisplayX.

Parameters
type
digits
showDiff
Returns

Reimplemented from oi::Feature.

QString Station::getDisplayY ( const UnitType type,
const int &  digits,
const bool &  showDiff = false 
) const
virtual

Station::getDisplayY.

Parameters
type
digits
showDiff
Returns

Reimplemented from oi::Feature.

QString Station::getDisplayZ ( const UnitType type,
const int &  digits,
const bool &  showDiff = false 
) const
virtual

Station::getDisplayZ.

Parameters
type
digits
showDiff
Returns

Reimplemented from oi::Feature.

const bool & Station::getIsActiveStation ( ) const
bool Station::getIsBusy ( )
bool Station::getIsReadyForMeasurement ( )
bool Station::getIsSensorConnected ( )
bool Station::getIsSensorSet ( )
const QPointer< Point > & Station::getPosition ( ) const
QStringList Station::getSelfDefinedActions ( ) const
SensorConfiguration Station::getSensorConfiguration ( )
const QPointer< SensorListener > Station::getSensorListener ( ) const
QMap< QString, QString > Station::getSensorStatus ( )
QList< ConnectionTypes > Station::getSupportedConnectionTypes ( ) const
QList< ReadingTypes > Station::getSupportedReadingTypes ( ) const
QList< SensorFunctions > Station::getSupportedSensorActions ( ) const
void oi::Station::home ( )
signal
void oi::Station::initialize ( )
signal
void oi::Station::measure ( const int &  geomId,
const MeasurementConfig mConfig 
)
signal
void oi::Station::measurementFinished ( const int &  geomId,
const QList< QPointer< Reading > > &  readings 
)
signal
void oi::Station::motorState ( )
signal
void oi::Station::move ( const double &  azimuth,
const double &  zenith,
const double &  distance,
const bool &  isRelative,
const bool &  measure,
const int &  geomId = -1,
const MeasurementConfig mConfig = MeasurementConfig() 
)
signal
void oi::Station::move ( const double &  x,
const double &  y,
const double &  z,
const bool &  measure,
const int &  geomId = -1,
const MeasurementConfig mConfig = MeasurementConfig() 
)
signal
Station & Station::operator= ( const Station copy)

Station::operator =.

Parameters
copy
Returns
void Station::recalc ( )
virtual

Station::recalc.

Reimplemented from oi::Feature.

void Station::resetSensor ( )
void oi::Station::selfDefinedAction ( const QString &  action)
signal
void oi::Station::sensorChanged ( const int &  featureId)
signal
void Station::setActiveStationState ( const bool &  isActiveStation)

Station::setActiveStationState.

Parameters
isActiveStation
void Station::setJob ( const QPointer< OiJob > &  job)
protectedvirtual

Station::setJob.

Parameters
job

Reimplemented from oi::Feature.

void Station::setSensor ( const QPointer< Sensor > &  sensor)

Station::setSensor.

Parameters
sensor
void Station::setSensorConfiguration ( const SensorConfiguration sConfig)

Station::setSensorConfiguration.

Parameters
sConfig
void oi::Station::setStreamFormat ( ReadingTypes  streamFormat)
signal
void Station::setUpFeatureId ( )
protectedvirtual

Station::setUpFeatureId Generate a new unique id when the current job was set.

Reimplemented from oi::Feature.

void oi::Station::toggleSight ( )
signal
QDomElement Station::toOpenIndyXML ( QDomDocument &  xmlDoc)

Station::toOpenIndyXML.

Parameters
xmlDoc
Returns

Friends And Related Function Documentation

friend class Observation
friend
friend class OiJob
friend
friend class ProjectExchanger
friend

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