Inheritance diagram for Tutorial01Sprite:
Public Member Functions | |
| void | go (void) |
| Gets everything on the screen, and then goes to sleep, letting the interrupt handler update things appropriately. | |
| void | updateDisplay (void) |
| Updates the display. | |
Static Public Member Functions | |
| Tutorial01Sprite & | theApp (void) |
| Mechanism to get ahold of the application. This ensures that both main and the interrupt handler can gain access to the same application object without having to resort to global variables and other evilness. | |
Private Member Functions | |
| Tutorial01Sprite () | |
| Constructor prepares the application to run. To access an object, use theApp() to gain a reference to the application. | |
| Tutorial01Sprite (const Tutorial01Sprite &) | |
| Copy constructor is disabled. | |
| Tutorial01Sprite & | operator= (const Tutorial01Sprite &) |
| Operator= is disabled. | |
| virtual | ~Tutorial01Sprite () |
| Destructor never gets called because the application never ends. | |
Private Attributes | |
| Sprite | letA |
| The sprite on the touch screen. | |
| Sprite | letASub |
| The sprite on the top screen. | |
|
|
Constructor prepares the application to run. To access an object, use theApp() to gain a reference to the application. It does the following:
|
|
|
Mechanism to get ahold of the application. This ensures that both main and the interrupt handler can gain access to the same application object without having to resort to global variables and other evilness.
|
1.3.6