abs_inline_measurement.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // $Id: abs_inline_measurement.h,v 3.0 2006/04/03 04:59:01 edwards Exp $
00003 /*! \file
00004  * \brief Abstract inline measurements
00005  */
00006 
00007 #ifndef __abs_inline_measurement_h__
00008 #define __abs_inline_measurement_h__
00009 
00010 #include "chromabase.h"
00011 
00012 namespace Chroma 
00013 { 
00014 
00015   /*! \ingroup inline */
00016   class AbsInlineMeasurement 
00017   {
00018   public:
00019     //! Virtual Destructor
00020     virtual ~AbsInlineMeasurement(void) {}
00021 
00022     //! Tell me how often I should measure this beastie
00023     virtual unsigned long getFrequency(void) const = 0;
00024 
00025     //! Do the measurement
00026     virtual void operator()(unsigned long update_no,
00027                             XMLWriter& xml_out) = 0;
00028   };
00029 
00030 } // End namespace
00031 
00032 #endif
00033 

Generated on Sun Nov 22 04:28:48 2009 for CHROMA by  doxygen 1.4.7