Psyllid  v1.12.4
Project 8 Data Acquisisition Software
egg_writer.hh
Go to the documentation of this file.
1 /*
2  * egg_writer.hh
3  *
4  * Created on: Mar 14, 2017
5  * Author: nsoblath
6  *
7  */
8 
9 #ifndef PSYLLID_EGG_WRITER_HH_
10 #define PSYLLID_EGG_WRITER_HH_
11 
12 #include "monarch3_wrap.hh"
13 
14 namespace psyllid
15 {
24  class egg_writer
25  {
26  public:
27  egg_writer();
28  virtual ~egg_writer();
29 
30  virtual void prepare_to_write( monarch_wrap_ptr a_mw_ptr, header_wrap_ptr a_hw_ptr ) = 0;
31  };
32 
33 } /* namespace psyllid */
34 
35 #endif /* PSYLLID_EGG_WRITER_HH_ */
std::shared_ptr< header_wrapper > header_wrap_ptr
Base class for all writers.
Definition: egg_writer.hh:24
std::shared_ptr< monarch_wrapper > monarch_wrap_ptr
virtual void prepare_to_write(monarch_wrap_ptr a_mw_ptr, header_wrap_ptr a_hw_ptr)=0
virtual ~egg_writer()
Definition: egg_writer.cc:22