The device accelerometer reports values for each axis in units of g-force. More...
#include <ccTypes.h>
Public Member Functions | |
| Acceleration () | |
Public Member Functions inherited from Ref | |
| void | retain () |
| Retains the ownership. More... | |
| void | release () |
| Releases the ownership immediately. More... | |
| Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More... | |
| unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More... | |
| virtual | ~Ref () |
| Destructor. More... | |
Public Attributes | |
| double | x |
| var | x |
| local | x |
| double | y |
| var | y |
| local | y |
| double | z |
| var | z |
| local | z |
| double | timestamp |
| var | timestamp |
| local | timestamp |
Additional Inherited Members | |
Protected Member Functions inherited from Ref | |
| Ref () | |
| Constructor. More... | |
| Ref () | |
| Constructor. More... | |
Protected Attributes inherited from Ref | |
| unsigned int | _referenceCount |
| count of references More... | |
| local | _referenceCount |
| count of references More... | |
The device accelerometer reports values for each axis in units of g-force.
|
inline |
|
inline |
|
inline |
| double timestamp |
| var timestamp |
| local timestamp |
| double x |
| var x |
| local x |
| double y |
| var y |
| local y |
| double z |
| var z |
| local z |