OSFEG-C++  1.4.6
OpenSF Error Generation Library
Analytical.h
1 /*
2  * openSF Error Generation Libraries (OSFEG)
3  * Deimos Space, S.L.U.
4  *
5  * This file is part of OSFEG. OSFEG is free software; you can redistribute it
6  * and/or modify it under the terms of the 'ESA Software Community Licence Permissive' as
7  * published by the European Space Agency; either version 2.4 of the License,
8  * or (at your option) any later version. You should have received a
9  * copy of the 'ESA Software Community Licence Permissive - v2.4' along with this program
10  * or one can be found at <http://eop-cfi.esa.int/index.php/docs-and-mission-data/licensing-documents>.
11  *
12  */
13 
14 #ifndef ANALYTICAL_H_
15 #define ANALYTICAL_H_
16 
17 #include <string>
18 
19 #include "stl_tree/Composite.h"
20 
21 using namespace std;
29 class Analytical: public Composite
30 {
31 protected:
32  double value;
33  string type;
34 public:
40  Analytical(string type);
41 
47  Analytical(double value);
48 
52  virtual ~Analytical();
53 
60  virtual double getValue(double time);
61 };
62 
63 #endif /* ANALYTICAL_H_ */
Definition: Analytical.h:30
virtual double getValue(double time)
Analytical(string type)
double value
Fixed value (for float)
Definition: Analytical.h:32
string type
Type of value (currently only "Float")
Definition: Analytical.h:33
Analytical(double value)
virtual ~Analytical()
Definition: Composite.h:25