1 #ifndef SENSORCONTROL_H
2 #define SENSORCONTROL_H
13 class ProjectExchanger;
26 friend class ProjectExchanger;
30 SensorControl(QPointer<Station> &station, QObject *parent = 0);
40 const QPointer<Sensor> &getSensor()
const;
41 void setSensor(
const QPointer<Sensor> &sensor);
44 const QList<QPointer<Sensor> > &getUsedSensors()
const;
46 const QPointer<SensorListener> getSensorListener()
const;
54 bool getIsSensorConnected();
55 bool getIsReadyForMeasurement();
58 QMap<QString, QString> getSensorStatus();
65 void disconnectSensor();
69 void move(
const double &azimuth,
const double &zenith,
const double &distance,
const bool &isRelative,
71 void move(
const double &x,
const double &y,
const double &z,
78 void selfDefinedAction(
const QString &action);
86 void commandFinished(
const bool &success,
const QString &msg);
87 void measurementFinished(
const int &geomId,
const QList<QPointer<Reading> > &readings);
95 QPointer<Station> station;
97 QPointer<Sensor> sensor;
98 QList<QPointer<Sensor> > usedSensors;
100 QPointer<SensorListener> sensorListener;
101 QThread listenerThread;
109 #endif // SENSORCONTROL_H
ReadingTypes
Definition: types.h:203
Definition: coordinatesystem.h:15
The MeasurementConfig class Contains all the configuration parameters needed to start a measurement...
Definition: measurementconfig.h:15
The SensorControl class A sensor control object belongs to a station and executes all sensor actions ...
Definition: sensorcontrol.h:24
#define OI_CORE_EXPORT
Definition: types.h:11