Pipeline.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2011 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // dspsr/Signal/General/dsp/Pipeline.h
10 
11 #ifndef __dspsr_Pipeline_h
12 #define __dspsr_Pipeline_h
13 
14 #include "Reference.h"
15 #include "environ.h"
16 
17 namespace dsp {
18 
19  class Source;
20 
22 
23  class Pipeline : public Reference::Able
24  {
25 
26  public:
27 
29  virtual void set_source (Source*) = 0;
30 
32  virtual Source* get_source () = 0;
33 
35  virtual void construct () = 0;
36 
38  virtual void prepare () = 0;
39 
41  virtual void run () = 0;
42 
44  virtual void finish () = 0;
45 
47  virtual uint64_t get_minimum_samples () const = 0;
48 
49  };
50 }
51 
52 #endif // !defined(__Pipeline_h)
virtual void set_source(Source *)=0
Set the Source from which data are obtained.
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
virtual void prepare()=0
Prepare to process.
virtual void construct()=0
Build the data reduction pipeline.
virtual void finish()=0
Finish everything.
virtual uint64_t get_minimum_samples() const =0
Get the minimum number of samples required to process.
virtual void run()=0
Run through the data.
virtual Source * get_source()=0
Get the Source from which data are obtained.

Generated using doxygen 1.8.17