|
SimulationChain
|
#include <IGenerator.h>

Public Member Functions | |
| virtual double | GenerateNext ()=0 |
| Used to generate next signal sample. More... | |
| virtual void | Reset ()=0 |
| Resets the generator to the enter state. | |
| virtual void | SetDelay (int)=0 |
| Sets the delay in samples. | |
| virtual void | LoadState (boost::property_tree::ptree::value_type const &)=0 |
| Sets generator parameters. | |
| virtual void | SaveState (boost::property_tree::ptree &) const =0 |
| Saves generator to given tree. | |
| virtual GenType | GetType () const =0 |
| Gets type of the generator. | |
| virtual const std::string & | GetName () const =0 |
| Gets name. | |
| virtual void | SetName (std::string &sName)=0 |
| Sets name. | |
| virtual void | SaveHistory ()=0 |
| Internally saves a current state in relation with the output signal generation. | |
| virtual void | LoadHistory ()=0 |
| Restores an internal state saved with SaveHistory() method. | |
Intefrace to be inherited by generator subclasses.
|
pure virtual |
Used to generate next signal sample.
Implemented in CSineGen, CTriangleGen, CNoiseGen, CPulseGen, CSquareGen, and CStepGen.