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
17namespace Pulsar {
18
19 class PhaseWeight;
20
22
26 {
27
28 public:
29
31 virtual void get_weight (PhaseWeight* weight) = 0;
32
35
37 virtual PhaseWeightFunction* clone () const = 0;
38 };
39
40}
41
42
43#endif // !defined __Pulsar_PhaseWeightFunction_h
Data manipulation implementations.
Definition Algorithm.h:19
Algorithms that produce PhaseWeight objects.
Definition PhaseWeightFunction.h:26
virtual TextInterface::Parser * get_interface()=0
Return a text interface that can be used to configure this instance.
virtual PhaseWeightFunction * clone() const =0
Return a copy constructed instance of self.
virtual void get_weight(PhaseWeight *weight)=0
Retrieve the PhaseWeight.
Stores a weight for each Profile phase bin.
Definition PhaseWeight.h:24
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0