OOStuBS - Technische Informatik II (TI-II)  2.4
Öffentliche Methoden | Private Methoden | Private Attribute | Aufstellung aller Elemente
Task4::RotCursor Klassenreferenz

Rotating symbol application Mehr ...

#include <task4.h>

Klassendiagramm für Task4::RotCursor:
Inheritance graph
[Legende]
Zusammengehörigkeiten von Task4::RotCursor:
Collaboration graph
[Legende]

Ö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

Ausführliche Beschreibung

Rotating symbol application

This coroutine creates a rotating symbol in the upper left corner of the screen, to show "quasi"-parallel execution of coroutines

Definiert in Zeile 29 der Datei task4.h.

Beschreibung der Konstruktoren und Destruktoren

Task4::RotCursor::RotCursor ( unsigned short  x,
unsigned short  y 
)

Default constructor.

Setting the start symbol

Definiert in Zeile 8 der Datei task4.cc.

Dokumentation der Elementfunktionen

void Task4::RotCursor::action ( )
virtual

start outputting the symbol

This method resumes after each interation

Implementiert Application.

Definiert in Zeile 10 der Datei task4.cc.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

void Task4::RotCursor::enableCoop ( )
inlineprivate

Definiert in Zeile 37 der Datei task4.h.

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

Dokumentation der Datenelemente

bool Task4::RotCursor::coop
private

Definiert in Zeile 35 der Datei task4.h.

unsigned char Task4::RotCursor::i
private

internal state to save current symbol

Definiert in Zeile 33 der Datei task4.h.

unsigned short Task4::RotCursor::x
private

Definiert in Zeile 34 der Datei task4.h.

unsigned short Task4::RotCursor::y
private

Definiert in Zeile 34 der Datei task4.h.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: