Sensor Scol plugin
Multi platform sensors for handled devices
|
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) |
SSensorCb * | AddCallBack () |
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 |
Definition at line 18 of file SQSensor.h.
SQSensor | ( | ) |
Definition at line 32 of file SQSensor.cpp.
SQSensor | ( | SSensorType | type | ) |
Definition at line 37 of file SQSensor.cpp.
~SQSensor | ( | ) |
Definition at line 83 of file SQSensor.cpp.
|
virtual |
Implements SSensor.
Definition at line 183 of file SQSensor.cpp.
QSensor * GetQSensor | ( | ) |
Definition at line 193 of file SQSensor.cpp.
void SetData | ( | SSensorData | newData | ) |
Definition at line 188 of file SQSensor.cpp.
void SetQSensor | ( | QSensor * | aSensor | ) |
Definition at line 198 of file SQSensor.cpp.
|
protected |
Definition at line 27 of file SQSensor.h.
|
protected |
Definition at line 28 of file SQSensor.h.