The CCAccelerometer class lets you register to receive acceleration-related data from the onboard hardware. More...
#include <CCAccelerometer.h>
Public Member Functions | |
CCAccelerometer () | |
~CCAccelerometer () | |
void | setDelegate (CCAccelerometerDelegate *pDelegate) |
void | setAccelerometerInterval (float interval) |
void | update (float x, float y, float z, long sensorTimeStamp) |
var | update ( var x, var y, var z, var sensorTimeStamp) |
local | update ( local x, local y, local z, local sensorTimeStamp) |
CCAccelerometer () | |
CCAccelerometer () | |
~CCAccelerometer () | |
~CCAccelerometer () | |
~CCAccelerometer () | |
void | setDelegate (CCAccelerometerDelegate *pDelegate) |
void | setAccelerometerInterval (float interval) |
var | setAccelerometerInterval ( var interval) |
local | setAccelerometerInterval ( local interval) |
void | update (long sensorTimeStamp, double x, double y, double z) |
var | update ( var sensorTimeStamp, var x, var y, var z) |
local | update ( local sensorTimeStamp, local x, local y, local z) |
CCAccelerometer () | |
~CCAccelerometer () | |
void | removeDelegate (CCAccelerometerDelegate *pDelegate) |
void | addDelegate (CCAccelerometerDelegate *pDelegate) |
void | setDelegate (CCAccelerometerDelegate *pDelegate) |
void | setAccelerometerInterval (float interval) |
CCAccelerometer () | |
~CCAccelerometer () | |
~CCAccelerometer () | |
~CCAccelerometer () | |
void | setDelegate (CCAccelerometerDelegate *pDelegate) |
void | setAccelerometerInterval (float interval) |
CCAccelerometer () | |
~CCAccelerometer () | |
~CCAccelerometer () | |
~CCAccelerometer () | |
void | removeDelegate (CCAccelerometerDelegate *pDelegate) |
void | addDelegate (CCAccelerometerDelegate *pDelegate) |
void | setDelegate (CCAccelerometerDelegate *pDelegate) |
void | setAccelerometerInterval (float interval) |
var | setAccelerometerInterval ( var interval) |
local | setAccelerometerInterval ( local interval) |
CCAccelerometer () | |
~CCAccelerometer () | |
~CCAccelerometer () | |
~CCAccelerometer () | |
void | setDelegate (CCAccelerometerDelegate *pDelegate) |
void | setAccelerometerInterval (float interval) |
var | setAccelerometerInterval ( var interval) |
local | setAccelerometerInterval ( local interval) |
CCAccelerometer () | |
~CCAccelerometer () | |
~CCAccelerometer () | |
~CCAccelerometer () | |
void | setDelegate (CCAccelerometerDelegate *pDelegate) |
void | setAccelerometerInterval (float interval) |
void | update (float x, float y, float z, uint64 sensorTimeStamp) |
var | update ( var x, var y, var z, var sensorTimeStamp) |
local | update ( local x, local y, local z, local sensorTimeStamp) |
CCAccelerometer () | |
~CCAccelerometer () | |
void | removeDelegate (CCAccelerometerDelegate *pDelegate) |
void | addDelegate (CCAccelerometerDelegate *pDelegate) |
void | setDelegate (CCAccelerometerDelegate *pDelegate) |
void | setAccelerometerInterval (float interval) |
var | setAccelerometerInterval ( var interval) |
local | setAccelerometerInterval ( local interval) |
CCAccelerometer () | |
~CCAccelerometer () | |
~CCAccelerometer () | |
~CCAccelerometer () | |
void | setDelegate (CCAccelerometerDelegate *pDelegate) |
void | setAccelerometerInterval (float interval) |
void | update (float x, float y, float z, long sensorTimeStamp) |
var | update ( var x, var y, var z, var sensorTimeStamp) |
local | update ( local x, local y, local z, local sensorTimeStamp) |
CCAccelerometer () | |
CCAccelerometer () | |
~CCAccelerometer () | |
void | setDelegate (CCAccelerometerDelegate *pDelegate) |
void | setAccelerometerInterval (float interval) |
var | setAccelerometerInterval ( var interval) |
local | setAccelerometerInterval ( local interval) |
void | update (double x, double y, double z, double timestamp) |
var | update ( var x, var y, var z, var timestamp) |
local | update ( local x, local y, local z, local timestamp) |
CCAccelerometer () | |
~CCAccelerometer () | |
~CCAccelerometer () | |
~CCAccelerometer () | |
void | setDelegate (CCAccelerometerDelegate *pDelegate) |
void | setAccelerometerInterval (float interval) |
var | setAccelerometerInterval ( var interval) |
local | setAccelerometerInterval ( local interval) |
Static Public Member Functions | |
static CCAccelerometer * | sharedAccelerometer () |
static CCAccelerometer * | sharedAccelerometer () |
static CCAccelerometer * | sharedAccelerometer () |
Returns the shared accelerometer object for the system. More... | |
var | sharedAccelerometer () |
Returns the shared accelerometer object for the system. More... | |
local | sharedAccelerometer () |
Returns the shared accelerometer object for the system. More... | |
static CCAccelerometer * | sharedAccelerometer () |
The CCAccelerometer class lets you register to receive acceleration-related data from the onboard hardware.
CCAccelerometer | ( | ) |
var CCAccelerometer | ( | ) |
local CCAccelerometer | ( | ) |
~CCAccelerometer | ( | ) |
var ~CCAccelerometer | ( | ) |
local ~CCAccelerometer | ( | ) |
CCAccelerometer | ( | ) |
var CCAccelerometer | ( | ) |
local CCAccelerometer | ( | ) |
~CCAccelerometer | ( | ) |
var ~CCAccelerometer | ( | ) |
local ~CCAccelerometer | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
CCAccelerometer | ( | ) |
var CCAccelerometer | ( | ) |
local CCAccelerometer | ( | ) |
~CCAccelerometer | ( | ) |
var ~CCAccelerometer | ( | ) |
local ~CCAccelerometer | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
CCAccelerometer | ( | ) |
var CCAccelerometer | ( | ) |
local CCAccelerometer | ( | ) |
~CCAccelerometer | ( | ) |
var ~CCAccelerometer | ( | ) |
local ~CCAccelerometer | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
CCAccelerometer | ( | ) |
var CCAccelerometer | ( | ) |
local CCAccelerometer | ( | ) |
~CCAccelerometer | ( | ) |
var ~CCAccelerometer | ( | ) |
local ~CCAccelerometer | ( | ) |
CCAccelerometer | ( | ) |
var CCAccelerometer | ( | ) |
local CCAccelerometer | ( | ) |
~CCAccelerometer | ( | ) |
var ~CCAccelerometer | ( | ) |
local ~CCAccelerometer | ( | ) |
CCAccelerometer | ( | ) |
var CCAccelerometer | ( | ) |
local CCAccelerometer | ( | ) |
~CCAccelerometer | ( | ) |
var ~CCAccelerometer | ( | ) |
local ~CCAccelerometer | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void setAccelerometerInterval | ( | float | interval) |
var setAccelerometerInterval | ( | var | interval) |
local setAccelerometerInterval | ( | local | interval) |
|
inline |
|
inline |
|
inline |
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 setAccelerometerInterval | ( | float | interval) |
var setAccelerometerInterval | ( | var | interval) |
local setAccelerometerInterval | ( | local | interval) |
void setAccelerometerInterval | ( | float | interval) |
var setAccelerometerInterval | ( | var | interval) |
local setAccelerometerInterval | ( | local | interval) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void setDelegate | ( | CCAccelerometerDelegate * | pDelegate) |
var setDelegate | ( | var | pDelegate) |
local setDelegate | ( | local | pDelegate) |
|
inline |
|
inline |
|
inline |
void setDelegate | ( | CCAccelerometerDelegate * | pDelegate) |
var setDelegate | ( | var | pDelegate) |
local setDelegate | ( | local | pDelegate) |
void setDelegate | ( | CCAccelerometerDelegate * | pDelegate) |
var setDelegate | ( | var | pDelegate) |
local setDelegate | ( | local | pDelegate) |
void setDelegate | ( | CCAccelerometerDelegate * | pDelegate) |
var setDelegate | ( | var | pDelegate) |
local setDelegate | ( | local | pDelegate) |
void setDelegate | ( | CCAccelerometerDelegate * | pDelegate) |
var setDelegate | ( | var | pDelegate) |
local setDelegate | ( | local | pDelegate) |
void setDelegate | ( | CCAccelerometerDelegate * | pDelegate) |
var setDelegate | ( | var | pDelegate) |
local setDelegate | ( | local | pDelegate) |
|
inline |
|
inline |
|
inline |
void setDelegate | ( | CCAccelerometerDelegate * | pDelegate) |
var setDelegate | ( | var | pDelegate) |
local setDelegate | ( | local | pDelegate) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Returns the shared accelerometer object for the system.
|
static |
Returns the shared accelerometer object for the system.
|
static |
Returns the shared accelerometer object for the system.
void update | ( | double | x, |
double | y, | ||
double | z, | ||
double | timestamp | ||
) |
var update | ( | var | x, |
var | y, | ||
var | z, | ||
var | timestamp | ||
) |
local update | ( | local | x, |
local | y, | ||
local | z, | ||
local | timestamp | ||
) |
void update | ( | long | sensorTimeStamp, |
double | x, | ||
double | y, | ||
double | z | ||
) |
var update | ( | var | sensorTimeStamp, |
var | x, | ||
var | y, | ||
var | z | ||
) |
local update | ( | local | sensorTimeStamp, |
local | x, | ||
local | y, | ||
local | z | ||
) |
void update | ( | float | x, |
float | y, | ||
float | z, | ||
long | sensorTimeStamp | ||
) |
var update | ( | var | x, |
var | y, | ||
var | z, | ||
var | sensorTimeStamp | ||
) |
local update | ( | local | x, |
local | y, | ||
local | z, | ||
local | sensorTimeStamp | ||
) |
void update | ( | float | x, |
float | y, | ||
float | z, | ||
long | sensorTimeStamp | ||
) |
var update | ( | var | x, |
var | y, | ||
var | z, | ||
var | sensorTimeStamp | ||
) |
local update | ( | local | x, |
local | y, | ||
local | z, | ||
local | sensorTimeStamp | ||
) |
void update | ( | float | x, |
float | y, | ||
float | z, | ||
uint64 | sensorTimeStamp | ||
) |
var update | ( | var | x, |
var | y, | ||
var | z, | ||
var | sensorTimeStamp | ||
) |
local update | ( | local | x, |
local | y, | ||
local | z, | ||
local | sensorTimeStamp | ||
) |