OOStuBS - Technische Informatik II (TI-II)
2.4
Hauptseite
Zusätzliche Informationen
Klassen
Dateien
Auflistung der Dateien
Datei-Elemente
include
thread
customer.h
gehe zur Dokumentation dieser Datei
1
/*---------------------------------------------------------------------------*
2
* Technical Computer Science II *
3
*---------------------------------------------------------------------------*
4
* *
5
* C U S T O M E R *
6
* *
7
*---------------------------------------------------------------------------*/
8
#ifndef __customer_header__
9
#define __customer_header__
10
11
/* * * * * * * * * * * * * * * * * * * * * * * * *\
12
# INCLUDES #
13
\* * * * * * * * * * * * * * * * * * * * * * * * */
14
15
#include "
thread/thread.h
"
16
17
/* * * * * * * * * * * * * * * * * * * * * * * * *\
18
# CLASSES #
19
\* * * * * * * * * * * * * * * * * * * * * * * * */
20
25
class
Waitingroom
;
26
27
36
class
Customer
:
public
Thread
37
{
38
private
:
43
Waitingroom
*
room
;
44
45
public
:
50
Customer
() :
Thread
(),
room
(0){}
51
52
private
:
58
void
waiting_in
(
Waitingroom
*
room
){
59
this->room=
room
;
60
}
61
62
public
:
67
Waitingroom
*
waiting_in
()
const
{
68
return
room
;
69
}
71
friend
class
Organizer
;
72
};
73
74
#endif
Erzeugt am Mon Jun 30 2014 07:13:28 für OOStuBS - Technische Informatik II (TI-II) von
1.8.1.2