OOStuBS - Technische Informatik II (TI-II)
2.4
|
Rotating symbol application Mehr ...
#include <task4.h>
Öffentliche Methoden | |
virtual void | action () |
start outputting the symbol | |
RotCursor (unsigned short x, unsigned short y) | |
Default constructor. |
Private Methoden | |
void | enableCoop () |
Private Attribute | |
bool | coop |
unsigned char | i |
internal state to save current symbol | |
unsigned short | x |
unsigned short | y |
Rotating symbol application
This coroutine creates a rotating symbol in the upper left corner of the screen, to show "quasi"-parallel execution of coroutines
Task4::RotCursor::RotCursor | ( | unsigned short | x, |
unsigned short | y | ||
) |
|
virtual |
start outputting the symbol
This method resumes after each interation
Implementiert Application.
Definiert in Zeile 10 der Datei task4.cc.
|
inlineprivate |
|
private |