|
|
||||||
|
sp_simconditionset.cpp
Go to the documentation of this file.
86 void AttributeSimCondition::DoWrite(TokenWriter& rTw, const std::string& rLabel, const Type* pContext) const {
134 void AttributeSimCondition::DoRead(TokenReader& rTr, const std::string& rLabel, const Type* pContext) {
291 SimConditionSet::SimConditionSet(const SimConditionSet& rOtherSet) : TaNameSet<AttributeSimCondition>(rOtherSet) {
#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 #define FAUDES_TYPE_IMPLEMENTATION_EQUAL(ftype, ctype, cbase) Definition: cfl_types.h:904 #define FAUDES_TYPE_IMPLEMENTATION_COPY(ftype, ctype, cbase) Definition: cfl_types.h:891 #define FAUDES_TYPE_IMPLEMENTATION_CAST(ftype, ctype, cbase) Definition: cfl_types.h:893 #define FAUDES_TYPE_IMPLEMENTATION_ASSIGN(ftype, ctype, cbase) Definition: cfl_types.h:896 bool DoEqual(const AttributeFlags &rOther) const Test equality of configuration data. Definition: cfl_attributes.cpp:121 Attribute for a simulation condition. Definition: sp_simconditionset.h:134 bool DoEqual(const AttributeSimCondition &rAttr) const Equality method. Definition: sp_simconditionset.cpp:72 void DoAssign(const AttributeSimCondition &rSrcAttr) Assignment method. Definition: sp_simconditionset.cpp:55 SimEventCondition mEventConditionAttribute Event based condition data. Definition: sp_simconditionset.h:312 SampledDensityFunction mSamplesDuration Sampled durations, for which this condition remains satisfied. Definition: sp_simconditionset.h:297 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_simconditionset.cpp:134 bool Satisfied(void) const Test whether the condition is currently satisfied. Definition: sp_simconditionset.h:273 SimStateCondition mStateConditionAttribute State based condition data. Definition: sp_simconditionset.h:315 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_simconditionset.cpp:86 SampledDensityFunction mSamplesPeriod Sampled period, at which this condition becomes satisfied. Definition: sp_simconditionset.h:292 Time::Type mActivationTime Condition state: when last satisfied became true. Definition: sp_simconditionset.h:321 const std::string & Name(void) const Definition: sp_densityfnct.h:81 void Generator(const TimedGenerator &rGen) Initialise from TimedGenerator. Definition: sp_executor.cpp:46 void SymbolicName(Idx index, const std::string &rName) Set new name for existing index. Definition: cfl_nameset.cpp:400 Synchronized parallel execution of TimedGenerators. Definition: sp_pexecutor.h:64 void Sample(Time::Type time) Definition: sp_densityfnct.cpp:242 SimConditionSet EnabledConditions(void) Get set of enabled conditions. Definition: sp_simconditionset.cpp:304 std::vector< StateSet > mStateSets Definition: sp_simconditionset.h:67 AttributeSimCondition * Attributep(const Idx &rElem) Definition: cfl_nameset.h:843 const AttributeSimCondition & Attribute(const Idx &rElem) const Definition: cfl_nameset.h:844 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 Base class of all libFAUDES objects that participate in the run-time interface. Definition: cfl_types.h:239 void Read(const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0) Read configuration data from file with label specified. Definition: cfl_types.cpp:261 void Write(const Type *pContext=0) const Write configuration data to console. Definition: cfl_types.cpp:139 Executor with logging facilities Set of named simulation conditions. libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |