• Navigation überspringen
  • Zur Navigation
  • Zum Seitenende
Organisationsmenü öffnen Organisationsmenü schließen
Friedrich-Alexander-Universität Lehrstuhl für Informatik 4 (Systemsoftware)
  • FAUZur zentralen FAU Website
  1. Friedrich-Alexander-Universität
  2. Technische Fakultät
  3. Department Informatik
Suche öffnen
  • English
  • Campo
  • StudOn
  • FAUdir
  • Stellenangebote
  • Lageplan
  • Hilfe im Notfall
  1. Friedrich-Alexander-Universität
  2. Technische Fakultät
  3. Department Informatik
Friedrich-Alexander-Universität Lehrstuhl für Informatik 4 (Systemsoftware)
Menu Menu schließen
  • Lehrstuhl
    • Team
    • Aktuelles
    • Kontakt und Anfahrt
    • Leitbild
    • 50-jähriges Jubiläum
    Portal Lehrstuhl
  • Forschung
    • Forschungsbereiche
      • Betriebssysteme
      • Confidential Computing
      • Eingebettete Systemsoftware
      • Verteilte Systeme
    • Projekte
      • AIMBOS
      • BALu
      • BFT2Chain
      • DOSS
      • Mirador
      • NEON
      • PAVE
      • ResPECT
      • Watwa
    • Projektkampagnen
      • maRE
    • Seminar
      • Systemsoftware
    Portal Forschung
  • Publikationen
  • Lehre
    • Sommersemester 2025
      • Applied Software Architecture
      • Ausgewählte Kapitel der Systemsoftware
      • Betriebssystemtechnik
      • Projekt angewandte Systemsoftwaretechnik
      • System-Level Programming
      • Systemnahe Programmierung in C
      • Systemprogrammierung 1
      • Verteilte Systeme
    • Wintersemester 2024/25
      • Betriebssysteme
      • Middleware – Cloud Computing
      • Systemprogrammierung 2
      • Verlässliche Echtzeitsysteme
      • Virtuelle Maschinen
      • Web-basierte Systeme
    Portal Lehre
  • Examensarbeiten
  1. Startseite
  2. Extern

Extern

Bereichsnavigation: Lehre
  • Betriebssysteme
    • Vorlesung
      • Folien
    • Übung
      • Seminar
      • Aufgaben
      • Aufgabe 0: C++ Streams
        • Aufgabe 1: Ein-/Ausgabe
          • Aufgabe 2: Unterbrechungen
            • Aufgabe 3: Pro-/Epilog
              • Aufgabe 4: Kontextwechsel
                • Aufgabe 5: Zeitscheiben
                  • Aufgabe 6: Synchronisation
                    • Aufgabe 7: Anwendung
                      • Assembler Crashkurs
                        • C++ Crashkurs
                          • Entwicklungsumgebung
                            • FAQ
                              • Ruhmeshalle
                              • Evaluation

                              Aufgabe 7: Anwendung

                              Public Member Functions | List of all members
                              GuardedKeyboard Class Reference

                              syscall interface for keyboard. More...

                              #include <syscall/guarded_keyboard.h>

                              + Inheritance diagram for GuardedKeyboard:
                              [legend]
                              + Collaboration diagram for GuardedKeyboard:
                              [legend]

                              Public Member Functions

                              Key getKey ()
                               Application interface to retrieve a Key. More...
                               
                              - Public Member Functions inherited from Keyboard
                               Keyboard ()
                               Constructor.
                               
                              void plugin ()
                               Initialization of the keyboard. More...
                               
                              bool prologue () override
                               Prologue of keyboard interrupts. More...
                               
                              void epilogue () override
                               Epilogue of keyboard interrupts. More...
                               
                              Key getKey ()
                               Application interface to retrieve a Key. More...
                               
                              - Public Member Functions inherited from Gate
                               Gate ()
                               Constructor.
                               
                              virtual ~Gate ()
                               Destructor. More...
                               
                              virtual bool prologue ()=0
                               Device-specific interrupt handling routine that is executed immediately after the interrupt occurs (asynchronously). More...
                               
                              virtual void epilogue ()
                               Possibly delayed, synchronously executed Device-specific interrupt handling routine. More...
                               

                              Detailed Description

                              syscall interface for keyboard.

                              Guarded interface to the Keyboard used by user applications.

                              Implements the system call interface for class Keyboard. All methods provided by this class are wrappers for the respective method from the base class, which provide additional synchronization by using the class Guarded.

                              Member Function Documentation

                              Key GuardedKeyboard::getKey ( )
                              inline

                              Application interface to retrieve a Key.

                              This method returns one pressed key (as an Key object). If no key has been pressed, the calling application thread is blocked until a key is available – this is achieved by using a Semaphore.

                              Returns
                              Pressed key
                              Note
                              This method is equal to the correspondent method in base class Keyboard, with the only difference that the call will be protected by a Guarded object.

                              The documentation for this class was generated from the following file:
                              • syscall/guarded_keyboard.h
                              Friedrich-Alexander-Universität
                              Erlangen-Nürnberg

                              Schlossplatz 4
                              91054 Erlangen
                              • Impressum
                              • Datenschutz
                              • Barrierefreiheit
                              • Facebook
                              • RSS Feed
                              • Xing
                              Nach oben