OOStuBS - Technische Informatik II (TI-II)  2.4
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:
44 
45  public:
50  Customer() : Thread(), room(0){}
51 
52  private:
59  this->room=room;
60  }
61 
62  public:
68  return room;
69  }
71  friend class Organizer;
72 };
73 
74 #endif