|
|
||||||
|
sp_simeventset.cpp
Go to the documentation of this file.
50 void SimEventAttribute::DoWrite(TokenWriter& rTw, const std::string& rLabel, const Type* pContext) const {
68 if(mStochasticAttribute.mPdf==SimStochasticEventAttribute::Exponential) rTw.WriteOption("Exponential");
84 void SimEventAttribute::DoRead(TokenReader& rTr, const std::string& rLabel, const Type* pContext) {
#define FD_DC(message) Debug: optional report on container operations. Definition: cfl_definitions.h:153 #define FAUDES_TYPE_IMPLEMENTATION(ftype, ctype, cbase) faudes type implementation macros, overall Definition: cfl_types.h:946 virtual void DoWrite(TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const Writes attribute to TokenWriter, see AttributeVoid for public wrappers. Definition: cfl_cgenerator.cpp:67 virtual void DoRead(TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) Reads attribute from TokenReader, see AttributeVoid for public wrappers. Definition: cfl_cgenerator.cpp:138 bool DoEqual(const AttributeCFlags &rOther) const Test equality of configuration data. Definition: cfl_cgenerator.cpp:56 Attribute for an event in the context of simulation. Definition: sp_simeventset.h:149 virtual void DoWrite(TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const Writes the attribute to TokenWriter, see AttributeVoid for public wrappers. Definition: sp_simeventset.cpp:50 Time::Type mScheduledFor Next scheduled occurence of this event relative to current time. Definition: sp_simeventset.h:233 SimStochasticEventAttribute mStochasticAttribute Stochastic definition data Definition: sp_simeventset.h:279 virtual void DoRead(TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) Reads the attribute from TokenReader, see AttributeVoid for public wrappers. Definition: sp_simeventset.cpp:84 const SimStochasticEventAttribute & Stochastic(void) const Get stochastic attribute. Definition: sp_simeventset.h:233 SimPriorityEventAttribute mPriorityAttribute Priority definition data Definition: sp_simeventset.h:276 const SimPriorityEventAttribute & Priority(void) const Get priority attribute. Definition: sp_simeventset.h:223 A TokenReader reads sequential tokens from a file or string. Definition: cfl_tokenreader.h:63 bool Eos(const std::string &rLabel) Peek a token and check whether it ends the specified section. Definition: cfl_tokenreader.cpp:439 void ReadEnd(const std::string &rLabel) Close the current section by matching the previous ReadBegin(). Definition: cfl_tokenreader.cpp:364 void ReadBegin(const std::string &rLabel) Open a section by specified label. Definition: cfl_tokenreader.cpp:249 A TokenWriter writes sequential tokens to a file, a string or stdout. Definition: cfl_tokenwriter.h:51 void WriteOption(const std::string &rOpt) Write option (may not contain any "+") Definition: cfl_tokenwriter.cpp:431 const std::string & StringValue(void) const Get string value of a name token. Definition: cfl_token.cpp:177 const std::string & OptionValue(void) const Get option value of a name token. Definition: cfl_token.cpp:183 faudes::Float FloatValue(void) const Get float value of a numeric token. Definition: cfl_token.cpp:172 Base class of all libFAUDES objects that participate in the run-time interface. Definition: cfl_types.h:239 Eventsets with execution data for simulation. libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |