|
Sensor Scol plugin
Multi platform sensors for handled devices
|
Public Member Functions | |
| SSensor * | GetSensorByType (SSensorType sensorType) |
| std::set< SSensor * > | GetSensorList () |
| bool | IsAvailable (SSensorType sensorType) |
| bool | IsEnabled (SSensorType sensorType) |
| SSensorCb * | AddSensorCallBack (SSensorType sensorType) |
| void | RemoveSensorCallBack (SSensorCb *sensorCb) |
| virtual int | SetSensorEnable (SSensorType sensorType, bool state)=0 |
| virtual void | Vibrate (long millis)=0 |
| virtual void | StartVibration ()=0 |
| virtual void | StopVibration ()=0 |
| virtual void | VibratePattern (std::vector< int > pattern, bool loop)=0 |
| virtual void | StartLocationService ()=0 |
| virtual void | StopLocationService ()=0 |
| virtual bool | GetLocation (float &longitude, float &latitude, float &altitude)=0 |
| void | PauseSensorManager () |
| void | ResumeSensorManager () |
| OrientationTracker * | GetOrientationTracker () |
| Quaternion | GetDeviceOrientation (double timeOffsetInSeconds) |
Static Public Member Functions | |
| static SSensorManager * | GetInstance () |
| static void | Kill () |
Protected Attributes | |
| std::set< SSensor * > | mSensorList |
| OrientationTracker * | mOrientationTracker |
Static Protected Attributes | |
| static SSensorManager * | mSingletonInstance |
| SSensorManager | ( | ) |
Definition at line 179 of file SSensor.cpp.
|
virtual |
Definition at line 184 of file SSensor.cpp.
| SSensorCb * AddSensorCallBack | ( | SSensorType | sensorType | ) |
Definition at line 274 of file SSensor.cpp.
| Quaternion GetDeviceOrientation | ( | double | timeOffsetInSeconds | ) |
Definition at line 260 of file SSensor.cpp.
|
static |
Definition at line 44 of file SSensor.cpp.
| OrientationTracker * GetOrientationTracker | ( | ) |
Definition at line 255 of file SSensor.cpp.
| SSensor * GetSensorByType | ( | SSensorType | sensorType | ) |
Definition at line 210 of file SSensor.cpp.
| std::set< SSensor * > GetSensorList | ( | ) |
Definition at line 250 of file SSensor.cpp.
| bool IsAvailable | ( | SSensorType | sensorType | ) |
Definition at line 189 of file SSensor.cpp.
| bool IsEnabled | ( | SSensorType | sensorType | ) |
Definition at line 197 of file SSensor.cpp.
|
static |
Definition at line 59 of file SSensor.cpp.
| void PauseSensorManager | ( | ) |
Definition at line 222 of file SSensor.cpp.
| void RemoveSensorCallBack | ( | SSensorCb * | sensorCb | ) |
Definition at line 283 of file SSensor.cpp.
| void ResumeSensorManager | ( | ) |
Definition at line 236 of file SSensor.cpp.
|
protected |
|
staticprotected |