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
cOperationFib.h
Go to the documentation of this file.
1
/**
2
* @file cOperationFib
3
* file name: cOperationFib.h
4
* @author Betti Oesterholz
5
* @date 19.03.2010
6
* @mail webmaster@BioKom.info
7
*
8
* System: C++
9
*
10
* This header specifies the abstract basisclass for fib -operations.
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 the abstract basisclass for fib -operations.
28
* Overwrite the start() or run() method to implement the operation.
29
*
30
* Beware: If the variable bStop is true, stop the operation.
31
*
32
* @see cEnviroment
33
*/
34
/*
35
History:
36
19.03.2010 Oesterholz created
37
*/
38
39
40
#ifndef ___C_OPERATION_FIB_H__
41
#define ___C_OPERATION_FIB_H__
42
43
#include "version.h"
44
45
#include "
cOperation.h
"
46
47
#include "
cFibElement.h
"
48
49
#include "
cIndividualIdentifier.h
"
50
51
namespace
enviroment{
52
namespace
fib{
53
54
55
class
cOperationFib
:
public
cOperation
{
56
protected
:
57
58
/**
59
* The standardconstructor for the operation.
60
* It will create the operation, but won't start it.
61
*
62
* @param operationId the identifer for the operation
63
*/
64
cOperationFib
(
const
cOperationIdentifier
& operationId );
65
66
/**
67
* Destructor of the class cObjectFitnessAlgorithm.
68
*/
69
virtual
~cOperationFib
() = 0;
70
71
/**
72
* This method creats a new instance of this operator.
73
* Beware: You have to delete the instance after usage.
74
*
75
* @param operationId the identifer for the operation
76
* @return a pointer to a new instance of this operation
77
*/
78
virtual
cOperationFib
*
createInstance
(
const
cOperationIdentifier
& operationId )
const
= 0;
79
80
81
protected
:
82
83
/**
84
* This method insert the given fib object as a new individual into the
85
* enviroment.
86
*
87
* @param fibObject the fib -object to insert
88
* @param liParents a list with the identifiers of the parrent individuals
89
* of the individual to insert
90
* @return true if the individual was inserted, else false
91
*/
92
bool
insertFibObjectIntoEnviroment
(
cFibElement
* fibObject,
93
const
list<cIndividualIdentifier> liParents );
94
95
};
//end class cOperationFib
96
97
};
//end namespace fib
98
};
//end namespace enviroment
99
100
#endif //___C_OPERATION_FIB_H__
101
102
103
104
105
106
107
enviroment.fib
incl
cOperationFib.h
Generated on Thu Feb 14 2013 14:06:55 for The Fib multimedia system by
1.8.1