OOStuBS - Technische Informatik II (TI-II)
2.4
Hauptseite
Zusätzliche Informationen
Klassen
Dateien
Auflistung der Dateien
Datei-Elemente
include
device
keyboard.h
gehe zur Dokumentation dieser Datei
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
2
* Technische Informatik II *
3
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
4
* *
5
* K E Y B O A R D *
6
* *
7
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
8
9
#ifndef __keyboard_include__
10
#define __keyboard_include__
11
12
/* * * * * * * * * * * * * * * * * * * * * * * * *\
13
# INCLUDES #
14
\* * * * * * * * * * * * * * * * * * * * * * * * */
15
#include "
machine/keyctrl.h
"
16
#include "
common/interrupthandler.h
"
17
#include "
machine/key.h
"
18
#include "
locking/semaphore.h
"
19
20
/* * * * * * * * * * * * * * * * * * * * * * * * *\
21
# CLASSES #
22
\* * * * * * * * * * * * * * * * * * * * * * * * */
35
class
Keyboard
:
public
Keyboard_Controller
,
public
InterruptHandler
{
36
private
:
38
Key
k
;
39
41
Semaphore
sem
;
42
public
:
44
Keyboard
();
45
60
void
plugin
();
61
74
virtual
void
trigger
();
75
84
Key
getkey
();
85
};
86
87
#endif
Erzeugt am Mon Jun 30 2014 07:13:28 für OOStuBS - Technische Informatik II (TI-II) von
1.8.1.2