Sensor Scol plugin
Multi platform sensors for handled devices
Public Member Functions | Protected Attributes
SQSensor Class Reference
Inheritance diagram for SQSensor:
SSensor

Public Member Functions

 SQSensor (SSensorType type)
 
virtual SSensorData GetData ()
 
void SetData (SSensorData newData)
 
QSensor * GetQSensor ()
 
void SetQSensor (QSensor *aSensor)
 
- Public Member Functions inherited from SSensor
 SSensor (SSensorType type)
 
SSensorType GetType ()
 
bool IsEnabled ()
 
void SetEnabled (bool enabled)
 
bool IsPaused ()
 
void SetPaused (bool paused)
 
SSensorCbAddCallBack ()
 
void RemoveCallBack (SSensorCb *sensorCb)
 
void CallSensorCb (SSensorData data)
 
double GetElapsedTime (int64_t timeStamp)
 

Protected Attributes

SSensorData mData
 
QSensor * mQSensor
 
- Protected Attributes inherited from SSensor
SSensorType mType
 
bool mEnabled
 
bool mPaused
 
int64_t mLastTimeStamp
 
std::list< SSensorCb * > mAxisCallbacks
 

Detailed Description

Definition at line 18 of file SQSensor.h.

Constructor & Destructor Documentation

◆ SQSensor() [1/2]

SQSensor ( )

Definition at line 32 of file SQSensor.cpp.

◆ SQSensor() [2/2]

SQSensor ( SSensorType  type)

Definition at line 37 of file SQSensor.cpp.

◆ ~SQSensor()

~SQSensor ( )

Definition at line 83 of file SQSensor.cpp.

Member Function Documentation

◆ GetData()

SSensorData GetData ( )
virtual

Implements SSensor.

Definition at line 183 of file SQSensor.cpp.

◆ GetQSensor()

QSensor * GetQSensor ( )

Definition at line 193 of file SQSensor.cpp.

◆ SetData()

void SetData ( SSensorData  newData)

Definition at line 188 of file SQSensor.cpp.

◆ SetQSensor()

void SetQSensor ( QSensor *  aSensor)

Definition at line 198 of file SQSensor.cpp.

Field Documentation

◆ mData

SSensorData mData
protected

Definition at line 27 of file SQSensor.h.

◆ mQSensor

QSensor* mQSensor
protected

Definition at line 28 of file SQSensor.h.


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