OpenIndy-Core  0.2.0.43
oi::SensorControl Class Reference

The SensorControl class A sensor control object belongs to a station and executes all sensor actions on a seperate thread. More...

#include <sensorcontrol.h>

Inheritance diagram for oi::SensorControl:

Public Slots

const QPointer< Sensor > & getSensor () const
 SensorControl::getSensor. More...
 
void setSensor (const QPointer< Sensor > &sensor)
 SensorControl::setSensor. More...
 
void resetSensor ()
 SensorControl::resetSensor. More...
 
const QList< QPointer< Sensor > > & getUsedSensors () const
 SensorControl::getUsedSensors. More...
 
const QPointer< SensorListenergetSensorListener () const
 SensorControl::getSensorListener. More...
 
void setStreamFormat (ReadingTypes streamFormat)
 SensorControl::setStreamFormat. More...
 
bool getIsSensorConnected ()
 SensorControl::getIsSensorConnected. More...
 
bool getIsReadyForMeasurement ()
 SensorControl::getIsReadyForMeasurement. More...
 
bool getIsBusy ()
 SensorControl::getIsBusy. More...
 
QMap< QString, QString > getSensorStatus ()
 SensorControl::getSensorStatus. More...
 
void connectSensor ()
 SensorControl::connectSensor. More...
 
void disconnectSensor ()
 SensorControl::disconnectSensor. More...
 
void measure (const int &geomId, const MeasurementConfig &mConfig)
 SensorControl::measure. More...
 
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())
 SensorControl::move. More...
 
void move (const double &x, const double &y, const double &z, const bool &measure, const int &geomId=-1, const MeasurementConfig &mConfig=MeasurementConfig())
 SensorControl::move. More...
 
void initialize ()
 SensorControl::initialize. More...
 
void motorState ()
 SensorControl::motorState. More...
 
void home ()
 SensorControl::home. More...
 
void toggleSight ()
 SensorControl::toggleSight. More...
 
void compensation ()
 SensorControl::compensation. More...
 
void selfDefinedAction (const QString &action)
 SensorControl::selfDefinedAction. More...
 

Signals

void commandFinished (const bool &success, const QString &msg)
 
void measurementFinished (const int &geomId, const QList< QPointer< Reading > > &readings)
 

Public Member Functions

 SensorControl (QPointer< Station > &station, QObject *parent=0)
 SensorControl::SensorControl. More...
 
 ~SensorControl ()
 SensorControl::~SensorControl. More...
 

Friends

class ProjectExchanger
 

Detailed Description

The SensorControl class A sensor control object belongs to a station and executes all sensor actions on a seperate thread.

Constructor & Destructor Documentation

SensorControl::SensorControl ( QPointer< Station > &  station,
QObject *  parent = 0 
)

SensorControl::SensorControl.

Parameters
station
parent
SensorControl::~SensorControl ( )

Member Function Documentation

void oi::SensorControl::commandFinished ( const bool &  success,
const QString &  msg 
)
signal
void SensorControl::compensation ( )
slot
void SensorControl::connectSensor ( )
slot
void SensorControl::disconnectSensor ( )
slot
bool SensorControl::getIsBusy ( )
slot
bool SensorControl::getIsReadyForMeasurement ( )
slot
bool SensorControl::getIsSensorConnected ( )
slot
const QPointer< Sensor > & SensorControl::getSensor ( ) const
slot
const QPointer< SensorListener > SensorControl::getSensorListener ( ) const
slot
QMap< QString, QString > SensorControl::getSensorStatus ( )
slot
const QList< QPointer< Sensor > > & SensorControl::getUsedSensors ( ) const
slot
void SensorControl::home ( )
slot
void SensorControl::initialize ( )
slot
void SensorControl::measure ( const int &  geomId,
const MeasurementConfig mConfig 
)
slot

SensorControl::measure.

Parameters
geomId
mConfig
void oi::SensorControl::measurementFinished ( const int &  geomId,
const QList< QPointer< Reading > > &  readings 
)
signal
void SensorControl::motorState ( )
slot
void SensorControl::move ( const double &  azimuth,
const double &  zenith,
const double &  distance,
const bool &  isRelative,
const bool &  measure,
const int &  geomId = -1,
const MeasurementConfig mConfig = MeasurementConfig() 
)
slot

SensorControl::move.

Parameters
azimuth
zenith
distance
isRelative
measure
geomId
mConfig
void SensorControl::move ( const double &  x,
const double &  y,
const double &  z,
const bool &  measure,
const int &  geomId = -1,
const MeasurementConfig mConfig = MeasurementConfig() 
)
slot

SensorControl::move.

Parameters
x
y
z
measure
geomId
mConfig
void SensorControl::resetSensor ( )
slot
void SensorControl::selfDefinedAction ( const QString &  action)
slot
void SensorControl::setSensor ( const QPointer< Sensor > &  sensor)
slot

SensorControl::setSensor.

Parameters
sensor
void SensorControl::setStreamFormat ( ReadingTypes  streamFormat)
slot

SensorControl::setStreamFormat.

Parameters
streamFormat
void SensorControl::toggleSight ( )
slot

Friends And Related Function Documentation

friend class ProjectExchanger
friend

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