|
virtual Predictor * | clone () const =0 |
| Return a new, copy constructed instance of self.
|
|
virtual Generator * | generator () const =0 |
| Return a new Generator set up to produce a new Predictor like self.
|
|
virtual void | insert (const Predictor *)=0 |
| Add the information from the supplied predictor to self. More...
|
|
virtual void | keep (const std::vector< MJD > &epochs)=0 |
| Keep only the components required to span the given epochs.
|
|
virtual bool | matches (const Predictor *) const =0 |
| Return true if the Predictor configuration matches this.
|
|
virtual void | set_observing_frequency (long double MHz)=0 |
| Set the observing frequency at which phase and time are related.
|
|
virtual long double | get_observing_frequency () const =0 |
| Get the observing frequency at which phase and epoch are related.
|
|
virtual Phase | phase (const MJD &t) const =0 |
| Return the phase, given the epoch.
|
|
virtual MJD | iphase (const Phase &phase, const MJD *guess=0) const =0 |
| Return the epoch, given the phase and, optionally, a first guess.
|
|
virtual long double | frequency (const MJD &t) const =0 |
| Return the spin frequency, given the epoch.
|
|
virtual Phase | dispersion (const MJD &t, long double MHz) const =0 |
| Return the phase correction for dispersion delay.
|
|
virtual void | load (FILE *)=0 |
| Load from an open stream.
|
|
virtual void | unload (FILE *) const =0 |
| Unload to an open stream.
|
|
virtual void | load_file (const std::string &filename) |
| Load from the specified file.
|
|
virtual void | unload_file (const std::string &filename) const |
| Unload to the specified file.
|
|
| Able () |
| Default constructor.
|
|
| Able (const Able &) |
| Copy constructor.
|
|
Able & | operator= (const Able &) |
| Assignment operator.
|
|
virtual | ~Able () |
| Destructor.
|
|
unsigned | get_reference_count () const |
| Returns the number of references there are to this.
|
|
| HeapTracked () |
| Default constructor.
|
|
| HeapTracked (const HeapTracked &) |
| Copy constructor.
|
|
HeapTracked & | operator= (const HeapTracked &) |
| Assignment operator.
|
|
virtual | ~HeapTracked () |
| Destructor.
|
|
bool | __is_on_heap () const |
| Return true if this instance is found in heap addresses.
|
|
Functions that predict pulse phase.
This pure virtual base class defines the interface to pulse phase predictors