Class Guarded_Buzzer

Class Guarded_Buzzer

Placement in the overall structure

Module
syscall
Base classes
Buzzer
Derived classes
None
Time of creation
Task 6
Files
guarded_buzzer.h and guarded_buzzer.cc

Description

The Guarded_Buzzer class implements the system call interface to the Buzzer class. The methods offered by Guarded_Buzzer are mapped directly to the methods of the base class, except that their execution is protected in each case with the help of an object of the Secure class.

Public methods

virtual ~Guarded_Buzzer()
void set (int ms)
void sleep ()