Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

mxcpcValueRange.h

00001 //           ///          //                                        Mx clientSDK
00002 //          /////        ////                    Mx Crossplatform Client Library
00003 //         /// XXX     XXX ///
00004 //        ///    XXX XXX    ///     $RCSfile: mxcpcValueRange.h,v $
00005 //       ///       XXX       ///     $Revision: 1.3 $
00006 //      ///      XXX XXX      ///     $Date: 2005/12/09 15:33:45 $
00007 //     ////    XXX     XXX    ////     $Author: cvs-kai $
00008 //    ////                     ////
00009 //   ////  M  O  B  O  T  I  X  ////////////////////////////////////////////////
00010 //  //// Security Vision Systems //////////////////////////////////////////////
00011 //                                                                          //
00012 //  Copyright (C) 2005 - 2006, MOBOTIX AG, Germany                         //
00013 //  This software is made available under the BSD licence. Please refer   //
00014 //  to the file LICENCE.TXT contained in this distribution for details.  //
00015 //                                                                      //
00016 //  /////////////////////////////////////////////////////////////////////
00017 
00018 
00019 
00020 #ifndef __MXCPC_VALUERANGE_H__
00021 #define __MXCPC_VALUERANGE_H__
00022 
00023 
00024 
00025 //! This diagnostics class can be fed with integer values and remembers their
00026 //! value range.
00027 /*!
00028  *  \ingroup mxcpc_core
00029  */
00030 class mxcpcValueRange {
00031  
00032  private:
00033   int Min, 
00034       Max;
00035   bool IsFresh;
00036 
00037  public:
00038   mxcpcValueRange();
00039   
00040  public:
00041   //! Feeds another integer value, possibly widening the represented value 
00042   //! range.
00043   void feedValue(int value);
00044   //! Prints the current range to <tt>stdout</tt>.
00045   void dumpRange(void);
00046 };
00047 
00048 
00049 
00050 #endif   // __MXCPC_VALUERANGE_H__

Generated on Mon Jan 30 15:52:44 2006 for mxcpc by  doxygen 1.4.4