OOStuBS - Technische Informatik II (TI-II)  2.4
Öffentliche Methoden | Aufstellung aller Elemente
Waitingroom Klassenreferenz

A waitingroom Customers can wait in. Mehr ...

#include <waitingroom.h>

Klassendiagramm für Waitingroom:
Inheritance graph
[Legende]
Zusammengehörigkeiten von Waitingroom:
Collaboration graph
[Legende]

Öffentliche Methoden

virtual ~Waitingroom ()
 Destructor reactivating waiting customers.
- Öffentliche Methoden geerbt von Queue
bool empty () const
Elementpeek_front () const
Elementpop_front ()
void push_back (Element &e)
 Queue ()
bool remove (Element &e)
virtual ~Queue ()

Ausführliche Beschreibung

A waitingroom Customers can wait in.

The waitingroom consists of a queue the customers wait in until they can be serviced. On destruction of a waitingroom all waiting customers need to be released. In this case the result of the operation the customers waited for depends on the implementation of the service the customers waited for.

Siehe auch
Semaphore

Definiert in Zeile 31 der Datei waitingroom.h.

Beschreibung der Konstruktoren und Destruktoren

Waitingroom::~Waitingroom ( )
virtual

Destructor reactivating waiting customers.

The waiting customers need to be reactivated on destrcution of the waitingroom since otherwise they will never be scheduled to run again.

Definiert in Zeile 7 der Datei waitingroom.cc.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: