![]() |
VR-Forces 4.8 Class Documentation
|
class DtIfPlanCurrentStatement: More...

Public Member Functions | |
| DtIfPlanCurrentStatement () | |
| Default constructor. More... | |
| DtIfPlanCurrentStatement (const DtIfPlanCurrentStatement &orig) | |
| Copy constructor. More... | |
| virtual | ~DtIfPlanCurrentStatement () |
| Destructor. More... | |
| DtIfPlanCurrentStatement & | operator= (const DtIfPlanCurrentStatement &orig) |
| Assignment operator. More... | |
| virtual int | type () const |
| Returns the type of Interface Content. More... | |
| virtual DtSimInterfaceContent * | clone () const |
| Clone this object. More... | |
| virtual const DtUUID & | planName () const |
| Get the uuid of the object this plan is for. More... | |
| virtual void | setPlanName (const DtUUID &) |
| Set the uuid this object is for. More... | |
| virtual int | currentStmtId () const |
| Get the current statement's ID. More... | |
| virtual void | setCurrentStmtId (int arg) |
| Set the current statement's ID. More... | |
| virtual bool | isComplete () const |
| Get the Plan Complete flag. More... | |
| virtual void | setIsComplete (bool arg) |
| Set the Plan Complete flag. More... | |
| virtual int | netRepSize () const |
| returns the size of the full network representation (control object name included) padded to an 8-byte boundary. More... | |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| Fills in the task from the network buffer. More... | |
| virtual bool | setToNet () |
| Fills in the network buffer (created by base class simTask) with the task contents. More... | |
| virtual void | printDataToString (DtString &str) |
| virtual bool | isGlobal () const |
| Indicates whether this refers to a global plan or an entity plan. More... | |
| virtual void | setIsGlobal (bool value) |
| virtual const std::vector< int > & | executingTriggerStmtIds () const |
| If executing a trigger, the id of the trigger. More... | |
| virtual void | addExecutingTriggerStmtId (int) |
| virtual void | setExecutingTriggerStmtIds (const std::vector< int > &) |
| virtual const std::vector < DtUUID > & | executingTriggerNames () const |
| If executing a trigger, the name of the trigger. More... | |
| virtual void | addExecutingTriggerName (const DtUUID &) |
| virtual void | setExecutingTriggerNames (const std::vector< DtUUID > &) |
| virtual const std::vector < DtUUID > & | registeredTriggerNames () const |
| Name(s) of triggers that are currently pending execution. More... | |
| virtual void | addRegisteredTriggerName (const DtUUID &) |
| virtual void | setRegisteredTriggerNames (const std::vector< DtUUID > &) |
| virtual bool | isExecuting () const |
| True if the plan is currently executing. More... | |
| virtual void | setIsExecuting (bool b) |
| virtual bool | isAbandoned () const |
| True if the plan has been abandoned. More... | |
| virtual void | setIsAbandoned (bool b) |
Public Member Functions inherited from DtSimInterfaceContent | |
| virtual | ~DtSimInterfaceContent () |
| virtual bool | update (const DtSimInterfaceContent *data) |
| virtual char * | netRep () |
| virtual void | printContentType (DtString &str) |
| virtual void | setUseSessionId (bool yesNo) |
| virtual bool | useSessionId () const |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Static Public Member Functions inherited from DtSimInterfaceContent | |
| static DtSimInterfaceContent * | createInterfaceContent (int type) |
| static void | addInterfaceContentCreatorFcn (int type, DtInterfaceContentCreatorFcn fcn) |
| static void | setFactory (DtInterfaceContentFactory *factory) |
| static DtInterfaceContentFactory * | factory () |
| static void | registerContentTypePrinter (DtSimInterfaceContentTypePrinterFcn printFcn) |
Protected Attributes | |
| DtUUID | myPlanName |
| The uuid associated with this subscription. More... | |
| int | myCurrentStmtId |
| The statement Id for the current statement. More... | |
| bool | myIsComplete |
| The Plan Complete Flag. More... | |
| bool | myIsGlobal |
| bool | myExecuting |
| bool | myIsAbandoned |
| std::vector< int > | myExecutingTriggerStmtIds |
| std::vector< DtUUID > | myExecutingTriggerNames |
| std::vector< DtUUID > | myRegisteredTriggerNames |
Protected Attributes inherited from DtSimInterfaceContent | |
| char * | myNetRep |
| bool | myUseSessionId |
Additional Inherited Members | |
Protected Member Functions inherited from DtSimInterfaceContent | |
| DtSimInterfaceContent () | |
| DtSimInterfaceContent (const DtSimInterfaceContent &orig) | |
| const DtSimInterfaceContent & | operator= (const DtSimInterfaceContent &orig) |
| virtual char * | createNetworkBuffer () |
Static Protected Attributes inherited from DtSimInterfaceContent | |
| static DtInterfaceContentFactory * | myFactory |
| static DtSimInterfaceContentTypePrinterFcn | theContentTypePrinterFcn |
class DtIfPlanCurrentStatement:
Instances of DtIfPlanCurrentStatement are updates of the statementId of a plan's current statement. If the Plan hasn't yet started to execute, statementId will be zero. This message also contains a flag that indicates whether the Plan is considered "Complete" (i.e. no longer executing), if this is true, the statementId value may be meaningless.
Content-Type: DtPlanCurStatementMessageType
Parameters: echelonId - The echelon ID DtString of the plan that has changed.
currentStmtId - The current statement ID (an integer). If the plan has not yet started to execute, the statement ID is zero.
isComplete - A bool flag that indicates whether the plan is considered "Complete" (that is, not currently executing). If this is true, the statement ID value may be undefined.
triggerStmtId - Since triggers can be registered multiple times, if registered, the statement id of the trigger being used
| DtIfPlanCurrentStatement::DtIfPlanCurrentStatement | ( | ) |
Default constructor.
| DtIfPlanCurrentStatement::DtIfPlanCurrentStatement | ( | const DtIfPlanCurrentStatement & | orig | ) |
Copy constructor.
|
virtual |
Destructor.
| DtIfPlanCurrentStatement& DtIfPlanCurrentStatement::operator= | ( | const DtIfPlanCurrentStatement & | orig | ) |
Assignment operator.
|
virtual |
Returns the type of Interface Content.
Implements DtSimInterfaceContent.
|
virtual |
Clone this object.
Implements DtSimInterfaceContent.
|
virtual |
Get the uuid of the object this plan is for.
Was: name
|
virtual |
Set the uuid this object is for.
Was: setName
|
virtual |
Indicates whether this refers to a global plan or an entity plan.
|
virtual |
|
virtual |
Get the current statement's ID.
|
virtual |
Set the current statement's ID.
|
virtual |
Get the Plan Complete flag.
|
virtual |
Set the Plan Complete flag.
|
virtual |
If executing a trigger, the id of the trigger.
The triggers are placed in the order of execution
|
virtual |
|
virtual |
|
virtual |
If executing a trigger, the name of the trigger.
The triggers are placed in the order of execution
|
virtual |
|
virtual |
|
virtual |
Name(s) of triggers that are currently pending execution.
|
virtual |
|
virtual |
|
virtual |
True if the plan is currently executing.
|
virtual |
|
virtual |
True if the plan has been abandoned.
|
virtual |
|
virtual |
returns the size of the full network representation (control object name included) padded to an 8-byte boundary.
Reimplemented from DtSimInterfaceContent.
|
virtual |
Fills in the task from the network buffer.
Reimplemented from DtSimInterfaceContent.
|
virtual |
Fills in the network buffer (created by base class simTask) with the task contents.
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
static |
|
protected |
The uuid associated with this subscription.
|
protected |
The statement Id for the current statement.
|
protected |
The Plan Complete Flag.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |