cocos2d-x  2.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AccelerometerSimulation Class Reference

#import <AccelerometerSimulation.h>

Inheritance diagram for AccelerometerSimulation:

Instance Methods

(void) - setUpThreadingSupport
(void) - handleMachMessage:
(void) - processNotification:
(AccelerometerSimulation *) - initialize

Class Methods

(AccelerometerSimulation *) + getAccelerometer

Protected Attributes

int udpSocket
NSThread * thread
BOOL isExiting
id< UIAccelerometerDelegate > accelDelegate
UIAccelerationSimulationaccObject
NSMutableArray * notifications
NSThread * notificationThread
NSLock * notificationLock
NSMachPort * notificationPort

Properties

id< UIAccelerometerDelegate > delegate

Method Documentation

+ (AccelerometerSimulation
*) getAccelerometer
- (void) handleMachMessage: (void *)  msg
- (AccelerometerSimulation
*) initialize
- (void) processNotification: (NSNotification *)  notification
- (void) setUpThreadingSupport

Member Data Documentation

- (id<UIAccelerometerDelegate>
) accelDelegate
protected
- (UIAccelerationSimulation*)
accObject
protected
- (BOOL) isExiting
protected
- (NSLock*) notificationLock
protected
- (NSMachPort*) notificationPort
protected
- (NSMutableArray*) notifications
protected
- (NSThread*) notificationThread
protected
- (NSThread*) thread
protected
- (int) udpSocket
protected

Property Documentation

- (id<UIAccelerometerDelegate>
) delegate
readwritenonatomicassign

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