84 virtual void GetValue (
double * dAllVal,
double const time) {};
208 void DumpTree (
const string& file=
"",
Module* mod=NULL,
int ichild = 0,
int level = 0) ;
254 bool StaticDOM(DOMDocument* doc, DOMNode* node,
bool append =
true);
mode
Definition Declarations.h:112
Implementation of JEMRIS Prototype.
Concat sequence prototype.
Definition ConcatSequence.h:48
Module super class! ABC for all Objects in the sequence framework.
Definition Module.h:41
void Initialize(DOMNode *node)
Initialize this module.
Definition Module.cpp:47
virtual string GetInfo()
Get informations on this module.
Definition Module.h:268
virtual Module * Clone() const =0
Clone a module.
bool WriteStaticXML(const string &xml_file)
Rewrite XML-tree where all expressions are evaluated (for IDEA)
Definition Module.cpp:386
Module * GetParent()
Get Parent.
Definition Module.cpp:82
vector< Module * > GetChildrenDynamic() const
Get Children dynamic (old non-cached version for dynamic events such as eddy currents)
Definition Module.cpp:98
TPOI m_tpoi
Time points of interest are stored the referred repository.
Definition Module.h:272
virtual int GetNumOfTPOIs()
Get the Number of TPOIs of this module.
Definition Module.h:139
string m_info
Information string for this module.
Definition Module.h:274
virtual ~Module()
Destructor.
Definition Module.h:57
Module()
Constructor.
Definition Module.cpp:36
virtual TPOI * GetTPOIs()
get the TPOIs of this module
Definition Module.h:198
int GetHardwareMode()
Return the hardware mode of this module.
Definition Module.h:235
int GetDepth(int depth=0)
Return tree depth from this module (including depth of Containers)
Definition Module.cpp:257
virtual bool Prepare(const PrepareMode mode)
Prepare this pulse.
Definition Module.cpp:66
virtual Module * GetPrototypeByAttributeValue(string name, string attrib)
Get a Prototype by value of an attribute.
Definition Module.cpp:77
Module * GetChild(unsigned int position) const
Get Child.
Definition Module.cpp:106
SequenceTree * m_seq_tree
Reference to the sequence tree.
Definition Module.h:270
double m_duration
The duration of this module.
Definition Module.h:275
void AddAllDOMattributes(bool show_hidden=true)
Definition Module.cpp:154
void DumpTree(const string &file="", Module *mod=NULL, int ichild=0, int level=0)
Dump the sequence tree.
Definition Module.cpp:280
bool StaticDOM(DOMDocument *doc, DOMNode *node, bool append=true)
Create a DOM tree where all expressions are evaluated (for IDEA)
Definition Module.cpp:422
bool AddDOMattribute(const string attribute, const string value)
Add attribute and value to the DOM node of this module.
Definition Module.cpp:142
Module(const Module &)
Copy constructor.
Parameters * m_parameters
Pointer to the sole instance of the Parameters.
Definition Module.h:271
int m_calls
Number of calls of this module.
Definition Module.h:276
virtual void GetValue(double *dAllVal, double const time)
Get the value of this element.
Definition Module.h:84
vector< Module * > GetChildren() const
Get Children.
Definition Module.cpp:90
int m_hardware_mode
Hardware mode (-1: simulation only; 0: both; 1: hardware only)
Definition Module.h:277
bool InsertChild(const string &name)
Insert Child.
Definition Module.cpp:122
virtual double GetDuration()=0
int GetNumberOfChildren() const
Get number of Children.
Definition Module.cpp:114
World parameters provide the parametric data of the sequence.
Definition Parameters.h:37
Prototype super class.
Definition Prototype.h:71
Tree representation of the sequence.
Definition SequenceTree.h:45
int GetSize() const
Definition TPOI.cpp:57