OpenIndy-Core  0.2.0.43
oi::OiJob Class Reference

The OiJob class Represents an OpenIndy job (holds all features and active states) More...

#include <oijob.h>

Inheritance diagram for oi::OiJob:

Signals

void activeFeatureChanged ()
 
void activeStationChanged ()
 
void activeCoordinateSystemChanged ()
 
void featureSetChanged ()
 
void coordSystemSetChanged ()
 
void stationSetChanged ()
 
void trafoParamSetChanged ()
 
void geometrySetChanged ()
 
void availableGroupsChanged ()
 
void activeGroupChanged ()
 
void featureAttributesChanged ()
 
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 featureFunctionsChanged (const int &featureId)
 
void featureUsedForChanged (const int &featureId)
 
void featurePreviouslyNeededChanged (const int &featureId)
 
void geometryIsCommonChanged (const int &featureId)
 
void geometryNominalsChanged (const int &featureId)
 
void geometryActualChanged (const int &featureId)
 
void geometryObservationsChanged (const int &featureId)
 
void geometryNominalSystemChanged (const int &featureId)
 
void geometryStatisticChanged (const int &featureId)
 
void geometrySimulationDataChanged (const int &featureId)
 
void geometryMeasurementConfigChanged (const int &featureId, const QString &oldMConfig, bool oldIsSaved)
 
void systemObservationsChanged (const int &featureId, const int &obsId)
 
void systemTrafoParamsChanged (const int &featureId)
 
void systemsNominalsChanged (const int &featureId)
 
void stationSensorChanged (const int &featureId)
 
void trafoParamParametersChanged (const int &featureId)
 
void trafoParamSystemsChanged (const int &featureId)
 
void trafoParamIsUsedChanged (const int &featureId)
 
void trafoParamValidTimeChanged (const int &featureId)
 
void trafoParamIsMovementChanged (const int &featureId)
 
void sendMessage (const QString &msg, const MessageTypes &msgType, const MessageDestinations &msgDest=eConsoleMessage) const
 
void recalcFeature (const QPointer< Feature > &feature)
 
void featuresRecalculated ()
 
void featureRecalculated (const int &featureId)
 
void trafoParamRecalculated (const int &featureId)
 

Public Member Functions

 OiJob (QObject *parent=0)
 OiJob::OiJob. More...
 
 ~OiJob ()
 OiJob::~OiJob. More...
 
const QString & getJobName () const
 OiJob::getJobName. More...
 
void setJobName (const QString &jobName)
 OiJob::setJobName. More...
 
const QPointer< QIODevice > & getJobDevice () const
 OiJob::getJobDevice. More...
 
void setJobDevice (const QPointer< QIODevice > &jobDevice)
 OiJob::setJobDevice. More...
 
int generateUniqueId ()
 OiJob::generateUniqueId. More...
 
bool validateFeatureName (const QString &name, const FeatureTypes &type, const bool &isNominal=false, const QPointer< CoordinateSystem > &nominalSystem=QPointer< CoordinateSystem >(NULL))
 OiJob::validateFeatureName. More...
 
int getFeatureCount () const
 OiJob::getFeatureCount. More...
 
int getGeometryCount () const
 OiJob::getGeometryCount. More...
 
int getFeatureCount (const FeatureTypes &type) const
 OiJob::getFeatureCount. More...
 
int getFeatureCount (const QString &group) const
 OiJob::getFeatureCount. More...
 
int getFeatureCount (const QPair< QString, bool > &mConfig) const
 OiJob::getFeatureCount. More...
 
const QList< int > & getFeatureIdList () const
 OiJob::getFeatureIdList. More...
 
const QStringList & getFeatureNameList () const
 OiJob::getFeatureNameList. More...
 
const QStringList & getFeatureGroupList () const
 OiJob::getFeatureGroupList. More...
 
const QList< QPair< QString, bool > > & getUsedMeasurementConfigs () const
 OiJob::getUsedMeasurementConfigs. More...
 
const QList< QPointer< FeatureWrapper > > & getFeaturesList () const
 OiJob::getFeaturesList. More...
 
const QList< QPointer< CoordinateSystem > > & getCoordinateSystemsList () const
 OiJob::getCoordinateSystemsList Returns a list of all nominal systems. More...
 
QList< QPointer< CoordinateSystem > > getStationSystemsList () const
 OiJob::getStationSystems. More...
 
const QList< QPointer< Station > > & getStationsList () const
 OiJob::getStationsList. More...
 
const QList< QPointer< TrafoParam > > & getTransformationParametersList () const
 OiJob::getTransformationParametersList. More...
 
const QList< QPointer< FeatureWrapper > > & getGeometriesList () const
 OiJob::getGeometriesList. More...
 
QPointer< FeatureWrappergetFeatureById (const int &featureId) const
 OiJob::getFeatureById. More...
 
QList< QPointer< FeatureWrapper > > getFeaturesByName (const QString &name) const
 OiJob::getFeaturesByName. More...
 
QList< QPointer< FeatureWrapper > > getFeaturesByGroup (const QString &group) const
 OiJob::getFeaturesByGroup. More...
 
QList< QPointer< FeatureWrapper > > getFeaturesByType (const FeatureTypes &type) const
 OiJob::getFeaturesByType. More...
 
QList< QPointer< Geometry > > getGeometriesByMConfig (const QPair< QString, bool > &mConfig) const
 OiJob::getGeometriesByMConfig. More...
 
const QPointer< FeatureWrapper > & getActiveFeature () const
 OiJob::getActiveFeature. More...
 
const QPointer< Station > & getActiveStation () const
 OiJob::getActiveStation. More...
 
const QPointer< CoordinateSystem > & getActiveCoordinateSystem () const
 OiJob::getActiveCoordinateSystem. More...
 
const QString & getActiveGroup () const
 OiJob::getActiveGroup. More...
 
bool setActiveGroup (const QString &group)
 OiJob::setActiveGroup. More...
 
bool addFeature (const QPointer< FeatureWrapper > &feature)
 OiJob::addFeature. More...
 
QList< QPointer< FeatureWrapper > > addFeatures (const FeatureAttributes &fAttr)
 OiJob::addFeatures. More...
 
bool addFeatures (const QList< QPointer< FeatureWrapper > > &features)
 OiJob::addFeatures Add one or more features of various types which are not related to each other. More...
 
bool removeFeature (const int &featureId)
 OiJob::removeFeature. More...
 
bool removeFeature (const QPointer< FeatureWrapper > &feature)
 OiJob::removeFeature. More...
 
bool removeFeatures (const QSet< int > &featureIds)
 OiJob::removeFeatures. More...
 
bool removeFeatures (const QList< QPointer< FeatureWrapper > > &features)
 OiJob::removeFeatures. More...
 
void removeAll ()
 OiJob::removeAll. More...
 
void addFunction (const QPointer< Function > &function)
 OiJob::addFunction. More...
 
void removeFunction (const int &functionIndex)
 OiJob::removeFunction. More...
 
void addInputObservation (const QPointer< FeatureWrapper > &target, const int &functionPosition, const int &neededElementsIndex, const QPointer< Observation > &observation)
 OiJob::addInputObservation Adds an existing observation the the specified function of the target feature. More...
 
void addInputReading (const QPointer< FeatureWrapper > &target, const int &functionPosition, const int &neededElementsIndex, const QPointer< Reading > &reading)
 OiJob::addInputReading Adds an existing reading to the specified function of the target feature. More...
 
void addInputFeature (const QPointer< FeatureWrapper > &target, const int &functionPosition, const int &neededElementsIndex, const QPointer< FeatureWrapper > &feature)
 OiJob::addInputFeature Adds an existing feature to the specified function of the target feature. More...
 
void removeInputElement (const QPointer< FeatureWrapper > &target, const int &functionPosition, const int &neededElementsIndex, const int &elementId)
 OiJob::removeInputElement Removes an input element from the specified function. More...
 
void addMeasurementResults (const int &geomId, const QList< QPointer< Reading > > &readings)
 OiJob::addMeasurementResults Creates and adds observations for the given readings. More...
 
void removeObservations (const int &featureId)
 OiJob::removeObservations. More...
 
void removeAllObservations ()
 OiJob::removeAllObservations. More...
 
void setShouldBeUsed (const QPointer< FeatureWrapper > &target, const int &functionIndex, const int &neededElementIndex, const int &elementId, const bool &use, const bool &recalc)
 OiJob::setShouldBeUsed. More...
 

Friends

class ProjectExchanger
 

Detailed Description

The OiJob class Represents an OpenIndy job (holds all features and active states)

Constructor & Destructor Documentation

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

OiJob::OiJob.

Parameters
parent
OiJob::~OiJob ( )

Member Function Documentation

void oi::OiJob::activeCoordinateSystemChanged ( )
signal
void oi::OiJob::activeFeatureChanged ( )
signal
void oi::OiJob::activeGroupChanged ( )
signal
void oi::OiJob::activeStationChanged ( )
signal
bool OiJob::addFeature ( const QPointer< FeatureWrapper > &  feature)

OiJob::addFeature.

Parameters
feature
Returns
QList< QPointer< FeatureWrapper > > OiJob::addFeatures ( const FeatureAttributes fAttr)

OiJob::addFeatures.

Parameters
fAttr
Returns
bool OiJob::addFeatures ( const QList< QPointer< FeatureWrapper > > &  features)

OiJob::addFeatures Add one or more features of various types which are not related to each other.

Parameters
features
Returns
void OiJob::addFunction ( const QPointer< Function > &  function)

OiJob::addFunction.

Parameters
function
void OiJob::addInputFeature ( const QPointer< FeatureWrapper > &  target,
const int &  functionPosition,
const int &  neededElementsIndex,
const QPointer< FeatureWrapper > &  feature 
)

OiJob::addInputFeature Adds an existing feature to the specified function of the target feature.

Parameters
target
functionPosition
neededElementsIndex
feature
void OiJob::addInputObservation ( const QPointer< FeatureWrapper > &  target,
const int &  functionPosition,
const int &  neededElementsIndex,
const QPointer< Observation > &  observation 
)

OiJob::addInputObservation Adds an existing observation the the specified function of the target feature.

Parameters
target
functionPosition
neededElementsIndex
observation
void OiJob::addInputReading ( const QPointer< FeatureWrapper > &  target,
const int &  functionPosition,
const int &  neededElementsIndex,
const QPointer< Reading > &  reading 
)

OiJob::addInputReading Adds an existing reading to the specified function of the target feature.

Parameters
target
functionPosition
neededElementsIndex
reading
void OiJob::addMeasurementResults ( const int &  geomId,
const QList< QPointer< Reading > > &  readings 
)

OiJob::addMeasurementResults Creates and adds observations for the given readings.

Parameters
geomId
readings
void oi::OiJob::availableGroupsChanged ( )
signal
void oi::OiJob::coordSystemSetChanged ( )
signal
void oi::OiJob::featureAttributesChanged ( )
signal
void oi::OiJob::featureCommentChanged ( const int &  featureId)
signal
void oi::OiJob::featureFunctionsChanged ( const int &  featureId)
signal
void oi::OiJob::featureGroupChanged ( const int &  featureId,
const QString &  oldGroup 
)
signal
void oi::OiJob::featureIsSolvedChanged ( const int &  featureId)
signal
void oi::OiJob::featureIsUpdatedChanged ( const int &  featureId)
signal
void oi::OiJob::featureNameChanged ( const int &  featureId,
const QString &  oldName 
)
signal
void oi::OiJob::featurePreviouslyNeededChanged ( const int &  featureId)
signal
void oi::OiJob::featureRecalculated ( const int &  featureId)
signal
void oi::OiJob::featureSetChanged ( )
signal
void oi::OiJob::featuresRecalculated ( )
signal
void oi::OiJob::featureUsedForChanged ( const int &  featureId)
signal
int OiJob::generateUniqueId ( )
void oi::OiJob::geometryActualChanged ( const int &  featureId)
signal
void oi::OiJob::geometryIsCommonChanged ( const int &  featureId)
signal
void oi::OiJob::geometryMeasurementConfigChanged ( const int &  featureId,
const QString &  oldMConfig,
bool  oldIsSaved 
)
signal
void oi::OiJob::geometryNominalsChanged ( const int &  featureId)
signal
void oi::OiJob::geometryNominalSystemChanged ( const int &  featureId)
signal
void oi::OiJob::geometryObservationsChanged ( const int &  featureId)
signal
void oi::OiJob::geometrySetChanged ( )
signal
void oi::OiJob::geometrySimulationDataChanged ( const int &  featureId)
signal
void oi::OiJob::geometryStatisticChanged ( const int &  featureId)
signal
const QPointer< CoordinateSystem > & OiJob::getActiveCoordinateSystem ( ) const
const QPointer< FeatureWrapper > & OiJob::getActiveFeature ( ) const
const QString & OiJob::getActiveGroup ( ) const
const QPointer< Station > & OiJob::getActiveStation ( ) const
const QList< QPointer< CoordinateSystem > > & OiJob::getCoordinateSystemsList ( ) const

OiJob::getCoordinateSystemsList Returns a list of all nominal systems.

Returns
QPointer< FeatureWrapper > OiJob::getFeatureById ( const int &  featureId) const

OiJob::getFeatureById.

Parameters
featureId
Returns
int OiJob::getFeatureCount ( ) const
int OiJob::getFeatureCount ( const FeatureTypes type) const

OiJob::getFeatureCount.

Parameters
type
Returns
int OiJob::getFeatureCount ( const QString &  group) const

OiJob::getFeatureCount.

Parameters
group
Returns
int OiJob::getFeatureCount ( const QPair< QString, bool > &  mConfig) const

OiJob::getFeatureCount.

Parameters
mConfig
Returns
const QStringList & OiJob::getFeatureGroupList ( ) const
const QList< int > & OiJob::getFeatureIdList ( ) const
const QStringList & OiJob::getFeatureNameList ( ) const
QList< QPointer< FeatureWrapper > > OiJob::getFeaturesByGroup ( const QString &  group) const

OiJob::getFeaturesByGroup.

Parameters
group
Returns
QList< QPointer< FeatureWrapper > > OiJob::getFeaturesByName ( const QString &  name) const

OiJob::getFeaturesByName.

Parameters
name
Returns
QList< QPointer< FeatureWrapper > > OiJob::getFeaturesByType ( const FeatureTypes type) const

OiJob::getFeaturesByType.

Parameters
type
Returns
const QList< QPointer< FeatureWrapper > > & OiJob::getFeaturesList ( ) const
QList< QPointer< Geometry > > OiJob::getGeometriesByMConfig ( const QPair< QString, bool > &  mConfig) const

OiJob::getGeometriesByMConfig.

Parameters
mConfig
Returns
const QList< QPointer< FeatureWrapper > > & OiJob::getGeometriesList ( ) const
int OiJob::getGeometryCount ( ) const
const QPointer< QIODevice > & OiJob::getJobDevice ( ) const
const QString & OiJob::getJobName ( ) const
const QList< QPointer< Station > > & OiJob::getStationsList ( ) const
QList< QPointer< CoordinateSystem > > OiJob::getStationSystemsList ( ) const

OiJob::getStationSystems.

Returns
const QList< QPointer< TrafoParam > > & OiJob::getTransformationParametersList ( ) const
const QList< QPair< QString, bool > > & OiJob::getUsedMeasurementConfigs ( ) const
void oi::OiJob::recalcFeature ( const QPointer< Feature > &  feature)
signal
void OiJob::removeAll ( )
void OiJob::removeAllObservations ( )
bool OiJob::removeFeature ( const int &  featureId)

OiJob::removeFeature.

Parameters
featureId
Returns
bool OiJob::removeFeature ( const QPointer< FeatureWrapper > &  feature)

OiJob::removeFeature.

Parameters
feature
Returns
bool OiJob::removeFeatures ( const QSet< int > &  featureIds)

OiJob::removeFeatures.

Parameters
featureIds
Returns
bool OiJob::removeFeatures ( const QList< QPointer< FeatureWrapper > > &  features)

OiJob::removeFeatures.

Parameters
features
Returns
void OiJob::removeFunction ( const int &  functionIndex)

OiJob::removeFunction.

Parameters
functionIndex
void OiJob::removeInputElement ( const QPointer< FeatureWrapper > &  target,
const int &  functionPosition,
const int &  neededElementsIndex,
const int &  elementId 
)

OiJob::removeInputElement Removes an input element from the specified function.

Parameters
target
functionPosition
neededElementsIndex
elementId
void OiJob::removeObservations ( const int &  featureId)

OiJob::removeObservations.

Parameters
featureId
void oi::OiJob::sendMessage ( const QString &  msg,
const MessageTypes msgType,
const MessageDestinations msgDest = eConsoleMessage 
) const
signal
bool OiJob::setActiveGroup ( const QString &  group)

OiJob::setActiveGroup.

Parameters
group
Returns
void OiJob::setJobDevice ( const QPointer< QIODevice > &  jobDevice)

OiJob::setJobDevice.

Parameters
jobDevice
void OiJob::setJobName ( const QString &  jobName)

OiJob::setJobName.

Parameters
jobName
void OiJob::setShouldBeUsed ( const QPointer< FeatureWrapper > &  target,
const int &  functionIndex,
const int &  neededElementIndex,
const int &  elementId,
const bool &  use,
const bool &  recalc 
)

OiJob::setShouldBeUsed.

Parameters
target
functionIndex
neededElementIndex
elementId
use
recalc
void oi::OiJob::stationSensorChanged ( const int &  featureId)
signal
void oi::OiJob::stationSetChanged ( )
signal
void oi::OiJob::systemObservationsChanged ( const int &  featureId,
const int &  obsId 
)
signal
void oi::OiJob::systemsNominalsChanged ( const int &  featureId)
signal
void oi::OiJob::systemTrafoParamsChanged ( const int &  featureId)
signal
void oi::OiJob::trafoParamIsMovementChanged ( const int &  featureId)
signal
void oi::OiJob::trafoParamIsUsedChanged ( const int &  featureId)
signal
void oi::OiJob::trafoParamParametersChanged ( const int &  featureId)
signal
void oi::OiJob::trafoParamRecalculated ( const int &  featureId)
signal
void oi::OiJob::trafoParamSetChanged ( )
signal
void oi::OiJob::trafoParamSystemsChanged ( const int &  featureId)
signal
void oi::OiJob::trafoParamValidTimeChanged ( const int &  featureId)
signal
bool OiJob::validateFeatureName ( const QString &  name,
const FeatureTypes type,
const bool &  isNominal = false,
const QPointer< CoordinateSystem > &  nominalSystem = QPointer<CoordinateSystem>(NULL) 
)

OiJob::validateFeatureName.

Parameters
name
type
isNominal
nominalSystem
Returns

Friends And Related Function Documentation

friend class ProjectExchanger
friend

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