LTI-Lib latest version v1.9 - last update 10 Apr 2010

ltiStatisticsFunctor.h

00001 /*
00002  * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006
00003  * Lehrstuhl fuer Technische Informatik, RWTH-Aachen, Germany
00004  *
00005  * This file is part of the LTI-Computer Vision Library (LTI-Lib)
00006  *
00007  * The LTI-Lib is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public License (LGPL)
00009  * as published by the Free Software Foundation; either version 2.1 of
00010  * the License, or (at your option) any later version.
00011  *
00012  * The LTI-Lib is distributed in the hope that it will be
00013  * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
00014  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with the LTI-Lib; see the file LICENSE.  If
00019  * not, write to the Free Software Foundation, Inc., 59 Temple Place -
00020  * Suite 330, Boston, MA 02111-1307, USA.
00021  */
00022 
00023 
00024 /*----------------------------------------------------------------
00025  * project ....: LTI Digital Image/Signal Processing Library
00026  * file .......: ltiStatisticsFunctor.h
00027  * authors ....: Jochen Wickel
00028  * organization: LTI, RWTH Aachen
00029  * creation ...: 25.9.2000
00030  * revisions ..: $Id: ltiStatisticsFunctor.h,v 1.5 2006/02/08 12:46:58 ltilib Exp $
00031  */
00032 
00033 #ifndef _LTI_STATISTICS_FUNCTOR_H_
00034 #define _LTI_STATISTICS_FUNCTOR_H_
00035 
00036 //TODO: include only those files which are needed in this header!!
00037 
00038 // TODO: Check this include to parent class:
00039 #include "ltiFunctor.h"
00040 
00041 namespace lti {
00042   /**
00043    * This is the base class for all kinds of nice statistics functors.
00044    * Besides that, it does absolutely nothing.
00045    */
00046   class statisticsFunctor : public functor {
00047   public:
00048     /**
00049      * the parameters for the class statisticsFunctor
00050      */
00051     class parameters : public functor::parameters {
00052     public:
00053       /**
00054        * default constructor
00055        */
00056       parameters();
00057 
00058       /**
00059        * copy constructor
00060        * @param other the parameters object to be copied
00061        */
00062       parameters(const parameters& other);
00063 
00064       /**
00065        * destructor
00066        */
00067       ~parameters();
00068 
00069       /**
00070        * returns name of this type
00071        */
00072       const char* getTypeName() const;
00073 
00074       /**
00075        * copy the contents of a parameters object
00076        * @param other the parameters object to be copied
00077        * @return a reference to this parameters object
00078        */
00079       parameters& copy(const parameters& other);
00080 
00081       /**
00082        * returns a pointer to a clone of the parameters
00083        */
00084       virtual functor::parameters* clone() const;
00085 
00086     };
00087 
00088     /**
00089      * default constructor
00090      */
00091     statisticsFunctor();
00092 
00093     /**
00094      * copy constructor
00095      * @param other the object to be copied
00096      */
00097     statisticsFunctor(const statisticsFunctor& other);
00098 
00099     /**
00100      * destructor
00101      */
00102     virtual ~statisticsFunctor();
00103 
00104     /**
00105      * returns the name of this type ("statisticsFunctor")
00106      */
00107     virtual const char* getTypeName() const;
00108 
00109     /**
00110      * copy data of "other" functor.
00111      * @param other the functor to be copied
00112      * @return a reference to this functor object
00113      */
00114     statisticsFunctor& copy(const statisticsFunctor& other);
00115 
00116     /**
00117      * returns a pointer to a clone of this functor.
00118      */
00119     virtual functor* clone() const;
00120 
00121     /**
00122      * returns used parameters
00123      */
00124     const parameters& getParameters() const;
00125   };
00126 }
00127 
00128 #endif

Generated on Sat Apr 10 15:26:15 2010 for LTI-Lib by Doxygen 1.6.1