Aufgabe 2: Unterbrechungen
Gate Class Referenceabstract
Class of objects that are capable of handling interrupts. More...
#include <interrupt/gate.h>
Inheritance diagram for Gate:
Public Member Functions | |
Gate () | |
Constructor. | |
virtual | ~Gate () |
Destructor. More... | |
virtual void | trigger ()=0 |
Device-specific interrupt handler. More... | |
Detailed Description
Class of objects that are capable of handling interrupts.
All objects to be assigned in Plugbox must be derived from this class.
Each inheriting class must define the virtual method Gate::trigger().
Constructor & Destructor Documentation
|
inlinevirtual |
Destructor.
Classes with virtual methods should always have a virtual destructor (which can be empty as well). In StuBS this will calm the compiler, on other systems this will guarantee that delete will free the memory for objects of the derived classes correctly.
Member Function Documentation
|
pure virtual |
The documentation for this class was generated from the following file:
- interrupt/gate.h