The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
cOpRemoveOverwrittenUnderObjects.h
Go to the documentation of this file.
1 /**
2  * @file cOpRemoveOverwrittenUnderObjects
3  * file name: cOpRemoveOverwrittenUnderObjects.h
4  * @author Betti Oesterholz
5  * @date 15.06.2010
6  * @mail webmaster@BioKom.info
7  *
8  * System: C++
9  *
10  * This operator removes from a random choosen fib -object all underobjects
11  * which point properties are overwritten and so not necessary.
12  * Copyright (C) @c GPL3 2010 Betti Oesterholz
13  *
14  * This program is free software: you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License (GPL) as
16  * published by the Free Software Foundation, either version 3 of the
17  * License, or any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU Lesser General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public License
25  * along with this program. If not, see <http://www.gnu.org/licenses/>.
26  *
27  *
28  * This operator removes from a random choosen fib -object all underobjects
29  * which point properties are overwritten and so not necessary.
30  *
31  *
32  * @see cOperationFib
33  * @see cOperation
34  * @see cEnviroment
35  */
36 /*
37 History:
38 15.06.2010 Oesterholz created
39 */
40 
41 
42 #ifndef ___C_OP_REMOVE_OVERWRITTEN_UNDER_OBJECS_H__
43 #define ___C_OP_REMOVE_OVERWRITTEN_UNDER_OBJECS_H__
44 
45 #include "version.h"
46 
47 #include "cOperationFib.h"
48 
49 #include <string>
50 
51 
52 namespace enviroment{
53 namespace fib{
54 
55 
57 public:
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  */
66 
67  /**
68  * Destructor of the class cOpRemoveOverwrittenUnderObjects.
69  */
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 cOpRemoveOverwrittenUnderObjects * 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 cOpRemoveOverwrittenUnderObjects
101 
102 
103 };//end namespace fib
104 };//end namespace enviroment
105 
106 #endif //___C_OP_REMOVE_OVERWRITTEN_UNDER_OBJECS_H__perator
107 
108 
109 
110 
111 
112 
113