![]() |
VR-Forces 5.0.1 Developer's Guide
|
class DtPlan:
Instances of DtPlan represent the Plan associated with a single name.

Public Types | |
| enum | QuickLaunchFlags { None = 0, IsQuickLaunch = 0x00000001, ShowOnQuickLaunchToolbar = 0x00000002, Launched = 0x00000004 } |
Public Types inherited from DtReaderWriter | |
| typedef std::vector < DtSymbolString > | aliasContainer |
| typedef std::vector < DtSymbolString >::iterator | aliasIter |
| typedef std::vector < DtSymbolString > ::const_iterator | aliasConstIter |
| typedef std::vector< DtFilename > | SearchPaths |
| typedef std::pair < DtSymbolString, DtString > | DtVariableNameType |
| typedef DtReaderWriterFactory *(* | DtReaderWriterFactoryCreatorFcn )() |
Public Member Functions | |
| DtPlan () | |
| DtPlan (const DtUUID &planName, DtPlanExecutor *planExecutor, const DtString &name="Plan", DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtPlan (const DtString &name, const DtUUID &planName, const DtPlan &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtPlan (const DtPlan &orig) | |
| virtual | ~DtPlan () |
| virtual void | init () |
| virtual void | addVariables () |
| virtual DtPlan * | clone (const DtString &name, const DtUUID &planName, DtReaderWriterRegistry *parentRegistry=NULL) const |
| DtPlan & | operator= (const DtPlan &orig) |
| virtual bool | operator== (const DtPlan &orig) const |
| virtual const DtUUID & | planName () const |
| virtual void | setPlanName (const DtUUID &name) |
| virtual bool | planNameSpecified () const |
| virtual void | setIsQuickLaunch (bool) |
| virtual bool | isQuickLaunch () const |
| virtual void | setShowOnQuickLaunchToolbar (bool) |
| virtual bool | showOnQuickLaunchToolbar () const |
| virtual void | setIsLaunched (bool) |
| virtual bool | isLaunched () const |
| virtual void | setQuickLaunchIcon (const DtString &) |
| virtual const DtString & | quickLaunchIcon () const |
| virtual void | setOrdinal (int) |
| virtual int | ordinal () const |
| virtual void | setPlanSummary (const DtString &) |
| virtual const DtString & | planSummary () const |
| virtual void | setPlanExecutor (DtPlanExecutor *planExecutor) |
| virtual DtPlanExecutor * | planExecutor () const |
| virtual void | enableExecutionState () |
| virtual void | disableExecutionState () |
| virtual bool | executionState () const |
| virtual void | awaitingTask () |
| virtual bool | isAwatingTask () const |
| virtual void | addTrigger (const DtTriggerStmt &) |
| virtual DtTriggerStmt * | triggerStatement (const DtUUID &) const |
| virtual void | removeTrigger (const DtUUID &) |
| virtual void | renameTrigger (const DtUUID &, const DtString &newName) |
| virtual void | updateTrigger (const DtTriggerStmt *) |
| virtual void | setTriggers (const DtRwTriggersList &) |
| const DtRwTriggersList & | triggers () const |
| virtual void | pushExecutionStack () |
| virtual void | suspendExecutionStack () |
| virtual void | popExecutionStack (bool forceStep=false) |
| virtual void | executeTrigger (DtTriggerBlock *whenBlock) |
| virtual void | executeBlock (DtSimBlock *block) |
| virtual bool | taskRequestPending () const |
| virtual void | setTaskRequestPending (bool newValue=true) |
| const DtRwVariableBindings & | variables () const |
| virtual DtReaderWriter * | variable (const DtString &) |
| virtual void | clearVariables () |
| virtual void | addVariable (DtRwPlanVariable *) |
| virtual void | setVariables (const DtRwVariableBindings &) |
| virtual bool | executeTask (const DtSimTask &taskToSend) const |
| virtual bool | executeSetDataRequest (const DtSetDataRequest &setToSend) const |
| virtual bool | executeSimCommand (const DtSimCommand &command, DtSimCommandContextPtr &context) const |
| virtual bool | isSimCommandComplete (const DtSimCommand &command, const DtSimCommandContextPtr &context) const |
| virtual bool | evaluateConditional (const DtSimCondExpr *condExpr) const |
| virtual DtStmtIndex | firstStmt () const |
| virtual DtPlanBlock * | mainBlock () const |
| virtual void | empty () |
| virtual bool | isEmpty () const |
| virtual DtList * | triggerList () |
| virtual const DtList * | triggerList () const |
| virtual void | addTriggerToExecute (DtSimTrigger *trigger) |
| virtual void | removeTriggerFromPendingExecution (DtSimTrigger *trigger) |
| virtual DtList * | executionStack () |
| virtual const DtList * | executionStack () const |
| virtual bool | validatePlan () |
| virtual const DtStmtIndex & | currentStmt () const |
| virtual void | setCurrentStmt (const DtStmtIndex &nextStatement) |
| virtual void | setCurrentStatementExecutionId (int id) |
| virtual bool | isComplete () const |
| virtual void | setIsComplete (bool completeFlag=true) |
| virtual void | setLastStatementExecuted (bool) |
| virtual bool | lastStatementExecuted () const |
| virtual bool | isAbandoned () const |
| virtual void | setIsAbandoned (bool v) |
| virtual bool | isExecuting () const |
| virtual DtPlanStatus | currentStatus () const |
| virtual void | reset () |
| virtual void | abandonPlan (bool sendWaitTask) |
| virtual void | restartPlan (bool sendWaitTask=true) |
| virtual bool | translateIndex (DtStmtIndex &stmtIndex) const |
| virtual void | translateIndices (DtList &stmtIndexList) const |
| virtual void | tick () |
| virtual void | mergeEditedPlanWith (const DtPlan &oldPlan) |
| virtual DtRecursiveSimBlockIterator * | spawnRecursiveIterator () const |
| virtual void | putSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtReaderWriter::appPath()) |
| virtual void | getSelf (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=DtReaderWriter::SearchPaths(), const DtVariableBindingsList &variableBindings=DtReaderWriter::nullVariableReference()) |
| virtual void | addStatementChangedCallback (DtCurrentStatementChangedCallbackFcn fcn, void *usrData) |
| virtual void | removeStatementChangedCallback (DtCurrentStatementChangedCallbackFcn fcn, void *usrData) |
| virtual void | addTickCallback (DtStmtTickCallbackFcn fcn, void *usrData) |
| virtual void | removeTickCallback (DtStmtTickCallbackFcn fcn, void *usrData) |
| virtual void | reissueStatementIds (DtSimStatement *stmt) |
| virtual void | pushExecutingTrigger (int) |
| virtual void | popExecutingTrigger () |
| virtual int | executingTriggerStatementId () const |
| virtual std::vector< int > | executingTriggerStatementIds () const |
| virtual DtUUID | executingTriggerName () const |
| virtual std::vector< DtUUID > | executingTriggerNames () const |
| virtual std::vector< DtUUID > | registeredTriggerNames () const |
| virtual bool | triggerIsRunning (const DtUUID &) const |
| virtual bool | triggerIsRegistered (const DtUUID &) const |
| virtual void | removeScheduledTriggers (const DtUUID &) |
| virtual void | mapRegisteredTriggersToTriggerStatements () |
| virtual DtSimStatement * | lookupStatementByCursor (int cursor) |
| virtual DtSimStatement * | lookupStatementByStatementId (int) const |
| virtual void | setContinuePlan (bool) |
| virtual std::vector < DtReaderWriter * > | substituteVariablesIn (DtReaderWriter *) const |
| virtual std::vector < DtReaderWriter * > | substitutedValues (const DtReaderWriter *) const |
| virtual bool | subsituteUUIDIfAvailable (const DtReaderWriter *, DtUUID &uuid) const |
| virtual void | removeTopExecutionStack () |
| virtual void | addSkipTaskCallback (DtSkipTaskCallbackFcn fcn, void *usrData) |
| virtual void | removeSkipTaskCallback (DtSkipTaskCallbackFcn fcn, void *usrData) |
| virtual void | invokeSkipTaskCallbacks () |
Public Member Functions inherited from DtReaderWriter | |
| DtReaderWriter () | |
| DtReaderWriter (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) | |
| DtReaderWriter (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) | |
| DtReaderWriter (const DtString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtReaderWriter (const DtSymbolString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtReaderWriter (const DtReaderWriter &, DtReaderWriterRegistry *parentRegistry=NULL) | |
| const DtReaderWriter & | operator= (const DtReaderWriter &orig) |
| bool | operator== (const DtReaderWriter &) const |
| bool | operator!= (const DtReaderWriter &rhs) |
| virtual | ~DtReaderWriter () |
| virtual void | postPutSelf () |
| virtual void | prePutSelf () |
| virtual void | postGetSelf () |
| virtual void | preGetSelf () |
| virtual void | writeSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename()) |
| virtual DtSymbolString | name () const |
| virtual void | addAlias (const DtSymbolString &alias) |
| virtual void | addAlias (const DtString &alias) |
| virtual bool | hasAlias (const DtSymbolString &alias) |
| virtual const aliasContainer & | aliases () const |
| virtual void | setReadonly (bool flag) |
| bool | isReadonly () const |
| virtual int | alignment () const |
| virtual bool | variableIsBound () const |
| virtual void | unbindVariable () |
| virtual void | setName (const DtString &) |
| virtual const char * | readerWriterType () const |
| virtual const char * | xmlType () const |
| virtual DtString | prettyPrint () const |
| std::string | debugText () const |
| virtual void | bindVariables (DtVariableBindingsList variableBindings) |
| virtual std::list < DtVariableNameType > | unboundVariables () const |
| bool | invalid () const |
| virtual bool | hasChild (const DtReaderWriter *p) const |
| virtual bool | hasVariableReference () const |
| virtual void | bindLocalVariables (const DtVariableBindingsList &variableBindings) |
| virtual void | recordUpdateTime () const |
| virtual bool | wasUpdatedSince (DtTime t) const |
| virtual bool | changedSinceLastChecked () |
| virtual bool | peekChangedSinceLastChecked () const |
| virtual void | putData (std::string &fp, int indentLevel=0) |
| virtual DtlObjPtr | getData (DtlObjPtr args, const SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) |
| virtual void | setValueSpecified (bool specified, bool recurse=false) |
| virtual bool | valueSpecified () const |
| virtual bool | isVariableReference () const |
| virtual void | setIsVariableReference (bool value) |
| virtual void | clearAllVariableReferenceFlags () |
| virtual DtSymbolString | variableName () const |
| virtual void | setVariableName (const DtSymbolString variableName) |
| virtual const DtReaderWriter * | defaultRWValue () const |
| virtual DtReaderWriter * | defaultRWValue () |
| virtual void | setDefaultRWValue (DtReaderWriter *) |
| virtual bool | checkAndSetDefaultRWValue (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference()) |
| const DtReaderWriterRegistry & | registry () const |
| DtReaderWriterRegistry & | registry () |
| virtual DtPropertyInterface * | property () |
| virtual const DtPropertyInterface * | property () const |
| virtual DtString | toXml () const |
| virtual DtRwVariableBindings * | generateVariableBindings () const |
| virtual bool | toXml (const DtFilename &) const |
| virtual bool | fromXml (const DtString &) |
| virtual bool | fromXmlFile (const DtFilename &) |
| virtual void | putSelf (DtEnvironmentSP, DtEnvValueSP parent) const |
| virtual void | putData (DtEnvironmentSP, DtEnvValueSP value) const |
| virtual void | putVariableReference (DtEnvironmentSP, DtEnvValueSP value) const |
| virtual void | getSelf (const DtEnvironmentSP, const DtEnvValueSP root, const SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList()) |
| virtual void | getData (const DtEnvironmentSP, const DtEnvValueSP, const SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList()) |
| virtual void | unrecognizedItem (const DtEnvironmentSP env, const DtEnvValueSP root, const SearchPaths &searchPaths, const DtVariableBindingsList &varBindings) |
| virtual void | getVariableReference (DtEnvironmentSP, DtEnvValueSP value) |
| DtPlan::DtPlan | ( | ) |
constructor for use from within a front-end application, or when creating a plan to be assigned through DtCgf's assignPlan() function.
Note: the init function must be called after using this constructor.
| DtPlan::DtPlan | ( | const DtUUID & | planName, |
| DtPlanExecutor * | planExecutor, | ||
| const DtString & | name = "Plan", |
||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
constructor for use from within a back-end application
Note: the init function must be called after using this constructor.
| DtPlan::DtPlan | ( | const DtString & | name, |
| const DtUUID & | planName, | ||
| const DtPlan & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
copy constructor
This is a copy constructor that can register as a Readable-Writable member.
| DtPlan::DtPlan | ( | const DtPlan & | orig | ) |
|
virtual |
destructor
|
virtual |
The init function must be called after any non-copy constructor!
|
virtual |
Adds default variables to plan.
|
virtual |
Returns a newly created copy of ourself. name is the DtReaderWriter name of the plan.
Note: this will NOT copy the DtSimPlanManager pointer, and will only copy the planName if *this is not currently registered with a DtSimPlanManager (because either the DtSimPlanManager pointer is NULL or the current planName is empty).
|
virtual |
|
virtual |
|
virtual |
|
virtual |
If true will not enable execution state unless isLaunched is also true. If set to true, and was false, will reset plan and disable execution state. Will also set isLaunched to false on switch. If true and set to false will reset state and enable execution state (if state should be enabled)
|
virtual |
|
virtual |
Gui element only – whether or not to show on quick launch toolbar.
|
virtual |
|
virtual |
Only used if quick launch. If set to true, and state should be enabled, will enable state. If set to false will disable state.
|
virtual |
|
virtual |
Icon to use for display in gui.
|
virtual |
|
virtual |
Order to display items on the quick launch toolbar.
|
virtual |
|
virtual |
Plan summary.
|
virtual |
|
virtual |
Get a pointer to the sim manager.
|
virtual |
|
virtual |
Enable/disable plan execution state. Plan will not start or advance through statements unless execution state is enabled.
|
virtual |
|
virtual |
|
virtual |
Sets our awaiting task flag (it will be handled in processAwaitingTask(), called from tick if/when plan execution state is enabled.
|
virtual |
|
virtual |
Adds a new condition into the condition list. Will clone.
|
virtual |
Returns the trigger with the given name.
|
virtual |
Removes the triger with the given name. Will also go through all triggers that are not of that name and remove any unregister/register statements of a trigger with that name.
Renames the trigger to the new name.
|
virtual |
Sets the trigger to have the contents of the supplied trigger. If trigger does not exist by UUID will not add.
|
virtual |
Sets the triggers to tbe the list of triggers.
|
inline |
Returns plans triggers.
|
virtual |
When a retasking trigger fires, it first calls pushExecutionStack on the DtPlan. This has the effect of duplicating the currentStmt index at the top of the stack. It does not, of itself, cause any new statements to get executed or sent to the entity. It is assumed that this call will be followed by a call to executeTrigger(), or at least setCurrentStmt().
|
virtual |
Called by a trigger that wishes to suspend the current task such that when the trigger is complete the task that is suspended will resume.
|
virtual |
When a retasking trigger completes, it calls popExecutionStack on the DtPlan. This has the effect of popping the execution stack back to the statement that was interrupted by the trigger. If the forceStep parameter is true, this will step to the statement following the one on the stack. If false, then the plan will check to see if the new top statement is still executing. If so, it will continue with that statement, otherwise it will step to the next statement.
|
virtual |
When a DtSimTrigger gets executed, it calls the executeTrigger function which begins execution of the whenBlock.
|
virtual |
Begin execution of a block of tasks.
|
virtual |
Get the TaskRequestPending flag.
|
virtual |
Set or clear the TaskRequestPending flag.
|
inline |
Returns plan variables.
|
virtual |
|
virtual |
Clears all plan variables. If referenced by items in the plan, those items will now have dangling references.
|
virtual |
Adss variable and takes ownership of memory.
|
virtual |
Copies variables list.
Uses the plan executor to execute the specified task in the context of this plan.
|
virtual |
Uses the plan executor to execute the specified set data request in the context of this plan.
|
virtual |
Uses the plan executor to execute the specified simulation command in the context of this plan. if the context comes back as non null then the command is not complete. Call isSimCommandComplete with that comtext to see if the command is complete.
|
virtual |
Create an executor and call it with the command context pointer to see if the command is complete. Will return true if it is.
|
virtual |
Uses myPlanExecutor to evaluate the conditional expression. False is returned if there is not plan executor.
|
virtual |
Get the index of the first statement in the plan.
|
virtual |
Get a pointer to the Plan's main Block.
|
virtual |
Empties the plan of all statements and creates a new main block.
|
virtual |
True if the Plan is considered "Empty" (containing no statements).
|
virtual |
Get a pointer to the list of pending triggers.
|
virtual |
|
virtual |
Add a trigger to the pending trigger list.
|
virtual |
Remove a trigger from the pending trigger list.
|
virtual |
Get a pointer to the execution stack.
|
virtual |
|
virtual |
Checks, and potentially fixes, the plan.
|
virtual |
Get the index of the Plan's "current" statement. This is either zero (if the Plan has not yet begun to execute), or indicates the last statement executed.
|
virtual |
Set the Plan's "current" statement.
|
virtual |
Sets the current task execution ID to the value specified.
|
virtual |
True if the Plan is considered "Complete" and no longer active.
|
virtual |
Set the Plan's completion flag, if true, further execution of the Plan is disabled.
|
virtual |
{@ Accessor/mutator for whether or not the last statement in the plan has been executed (main block is complete)
|
virtual |
|
virtual |
|
virtual |
Sets whether or not the plan is abandoned. This should not normally be called from outside this class.
|
virtual |
|
virtual |
|
virtual |
Clear all registered triggers and reset the Plan to its initial state.
Reimplemented from DtReaderWriter.
|
virtual |
Reset the plan, but then set isComplete and set the current statement to the last one in the Main Block.
| sendWaitTask | indicates whether or not a wait task will be sent to the entity when its plan is abandoned. This will stop its current task, if true. |
|
virtual |
Reset sthe plan.
| sendWaitTask | indicates whether or not a wait task will be sent to the entity when its plan is abandoned. This will stop its current task, if true. |
|
virtual |
If you have a DtStmtIndex object that used to point into the original DtPlan before it was copied/cloned into this one, use the translateIndex function to convert it to point into this DtPlan. Returns true if a match was found, false otherwise.
|
virtual |
If you have a list of DtStmtIndex objects that used to point into the original DtPlan before it was copied/cloned into this one, use the translateIndicies function to convert them to point into this DtPlan.
|
virtual |
The Plan tick function. Presently this ticks all the Plan's triggers.
|
virtual |
This plan is an edited version of an old one, copy and/or translate over any information that we want to preserve when we replace the old plan with this one (e.g. current statement subscriber).
|
virtual |
Spawns an iterator that iterates over the statements in the plan. The caller MUST DELETE the iterator when doen using it!
|
virtual |
This is the top-level reader-writer member function for saving self to file. Override to get a chance to set reader-writer member variables before saving.
Reimplemented from DtReaderWriter.
|
virtual |
This is the top-level reader-writer member function for reading in self from file. Override to get a chance to initialize plan from reader-writer members.
Reimplemented from DtReaderWriter.
|
virtual |
Adds a callback which is called whenever the current statement changes or whenever the status of the plan changes. (abandoned, complete, executing)
|
virtual |
Removes a statement changed callback.
|
virtual |
Adds a statement callback which is called every tick.
|
virtual |
Removes a statement tick callback.
|
virtual |
Gives new statement ids to all statements in this statement (including sub blocks)
|
virtual |
If in a trigger, the current statement id of the trigger being executed.
|
virtual |
|
virtual |
|
virtual |
Ids in order of execution.
|
virtual |
If in a trigger, the name of the trigger.
|
virtual |
Names in order of execution.
|
virtual |
Triggers registered.
Returns true if the named trigger is currently running.
Returns true if the current named trigger is registered.
|
virtual |
Removes all occuranes of named trigger from the pending triggers list.
|
virtual |
Goes through and maps trigger statements to the register trigger statemnt it represents.
|
virtual |
Look up statement at the given cursor location (an integer identifying the overall position of a statement in a plan.
|
virtual |
|
virtual |
Sets whether or not to continue plan execution.
|
virtual |
Iterates over all items in the reader writer registry of the supplied item, and, if any of the variables are UUIDs and they happen to match the UUID of the simulation object or created object variable, those values in the reader/writer supplied will be set to those of the variable. This call will return the values that were substituted. Do not delete the returned memory as this is the reader/writer value as it exists.
|
virtual |
Returns a vector list of reader/writer values (cloned from the source) that were substituted. The results of this call must be freed by the user.
|
virtual |
If, in the supplied reader/writer there is a matching UUID to substitute, place the resultant value in the givem UUID and return true.
|
virtual |
Removes and deletes the first DtStmtIndex* entry from the execution stack. If there is only one entry in the execution stack, it won't do anything. It is for avoiding the plan to check to see if the new top statement is still executing, as done in popExecutionStack().
|
virtual |
Adds a callback which is called every time a skip task command is received.
|
virtual |
Removes a skip task callback.
|
virtual |
|
protectedvirtual |
Awaiting task then (re)starts execution of plan.
|
protectedvirtual |
Create the Main Block. This is only called by init(), and should only be called once.
|
protectedvirtual |
Copy the main block (and all nested blocks) and the Execution Stack from another Plan, and translate any/all DtStmtIndex objects to point into the new main block structure.
|
protectedvirtual |
Copy the other Plan's execution stack and translate all DtStmtIndex objects in the execution stack to point into the new main block. (Called by copyMainBlock.)
|
protectedvirtual |
Copy the other Plan's pending triggers and translate all DtStmtIndex objects in the triggers to point into the new main block. (Called by copyMainBlock.)
|
protectedvirtual |
Whenever a change is made that changes the effective current statement, this function is called so that the front end can be told of the change.
|
protectedvirtual |
ContinuePlan will continue the Plan execution until either the task request pending flag is cleared, or the plan complete flag is set.
|
protectedvirtual |
StepStatement will step to the next statement in the Plan. This is usually the first half of an execution cycle. Note: this assumes that !isComplete() and !myCurrentStmt.isNull().
Some statements that, even if they are stepped, stay where they are. If forceStep is true it will give a hint to that statement to move on anyway
|
protectedvirtual |
ExecuteStatement will execute the current statement in the Plan. This is usually the second half of an execution cycle. Note: this assumes that !isComplete() and !myCurrentStmt.isNull().
|
protectedvirtual |
ClearTriggerList deletes the registered triggers and clears the pending trigger list.
|
protectedvirtual |
ClearExecutionStack clears the execution stack and resets the Plan. Adds a single NULL DtStmtIndex item to its list (indicating the start of the plan).
|
protectedvirtual |
Removes and deletes all DtStmtIndex* entries from the execution stack.
|
protectedvirtual |
Called by putSelf().
Fills the specified rwExecutionStack with the data from myExecutionStack.
|
protectedvirtual |
Called by putSelf().
Fills the specified rwExecutionStack with the data from myExecutionStack.
|
protectedvirtual |
Called by getSelf().
Fills myExecutionStack with the data from the Pre VRF 3.12 style executionCursorStack.
|
protectedvirtual |
Fills myExecutionStack with the data from rwExecutionStack.
|
protectedvirtual |
Called by getSelf().
Fills myExecutionStack with the data from the Pre VRF 3.12 style executionCursorStack.
|
protectedvirtual |
Maps statementId to cursor and vice-versa. Cursor is the overall position of a statement in the plan.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Creates and maps new triggers to when blocks.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Removes any register/unregister trigger statement with the given trigger name.
|
protectedvirtual |
|
protectedvirtual |
Maps the triggers in the execution stack to exectuing triggers.
|
protected |
The TaskRequestPending flag is set to true when an Entity requests a new task, and is cleared when a new task is sent by the Plan engine. There may be any number of non-task statements processed between these two events. Further processing of the entity's plan is paused when this flag is cleared.
|
protected |
The main Block is the top-level Block of the plan and is the only Block that is considered to be "owned" by this DtPlan object.
|
protected |
The top of the execution stack is the Plan's current statement (fetched with currentStmt()). Whenever a retasking trigger fires, it pushes this stack down so that the Plan can pick up where it left off at the end of the trigger.
|
protected |
myIsComplete Disables awaitingTask() and causes it to emit continuous Wait tasks.
|
protected |
myLastStatementExecuted makes sure that nothing will get executed in the plan after triggers have been triggered
|
protected |
True if this plan has been abandoned. If the plan is abandoned, it will also show as "complete", since it is not running.
|
protected |
A list of all registered DtSimTriggers.
|
protected |
A list of all the DtCurrentStatementChangedCallbackFcn callbacks.
|
protected |
A list of all the DtTickCallbackFcn callbacks.
|
protected |
A list of all the DtStmtTickCallbackFcn callbacks.
|
protected |
Reader-writer members used to hold checkpoint information about the plan. These variables only contain valid data just before writing to file, and just after reading from file.
List of DtTriggerData items, representing the list of pending triggers.
|
protected |
List of all possible triggers in the plan. This will be a collection of when statements that represent all the possible triggers trigger.
|
protected |
Flag indication whether execution is enabled (can we start or advance through plan statements?).
|
protected |
|
protected |
Flag indicating we've received an awaiting task request.
|
protected |
|
protected |
|
protected |
|
protected |
The status that was last sent out though the curretStatement callbacks.
|
protected |
Additional data used to indicate if this is a quick launch plan and the icon associated with it. currently only global plans can be quick launch plans.
|
protected |
|
protected |
|
protected |
Plan summary. Currently used by synchronization matrices only.
|
protected |
|
protected |