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

#include <Analytical.h>

Inheritance diagram for Analytical:
Composite BinaryOperations Harmonic Polynomial Sampled Step

Public Member Functions

 Analytical (string type)
 
 Analytical (double value)
 
virtual ~Analytical ()
 
virtual double getValue (double time)
 
- 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

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

Analytical class describes a group of error types.

Author
jjrp

Constructor & Destructor Documentation

◆ Analytical() [1/2]

Analytical::Analytical ( string  type)

Class Analytical constructor.

Parameters
typeString with the error type description.

◆ Analytical() [2/2]

Analytical::Analytical ( double  value)

Class Analytical constructor

Parameters
valueDouble with the default error type , float.

◆ ~Analytical()

virtual Analytical::~Analytical ( )
virtual

Class Analytical default destructor.

Member Function Documentation

◆ getValue()

virtual double Analytical::getValue ( double  time)
virtual

Returns the value of an analytical error at the specified time.

Parameters
timeDouble with the time.
Returns
Value of the error.

Reimplemented from Composite.

Reimplemented in Step, Sampled, Polynomial, Harmonic, and BinaryOperations.


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