CHROMA
abs_inline_measurement.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Abstract inline measurements
4  */
5 
6 #ifndef __abs_inline_measurement_h__
7 #define __abs_inline_measurement_h__
8 
9 #include "chromabase.h"
10 
11 namespace Chroma
12 {
13 
14  /*! \ingroup inline */
16  {
17  public:
18  //! Virtual Destructor
19  virtual ~AbsInlineMeasurement(void) {}
20 
21  //! Tell me how often I should measure this beastie
22  virtual unsigned long getFrequency(void) const = 0;
23 
24  //! Do the measurement
25  virtual void operator()(unsigned long update_no,
26  XMLWriter& xml_out) = 0;
27  };
28 
29 } // End namespace
30 
31 #endif
32 
Primary include file for CHROMA library code.
virtual ~AbsInlineMeasurement(void)
Virtual Destructor.
virtual unsigned long getFrequency(void) const =0
Tell me how often I should measure this beastie.
virtual void operator()(unsigned long update_no, XMLWriter &xml_out)=0
Do the measurement.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10