cocos2d-x  3.0-alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Accelerometer Class Reference

#include <CCAccelerometer.h>

Inheritance diagram for Accelerometer:

Public Member Functions

 Accelerometer ()
 ~Accelerometer ()
void setDelegate (std::function< void(Acceleration *)> function)
void setAccelerometerInterval (float interval)
void readingChanged ()
 Accelerometer ()
 ~Accelerometer ()
void setDelegate (std::function< void(Acceleration *)> function)
void setAccelerometerInterval (float interval)
void startSensor ()
void stopSensor ()
virtual void OnDataReceived (Tizen::Uix::Sensor::SensorType sensorType, Tizen::Uix::Sensor::SensorData &sensorData, result r)
local OnDataReceived ( local sensorType, local sensorData, local r)

Static Public Member Functions

static AccelerometersharedAccelerometer ()

Constructor & Destructor Documentation

var ctor ( )
local Accelerometer ( )
var ctor ( )
local Accelerometer ( )

Member Function Documentation

virtual void OnDataReceived ( Tizen::Uix::Sensor::SensorType  sensorType,
Tizen::Uix::Sensor::SensorData &  sensorData,
result  r 
)
virtual
var OnDataReceived ( var  sensorType,
var  sensorData,
var  r 
)
virtual
local OnDataReceived ( local  sensorType,
local  sensorData,
local  r 
)
virtual
void readingChanged ( )
var readingChanged ( )
local readingChanged ( )
void setAccelerometerInterval ( float  interval)
var setAccelerometerInterval ( var  interval)
local setAccelerometerInterval ( local  interval)
void setAccelerometerInterval ( float  interval)
var setAccelerometerInterval ( var  interval)
local setAccelerometerInterval ( local  interval)
void setDelegate ( std::function< void(Acceleration *)>  function)
var setDelegate ( var  function)
local setDelegate ( local  function)
void setDelegate ( std::function< void(Acceleration *)>  function)
var setDelegate ( var  function)
local setDelegate ( local  function)
static Accelerometer*
sharedAccelerometer
( )
static
var sharedAccelerometer ( )
static
local sharedAccelerometer ( )
static
void startSensor ( )
var startSensor ( )
local startSensor ( )
void stopSensor ( )
var stopSensor ( )
local stopSensor ( )

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