OOStuBS - Technische Informatik II (TI-II)
2.4
|
Fourth test application. Mehr ...
#include <task4.h>
Klassen | |
class | Counter |
Counting application. Mehr ... | |
class | RotCursor |
Rotating symbol application Mehr ... |
Öffentliche Methoden | |
virtual void | action () |
start operation | |
void | enableCoop () |
switch sub tasks to cooperative scheduling | |
Task4 () | |
Default Constructor. | |
~Task4 () | |
Default Destructor. |
Geschützte Typen | |
enum | Constants { rotCursorX = 79, rotCursorY = 0, counter1X = 10, counter1Y = 10, counter2X = 10, counter2Y = 15 } |
Geschützte Attribute | |
bool | coop |
Counter | counter1 |
Application for a printed out counter. | |
Counter | counter2 |
Application for a printed out counter. | |
RotCursor | rotCursor |
Application for a rotating symbol. |
Fourth test application.
Showing the functionality of coroutine scheduling, by starting 3 coroutine based applications.
|
protected |
Task4::Task4 | ( | ) |
Task4::~Task4 | ( | ) |
|
virtual |
start operation
registers the applications with the scheduler and exit afterwards
Implementiert Application.
Erneute Implementation in Task5.
Definiert in Zeile 59 der Datei task4.cc.
void Task4::enableCoop | ( | ) |
|
protected |
Application for a printed out counter.
|
protected |
Application for a printed out counter.
|
protected |
Application for a rotating symbol.