![]() |
VR-Forces 4.6.1 Class Documentation
|
class DtIfMultiplePlanSet: More...

Public Member Functions | |
| DtIfMultiplePlanSet () | |
| default constructor | |
| virtual | ~DtIfMultiplePlanSet () |
| destructor | |
| DtIfMultiplePlanSet (const DtIfMultiplePlanSet &orig) | |
| copy constructor | |
| DtIfMultiplePlanSet & | operator= (const DtIfMultiplePlanSet &orig) |
| assignment operator | |
| virtual int | type () const |
| Returns the type of Interface Content. | |
| virtual DtSimInterfaceContent * | clone () const |
| virtual void | setEntities (const std::vector< DtUUID > &) |
| Get/set entities that this plan should be assigned to. | |
| virtual const std::vector < DtUUID > & | entities () const |
| virtual void | setPlanName (const DtUUID &name) |
| Sets name and sets myNameSet to true if name is non-blank. | |
| virtual int | netRepSize () const |
| Get the list of statements in the message. | |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| Fills in the task from the network buffer. | |
| virtual bool | setToNet () |
| Fills in the network buffer (created by base class simTask) with the task contents. | |
| virtual DtString | markingText () const |
Public Member Functions inherited from DtIfPlan | |
| DtIfPlan () | |
| default constructor | |
| virtual | ~DtIfPlan () |
| destructor | |
| DtIfPlan (const DtIfPlan &orig) | |
| copy constructor | |
| DtIfPlan & | operator= (const DtIfPlan &orig) |
| assignment operator | |
| virtual const DtUUID & | planName () const |
| Set/get the uuid of the plan. | |
| virtual bool | addStatement (const DtSimStatement &statement) |
| Add a statement to the message. | |
| virtual const std::vector < DtSimStatement * > & | statements () const |
| Get the list of statements in the message. | |
| virtual const DtRwTriggersList & | triggers () const |
| Get a list of triggers for this plan. | |
| virtual void | addTrigger (const DtTriggerStmt &) |
| Adds a new trigger to this plan. | |
| virtual void | setTriggers (const DtRwTriggersList &) |
| Sets triggers to be the triggers list. | |
| virtual void | setVariables (const DtRwVariableBindings &) |
| Variables used in this plan. | |
| const DtRwVariableBindings & | variables () const |
| DtRwVariableBindings & | variables () |
| virtual void | setAssign (bool flag) |
| Set/get the assign flag. | |
| virtual bool | assign () const |
| virtual void | printDataToString (DtString &str) |
| void | emptyStatementList () |
| Empty contents of our statement list. | |
| virtual bool | isSamePlan (DtIfPlan *rhs) |
| Returns true if the plans are equivalent. The equivalnece test DOES NOT look at variables. | |
| virtual void | upgradeTriggerUUIDs () |
| Go through all the triggers and statements and upgrade the triggerUUID to something new and then map it wherever it is referenced. | |
| virtual bool | isGlobal () const |
| Indicates whether this plan is a global plan or an individual entity plan. | |
| virtual void | setIsGlobal (bool yesNo) |
| virtual void | setIsQuickLaunch (bool) |
| virtual bool | isQuickLaunch () const |
| virtual void | setShowOnQuickLaunchToolbar (bool) |
| virtual bool | showOnQuickLaunchToolbar () const |
| virtual void | setQuickLaunchIcon (const DtString &) |
| virtual const DtString & | quickLaunchIcon () const |
| virtual void | setOrdinal (int) |
| virtual int | ordinal () const |
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 () |
Protected Attributes | |
| std::vector< DtUUID > | myEntities |
| bool | myUUIDSet |
Protected Attributes inherited from DtIfPlan | |
| DtUUID | myPlanName |
| std::vector< DtSimStatement * > | myStatementList |
| List of top-level DtSimStatement*s. | |
| bool | myAppendFlag |
| Indicates if message is used to create new or append to existing plan. | |
| bool | myAssignFlag |
| Indicates whether the receiver should assign this plan to the object or whether the message represents the object's current plan. | |
| bool | myIsGlobal |
| DtU32 | myQuickLaunchFlags |
| Information that are used for global plans only. | |
| DtU32 | myOrdinal |
| DtString | myQuickLaunchIcon |
| DtRwTriggersList | myTriggers |
| DtRwVariableBindings | myVariables |
Protected Attributes inherited from DtSimInterfaceContent | |
| char * | myNetRep |
| bool | myUseSessionId |
Additional Inherited Members | |
Protected Member Functions inherited from DtIfPlan | |
| void | copyStatementList (const std::vector< DtSimStatement * > &otherList) |
| Copies contents of given list to our list of plan statements. | |
Static Protected Attributes inherited from DtSimInterfaceContent | |
| static DtInterfaceContentFactory * | myFactory |
| static DtSimInterfaceContentTypePrinterFcn | theContentTypePrinterFcn |
class DtIfMultiplePlanSet:
Instances of DtIfMultiplePlanSet are the content portions of a plan message. This message contains enough information to reconstruct a DtPlan, minus the the content of the actual statements. The message is intended to be used with DtPlanStatement messages, which convey the rest of the content needed to fully represent the plan. This message is equivalent to DtIfPlan, except it stores a list of entities
Content-Type: DtMultiplePlanSetMessageType
statement count: The number of DtSimStatements contained in this message.
plan statements: A list of <statement count>=""> DtSimStatements in this message. Statements should be appended to the plan’s main block in the order they appear in the message. If the plan is large enough to require multiple messages, then the messages should be processed in the order they are received, further appending to the statements to received in earlier DtPlan messages.
append flag: bool flag indicating the plan message should be appended to an existing plan. This is used when a plan is large enough to require multiple messages. The first message should have this flag set to false. Subsequent messages should set this flag to true.DtNetIfMultiplePlanSet is the FIXED portion of the simulation network representation of a plan message, padded to an 8 byte boundary.
Fixed portion is immediately followed by:
<net rep of a DtSimStatement 1 (already padded to 8 byte boundary)> <net rep of a DtSimStatement n (already padded to 8 byte boundary)>
where n is myStatementCount.
Statements are top-level statements, added in the order they appear in the plan. Individual statements may contain nested statements (e.g. for 'If/else/then' and 'When' statements). Append flag indicates if message is intended for appending an existing plan (as opposed to creating a new plan). Append flag is false by default.
| DtIfMultiplePlanSet::DtIfMultiplePlanSet | ( | ) |
default constructor
|
virtual |
destructor
| DtIfMultiplePlanSet::DtIfMultiplePlanSet | ( | const DtIfMultiplePlanSet & | orig | ) |
copy constructor
| DtIfMultiplePlanSet& DtIfMultiplePlanSet::operator= | ( | const DtIfMultiplePlanSet & | orig | ) |
assignment operator
|
virtual |
Returns the type of Interface Content.
Reimplemented from DtIfPlan.
|
virtual |
Reimplemented from DtIfPlan.
|
virtual |
Get/set entities that this plan should be assigned to.
|
virtual |
|
virtual |
Sets name and sets myNameSet to true if name is non-blank.
Reimplemented from DtIfPlan.
|
virtual |
Get the list of statements in the message.
Statement returns the size of the full network representation (control object name included) padded to an 8-byte boundary.
Reimplemented from DtIfPlan.
|
static |
Reimplemented from DtIfPlan.
|
virtual |
Fills in the task from the network buffer.
Reimplemented from DtIfPlan.
|
virtual |
Fills in the network buffer (created by base class simTask) with the task contents.
Reimplemented from DtIfPlan.
|
protected |
|
protected |