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
iEvaluePosition.h
Go to the documentation of this file.
1 /**
2  * @class iEvaluePosition
3  * file name: iEvaluePosition.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  * @pattern strategy
28  * This file contains the interface for evaluing Fib-objects.
29  * Every class which implements this interface have to implement the method
30  * evaluePosition.
31  * When the Fib-object is evalued this method is called every time a
32  * pointelement is reached. The parameter for the method are the
33  * positionsvector of the point and properties of the point.
34  */
35 /*
36 History:
37 18.04.2010 Oesterholz created
38 */
39 
40 #ifndef ___I_EVALUE_POSITION__
41 #define ___I_EVALUE_POSITION__
42 
43 #include "version.h"
44 
45 #include "cVectorPosition.h"
46 #include "cVectorProperty.h"
47 
48 
49 #include <list>
50 
51 
52 using std::list;
53 
54 namespace fib{
55 
57 public:
58 
59  /**
60  * destructor
61  */
62  virtual ~iEvaluePosition(){};
63 
64  /**
65  * The method with wich the evalued points with ther properties are
66  * inserted /evalued. Everytime a point (to evalue) is reached in the
67  * evaluation, this method is called with the position and the
68  * properties of the point.
69  *
70  * @param vPosition the position of the point, which is evalued
71  * @param vProperties a list of the properties of the point
72  */
73  virtual bool evaluePosition( const cVectorPosition & vPosition,
74  const list<cVectorProperty> & vProperties ) = 0;
75 
76 };//class iEvaluePosition
77 
78 };
79 
80 #endif
81 
82