Sensor Scol plugin
Multi platform sensors for handled devices
Public Member Functions
SQSensorManager Class Reference
Inheritance diagram for SQSensorManager:
SSensorManager

Public Member Functions

virtual int SetSensorEnable (SSensorType sensorType, bool state)
 
virtual void Vibrate (long millis)
 
virtual void StartVibration ()
 
virtual void StopVibration ()
 
virtual void VibratePattern (std::vector< int > pattern, bool loop)
 
virtual void StartLocationService ()
 
virtual void StopLocationService ()
 
virtual bool GetLocation (float &longitude, float &latitude, float &altitude)
 
- Public Member Functions inherited from SSensorManager
SSensorGetSensorByType (SSensorType sensorType)
 
std::set< SSensor * > GetSensorList ()
 
bool IsAvailable (SSensorType sensorType)
 
bool IsEnabled (SSensorType sensorType)
 
SSensorCbAddSensorCallBack (SSensorType sensorType)
 
void RemoveSensorCallBack (SSensorCb *sensorCb)
 
void PauseSensorManager ()
 
void ResumeSensorManager ()
 
OrientationTrackerGetOrientationTracker ()
 
Quaternion GetDeviceOrientation (double timeOffsetInSeconds)
 

Additional Inherited Members

- Static Public Member Functions inherited from SSensorManager
static SSensorManagerGetInstance ()
 
static void Kill ()
 
- Protected Attributes inherited from SSensorManager
std::set< SSensor * > mSensorList
 
OrientationTrackermOrientationTracker
 
- Static Protected Attributes inherited from SSensorManager
static SSensorManagermSingletonInstance
 

Detailed Description

Definition at line 55 of file SQSensor.h.

Constructor & Destructor Documentation

◆ SQSensorManager()

Definition at line 206 of file SQSensor.cpp.

◆ ~SQSensorManager()

Definition at line 247 of file SQSensor.cpp.

Member Function Documentation

◆ GetLocation()

bool GetLocation ( float &  longitude,
float &  latitude,
float &  altitude 
)
virtual

Implements SSensorManager.

Definition at line 357 of file SQSensor.cpp.

◆ SetSensorEnable()

int SetSensorEnable ( SSensorType  sensorType,
bool  state 
)
virtual

Implements SSensorManager.

Definition at line 258 of file SQSensor.cpp.

◆ StartLocationService()

void StartLocationService ( )
virtual

Implements SSensorManager.

Definition at line 347 of file SQSensor.cpp.

◆ StartVibration()

void StartVibration ( )
virtual

Implements SSensorManager.

Definition at line 333 of file SQSensor.cpp.

◆ StopLocationService()

void StopLocationService ( )
virtual

Implements SSensorManager.

Definition at line 352 of file SQSensor.cpp.

◆ StopVibration()

void StopVibration ( )
virtual

Implements SSensorManager.

Definition at line 343 of file SQSensor.cpp.

◆ Vibrate()

void Vibrate ( long  millis)
virtual

Implements SSensorManager.

Definition at line 329 of file SQSensor.cpp.

◆ VibratePattern()

void VibratePattern ( std::vector< int >  pattern,
bool  loop 
)
virtual

Implements SSensorManager.

Definition at line 337 of file SQSensor.cpp.


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