OOStuBS - Technische Informatik II (TI-II)
2.4
Hauptseite
Zusätzliche Informationen
Klassen
Dateien
Auflistung der Dateien
Datei-Elemente
include
user
job.h
gehe zur Dokumentation dieser Datei
1
#ifndef __job_header__
2
#define __job_header__
3
4
#include <
common/o_stream.h
>
5
6
struct
Application
;
7
8
class
Job
{
9
public
:
10
enum
States
{
11
stopped
,
12
running
,
13
};
14
15
private
:
16
States
mState
;
17
const
char
*
mName
;
18
Application
*
mApp
;
19
20
public
:
21
Job
();
22
Job
(
Application
&
app
,
const
char
*
name
);
23
Job
&
operator=
(
const
Job
& j);
24
25
bool
start
();
26
bool
stop
();
27
28
States
state
()
const
;
29
const
char
*
name
()
const
;
30
Application
&
app
()
const
;
31
};
32
33
O_Stream
&
operator<<
(
O_Stream
& o,
const
Job
& j);
34
35
#endif
Erzeugt am Mon Jun 30 2014 07:13:28 für OOStuBS - Technische Informatik II (TI-II) von
1.8.1.2