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
iEvalueFibElement.h
Go to the documentation of this file.
1 /**
2  * @class iEvalueFibElement
3  * file name: iEvalueFibElement.h
4  * @author Betti Oesterholz
5  * @date 18.04.2010
6  * @mail webmaster@BioKom.info
7  *
8  * System: C++
9  *
10  * This file contains the interface for evaluing Fib-objects.
11  *
12  * Copyright (C) @c LGPL3 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 Lesser General Public License (LGPL) 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 Lesser General Public License
25  * along with this program. If not, see <http://www.gnu.org/licenses/>.
26  *
27  *
28  * @pattern strategy
29  * This file contains the interface for evaluing Fib-objects.
30  * Every class which implements this interface have to implement the method
31  * evaluePoint.
32  * When the Fib-object is evalued this method is called every time a
33  * Fib-element of the choosen type is reached. The parameter for the
34  * method are the Fib-element, which was reached, and properties of the
35  * Fib-element.
36  */
37 /*
38 History:
39 18.04.2010 Oesterholz created
40 */
41 
42 
43 #ifndef ___I_EVALUE_FIB_ELEMENT__
44 #define ___I_EVALUE_FIB_ELEMENT__
45 
46 #include "version.h"
47 
48 #include "cVectorProperty.h"
49 
50 
51 #include <list>
52 
53 
54 using std::list;
55 
56 namespace fib{
57 
58 class cFibElement;//cyclic dependencie
59 
61 public:
62 
63  /**
64  * destructor
65  */
66  virtual ~iEvalueFibElement(){};
67 
68  /**
69  * The method with wich the evalued Fib-elements with ther properties
70  * are inserted /evalued. Everytime a Fib-element of the choosen type
71  * (to evalue) is reached in the evaluation, this method is called with
72  * the Fib-element and the properties of the Fib-element.
73  *
74  * @param pFibElement the Fib-element to evalue
75  * @param vProperties a list with the properties of the Fib-element
76  */
77  virtual bool evalueElement( cFibElement & pFibElement,
78  const list<cVectorProperty> & vProperties ) = 0;
79 
80 };//class iEvalueFibElement
81 
82 };
83 
84 #endif
85 
86