|
|
||||||
|
sp_executor.h
Go to the documentation of this file.
71 * and it is updated whenever time or transitions are executed via Executor::ExecuteTime(Time::Type)
72 * or Executor::ExecuteEvent(Idx). If you plan to execute multiple generators with synchronized shared
73 * events, you will find the class ParallelExecutor with a very similar interface more appropriate.
75 * The Executor provides Methods that indicate which transitions currently are enabled, referring to the
76 * current state, the current clock values and the guard and invariant data from the TimedGenerator.
80 * Technically, the Executor class is derived from the TimedGenerator, however inheritence is private.
81 * The common way to initialise an Executor object is to construct it from a const ref to a TimedGenerator,
82 * which sets up additional internal data structures. Read-only access to the underlying generator
390 * Not implemented, should check for determinism and consitency of current state and clock values.
470 virtual void DoWrite(TokenWriter& rTw,const std::string& rLabel="", const Type* pContext=0) const;
#define FAUDES_TYPE_DECLARATION(ftype, ctype, cbase) faudes type declaration macro Definition: cfl_types.h:867 An Executor is a timed generator that maintains a current state. Definition: sp_executor.h:93 std::map< Idx, TimeInterval > mEGuardInterval Record interval in which each guard is enabled Definition: sp_executor.h:505 std::map< Transition, std::map< Idx, TimeInterval > > mTransClockIntervalMap Compiled generator data: map transition to clock to interval constraint. Definition: sp_executor.h:520 std::map< Idx, std::map< Idx, TimeInterval > > mStateClockIntervalMap Compiled generator data: map state to clock to interval constraint. Definition: sp_executor.h:523 A TokenReader reads sequential tokens from a file or string. Definition: cfl_tokenreader.h:64 A TokenWriter writes sequential tokens to a file, a string or stdout. Definition: cfl_tokenwriter.h:52 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 Includes all libFAUDES headers, no plugins. vGenerator Generator Plain generator, api typedef for generator with no attributes. Definition: cfl_generator.h:3240 std::map< Idx, Time::Type > ClockValue Definition: sp_executor.h:103 Include timed plugin headers. libFAUDES 2.32f --- 2024.12.22 --- c++ api documentaion by doxygen |