|
Sensor Scol plugin
Multi platform sensors for handled devices
|
Public Member Functions | |
| 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) |
| virtual SSensorData | GetData ()=0 |
Protected Attributes | |
| SSensorType | mType |
| bool | mEnabled |
| bool | mPaused |
| int64_t | mLastTimeStamp |
| std::list< SSensorCb * > | mAxisCallbacks |
| SSensor | ( | ) |
Definition at line 81 of file SSensor.cpp.
| SSensor | ( | SSensorType | type | ) |
Definition at line 89 of file SSensor.cpp.
| ~SSensor | ( | ) |
Definition at line 97 of file SSensor.cpp.
| SSensorCb * AddCallBack | ( | ) |
Definition at line 135 of file SSensor.cpp.
| void CallSensorCb | ( | SSensorData | data | ) |
Definition at line 163 of file SSensor.cpp.
| double GetElapsedTime | ( | int64_t | timeStamp | ) |
Definition at line 152 of file SSensor.cpp.
| SSensorType GetType | ( | ) |
Definition at line 102 of file SSensor.cpp.
| bool IsEnabled | ( | ) |
Definition at line 107 of file SSensor.cpp.
| bool IsPaused | ( | ) |
Definition at line 121 of file SSensor.cpp.
| void RemoveCallBack | ( | SSensorCb * | sensorCb | ) |
Definition at line 143 of file SSensor.cpp.
| void SetEnabled | ( | bool | enabled | ) |
Definition at line 112 of file SSensor.cpp.
| void SetPaused | ( | bool | paused | ) |
Definition at line 126 of file SSensor.cpp.