OSFEG-C++  1.4.6
OpenSF Error Generation Library
Sampled Class Reference

#include <Sampled.h>

Inheritance diagram for Sampled:
Analytical Composite

Public Member Functions

double getValue (double time)
 
 ~Sampled ()
 
 Sampled (string type)
 
- Public Member Functions inherited from Analytical
 Analytical (string type)
 
 Analytical (double value)
 
virtual ~Analytical ()
 
- Public Member Functions inherited from Composite
 Composite ()
 
 Composite (const Composite &)=delete
 
Compositeoperator= (const Composite &)=delete
 
 Composite (Composite &&)=default
 
Compositeoperator= (Composite &&)=default
 
virtual ~Composite ()
 
void add (Composite *node)
 
void remove (Composite *node)
 
CompositegetChild (int index)
 
bool hasChildNodes () const
 

Protected Attributes

vector< double > A
 Pre-computed data for the spline-based interpolation (3rd order coefficients)
 
vector< double > B
 Pre-computed data for the spline-based interpolation (2nd order coefficients)
 
vector< double > C
 Pre-computed data for the spline-based interpolation (1st order coefficients)
 
- Protected Attributes inherited from Analytical
double value
 Fixed value (for float)
 
string type
 Type of value (currently only "Float")
 
- Protected Attributes inherited from Composite
std::vector< Composite * > children
 
Compositeparent
 

Detailed Description

Calculates a perturbation modeled as a number of points that need to be interpolated.

It implements five different functions, returning the interpolation value modeled as:

Constructor & Destructor Documentation

◆ ~Sampled()

Sampled::~Sampled ( )

Sampled class destructor

◆ Sampled()

Sampled::Sampled ( string  type)

Sampled class constructor

Parameters
typeString with the error type description.

Member Function Documentation

◆ getValue()

double Sampled::getValue ( double  time)
virtual

Returns the value of a perturbation that needs an interpolation to be defined.

Overwrites method getValue from parent class Analytical.

Parameters
timeDouble with the time in which the error is evaluated.
Returns
Value of the perturbation.

Reimplemented from Analytical.


The documentation for this class was generated from the following file: