GeneratorInterpreter.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2009 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/Util/resources/Pulsar/GeneratorInterpreter.h
10
11#ifndef __Pulsar_GeneratorInterpreter_h
12#define __Pulsar_GeneratorInterpreter_h
13
14#include "Pulsar/Generator.h"
15#include "CommandParser.h"
16
17namespace Pulsar
18{
19
21 class Generator::Interpreter : public CommandParser
22 {
23
24 public:
25
26 Interpreter ();
27
28 ~Interpreter ();
29
31 std::string polyco (const std::string& args);
32
34 std::string tempo2 (const std::string& args);
35
37 std::string empty ();
38
39 static Configuration::Parameter<Generator*>& get_option ();
40
41 protected:
42
43 std::string current;
44
45 };
46
47}
48
49#endif
A configurable parameter.
Definition Configuration.h:83
Interprets configuration strings into the default generator.
Definition GeneratorInterpreter.h:22
std::string polyco(const std::string &args)
Install the interative Gaussian baseline algorithm.
Definition GeneratorInterpreter.C:48
std::string empty()
Return the configuration string of the current baseline policy.
Definition GeneratorInterpreter.C:80
std::string tempo2(const std::string &args)
Install the default baseline algorithm (minimum window)
Definition GeneratorInterpreter.C:61

Generated using doxygen 1.14.0