PhaseWeightFunction.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2004 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/General/Pulsar/PhaseWeightFunction.h
10 
11 #ifndef __Pulsar_PhaseWeightFunction_h
12 #define __Pulsar_PhaseWeightFunction_h
13 
14 #include "Pulsar/Algorithm.h"
15 #include "TextInterface.h"
16 
17 namespace Pulsar {
18 
19  class PhaseWeight;
20 
22 
25  class PhaseWeightFunction : public Algorithm
26  {
27 
28  public:
29 
31  virtual void get_weight (PhaseWeight* weight) = 0;
32 
34  virtual TextInterface::Parser* get_interface () = 0;
35 
37  virtual PhaseWeightFunction* clone () const = 0;
38  };
39 
40 }
41 
42 
43 #endif // !defined __Pulsar_PhaseWeightFunction_h
virtual void get_weight(PhaseWeight *weight)=0
Retrieve the PhaseWeight.
virtual PhaseWeightFunction * clone() const =0
Return a copy constructed instance of self.
Defines the PSRCHIVE library.
Definition: CalSource.h:17
virtual TextInterface::Parser * get_interface()=0
Return a text interface that can be used to configure this instance.

Generated using doxygen 1.8.17