#include <user/graphics/fire.h>
|
| | Fire () |
| |
| virtual void | action () |
| | Method that contains the thread's program code.
|
| |
| void | ignite () |
| |
| void | burn () |
| |
| | 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.
|
| |
◆ Fire()
◆ action()
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.
◆ ignite()
◆ burn()
◆ height
◆ width
◆ offset
◆ max_height
| const unsigned Fire::max_height = 400 |
|
static |
◆ max_width
| const unsigned Fire::max_width = 1920 |
|
static |
The documentation for this class was generated from the following files: