CHROMA
inline_qio_write_erase_obj.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Inline task to write and delete an object from a named buffer
4  *
5  * Named object writing
6  */
7 
8 #ifndef __inline_qio_write_erase_obj_h__
9 #define __inline_qio_write_erase_obj_h__
10 
11 #include "chromabase.h"
13 #include "io/qprop_io.h"
15 
16 namespace Chroma
17 {
18  /*! \ingroup inlineio */
19  namespace InlineQIOWriteEraseNamedObjEnv
20  {
21  bool registerAll();
22 
23  //! Inline writing of memory objects
24  /*! \ingroup inlineio */
26  {
27  public:
30 
31  unsigned long getFrequency(void) const {return params.frequency;}
32 
33  //! Do the writing
34  void operator()(const unsigned long update_no,
35  XMLWriter& xml_out);
36 
37  private:
39  };
40 
41  }
42 
43 }
44 
45 #endif
Abstract inline measurements.
Primary include file for CHROMA library code.
unsigned long getFrequency(void) const
Tell me how often I should measure this beastie.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the writing.
InlineMeas(const InlineQIOWriteNamedObjEnv::Params &p)
Inline task to write an object from a named buffer.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
Routines associated with Chroma propagator IO.