The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
cOpDummy.h
Go to the documentation of this file.
1
/**
2
* @file cOpDummy
3
* file name: cOpDummy.h
4
* @author Betti Oesterholz
5
* @date 19.03.2010
6
* @mail webmaster@BioKom.info
7
*
8
* System: C++
9
*
10
* This header specifies a class for a dummy operation.
11
* Copyright (C) @c GPL3 2010 Betti Oesterholz
12
*
13
* This program is free software: you can redistribute it and/or modify
14
* it under the terms of the GNU General Public License (GPL) as
15
* published by the Free Software Foundation, either version 3 of the
16
* License, or any later version.
17
*
18
* This program is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU Lesser General Public License for more details.
22
*
23
* You should have received a copy of the GNU General Public License
24
* along with this program. If not, see <http://www.gnu.org/licenses/>.
25
*
26
*
27
* This header specifies a class for a dummy operation.
28
* The operation is for testing the enviroment and do nothing.
29
*
30
*
31
* @see cOperationFib
32
* @see cOperation
33
* @see cEnviroment
34
*/
35
/*
36
History:
37
19.03.2010 Oesterholz created
38
*/
39
40
41
#ifndef ___C_OP_DUMMY_H__
42
#define ___C_OP_DUMMY_H__
43
44
#include "version.h"
45
46
#include "
cOperationFib.h
"
47
48
#include <string>
49
50
51
namespace
enviroment{
52
namespace
fib{
53
54
55
class
cOpDummy
:
public
cOperationFib
{
56
public
:
57
58
59
/**
60
* The standardconstructor for the operation.
61
* It will create the operation, but won't start it.
62
*
63
* @param operationId the identifer for the operation
64
*/
65
cOpDummy
(
const
cOperationIdentifier
& operationId );
66
67
/**
68
* Destructor of the class cOpDummy.
69
*/
70
virtual
~cOpDummy
();
71
72
/**
73
* This method creats a new instance of this operator.
74
* Beware: You have to delete the instance after usage.
75
*
76
* @param operationId the identifer for the operation
77
* @return a pointer to a new instance of this operation
78
*/
79
virtual
cOpDummy
*
createInstance
(
const
cOperationIdentifier
& operationId )
const
;
80
81
/**
82
* This method runs the operation.
83
* It will wait till the operation is ended befor returning.
84
* Beware: If overwriten call setIsRunning( false ), when the operation
85
* is done.
86
*
87
* @see start()
88
* @see stop()
89
* @see setIsRunning()
90
* @return true if the operation was started
91
*/
92
virtual
bool
run
();
93
94
/**
95
* @return the (class-)name of the operation
96
*/
97
virtual
std::string
getName
()
const
;
98
99
100
};
//end class cOpDummy
101
102
103
};
//end namespace fib
104
};
//end namespace enviroment
105
106
#endif //___C_OP_DUMMY_H__
107
108
109
110
111
112
113
enviroment.fib
operators
incl
cOpDummy.h
Generated on Thu Feb 14 2013 14:06:55 for The Fib multimedia system by
1.8.1