#include <user/graphics/full-example.h>
|
| GraphicsExample () |
|
void | action () override |
| Method that contains the thread's program code.
|
|
| Thread () |
| Constructor Initializes the context using prepareContext with the highest aligned address of the reserved_stack_space array as stack pointer (top of stack). Furthermore, assign each thread a unique id using a global variable idCounter. You have to declare and initialize it properly.
|
|
void | go () |
| Activates the first thread on this CPU.
|
|
void | resume (Thread *next) |
| Switches from the currently running thread to the next one.
|
|
Waitingroom * | getWaitingroom () const |
| Returns the Waitingroom in which the thread is currently waiting.
|
|
void | setWaitingroom (Waitingroom *w) |
| Marks the thread as waiting for an event in Waitingroom w .
|
|
◆ GraphicsExample()
GraphicsExample::GraphicsExample |
( |
| ) |
|
|
inline |
◆ action()
void GraphicsExample::action |
( |
| ) |
|
|
overridevirtual |
Method that contains the thread's program code.
Derived classes are meant to override this method to provide meaningful code to be run in this thread.
Implements Thread.
◆ demon
Demon GraphicsExample::demon |
|
private |
◆ cat
◆ clock
◆ fire
Fire GraphicsExample::fire |
|
private |
◆ fps
◆ pc
◆ pong
Pong GraphicsExample::pong |
|
private |
◆ title
◆ cursor
The documentation for this class was generated from the following files: