Implementation of a simulator in the time domain.
Public Member Functions |
| ARTtimeSimulator (const string name, const string sds="", const string lds="", const string htm="") |
| Creates a new Simulator object.
|
virtual void | AddTimeModule (ARTItimeModule *timeModule) |
| Adds a time module to the current simulation.
|
virtual void | AddSimulationParameter (const string &name, const string &expr) |
| Adds a global parameter to the current simulator.
|
virtual void | AddSimulationParameter (const string &name, const std::complex< double > &val) |
| Adds a global parameter to the current simulator.
|
virtual void | AddSimulationParameter (const string &name, double val) |
| Adds a global parameter to the current simulator.
|
virtual void | SimulateTimeStep (int idx) |
| Simulates the time step of the given index.
|
virtual void | SetSimulationParameter (const string &name, const string &expr) |
| Sets the value of a global parameter of the current simulator.
|
virtual void | SetSimulationParameter (const string &name, const std::complex< double > &val) |
| Sets the value of a global parameter of the current simulator.
|
virtual void | SetSimulationParameter (const string &name, double val) |
| Sets the value of a global parameter of the current simulator.
|
virtual ARTdataProp * | FindDataPropInSimulator (string exp) |
| Returns a data property with the specified name if it is saved in the current simulator.
|
virtual ARTItimeModule * | FindTimeModuleInSimulator (string exp) |
| Returns a time module with the given name if it is part of the current simulator.
|
virtual | ~ARTtimeSimulator () |
| Destructor of the ARTtimeSimulator class.
|
| ARTsimulator (const string name, const string domain="invalidDomain", const string sds="", const string lds="", const string htm="") |
| Creates a new Simulator object.
|
virtual ARTproperty * | GetDomain () |
| Returns the current domain of the simulator.
|
virtual ParserX * | GetParser () |
| Returns the global parser object of the simulator.
|
virtual | ~ARTsimulator () |
| The destructor of the simulator class is doing nothing as all saved properties will be deallocated by the destructor of the ARTObject class.
|
| ARTobject (const string name, const string sds="", const string lds="", const string htm="") |
| objects must have a name, the rest is optional
|
| ARTobject (const ARTobject &orig) |
| copy constructor
|
virtual ARTcell * | clone () |
ARTproperty * | GetProperties (ARTproperty *pos) |
| iterate through property list (pass NULL to restart iteration, receive NULL after last element)
|
ARTproperty * | FindProperty (const string nam) |
| find and return named property (or return NULL if no match)
|
ARTproperty * | AppendProperty (const string name, const string sds="", const string lds="", const string htm="") |
| Append new property with given name to ARTobject.
|
ARTdataProp * | AppendDataProp (const string name, ARTvariant *val, const string sds="", const string lds="", const string htm="") |
| append new data property with given name to ARTobject
|
ARTdataProp * | AppendDataProp (const string name, const double val, const string sds="", const string lds="", const string htm="") |
ARTdataProp * | AppendDataProp (const string name, const float val, const string sds="", const string lds="", const string htm="") |
ARTdataProp * | AppendDataProp (const string name, const string val, const string sds="", const string lds="", const string htm="") |
ARTdataProp * | AppendDataProp (const string name, const int val, const string sds="", const string lds="", const string htm="") |
ARTdataProp * | AppendDataProp (const string name, const string *val, const string sds="", const string lds="", const string htm="") |
ARTdataProp * | AppendDataProp (ARTdataProp *dataProp) |
ARTlistProp * | AppendListProp (const string name, const string sds="", const string lds="", const string htm="") |
| append new listableProperty with given name
|
bool | DeleteProperty (ARTproperty *prp) |
| delete current property (which was recently accessed by GetProperties, FindProperty or AppendProperty)
|
ARTmethod * | GetMethods (ARTmethod *pos) |
| iterate through method list (pass NULL to restart iteration, receive NULL after last element)
|
ARTmethod * | FindMethod (const string nam) |
| find and return named method (or return NULL if no match)
|
ARTmethod * | AppendMethod (const string name, const string sds="", const string lds="", const string htm="") |
| append new method with given name
|
bool | DeleteMethod (ARTmethod *mtd) |
| delete current method (which was recently accessed by GetProperties, FindProperty or AppendProperty)
|
void | SetPropertyList (list< ARTproperty * > &l) |
void | CopyPropertyListEntries (ARTobject *obj) |
| copies properties from other objects (also copying the objects of all list-entries). OVERWRITES list own list!
|
void | CopyMethodListEntries (ARTobject *obj) |
| copies methods from other objects (also copying the objects of all list-entries). OVERWRITES list own list!
|
list< ARTproperty * > | GetPropertyList () |
list< ARTmethod * > | GetMethodList () |
| ARTcell (const string name="", const string sds="", const string lds="", const string htm="") |
| ARTcell (const ARTcell &orig) |
const string & | GetName () const |
const string & | GetShortDescription () const |
const string & | GetLongDescription () const |
const string & | GetHelpFilename () const |
void | SetName (const string name) |