111 std::set<SSensor*> mSensorList;
128 SSensor* GetSensorByType(SSensorType sensorType);
129 std::set<SSensor*> GetSensorList();
131 bool IsAvailable(SSensorType sensorType);
132 bool IsEnabled(SSensorType sensorType);
134 SSensorCb* AddSensorCallBack(SSensorType sensorType);
135 void RemoveSensorCallBack(
SSensorCb* sensorCb);
137 virtual int SetSensorEnable(SSensorType sensorType,
bool state) = 0;
138 virtual void Vibrate(
long millis) = 0;
139 virtual void StartVibration() = 0;
140 virtual void StopVibration() = 0;
141 virtual void VibratePattern(std::vector<int> pattern,
bool loop) = 0;
143 virtual void StartLocationService() = 0;
144 virtual void StopLocationService() = 0;
145 virtual bool GetLocation(
float &longitude,
float &latitude,
float &altitude) = 0;
147 void PauseSensorManager();
148 void ResumeSensorManager();
151 Quaternion GetDeviceOrientation(
double timeOffsetInSeconds);