![]() |
VR-Forces Developer's Guide
|
class DtIfMultiplePlanResponse:
Instances of DtIfMultiplePlanResponse are sent in response to a DtIfMultiplePlanRequest. This message will contain the list of entities that are simulated locally from the reponse, the request id, and whether or not the entities have the same plan. If they do, the plan will be sent as well
Content-Type: DtMultiplePlanResponseMessageType

Public Member Functions | |
| DtIfMultiplePlanResponse () | |
| virtual | ~DtIfMultiplePlanResponse () override |
| DtIfMultiplePlanResponse (const DtIfMultiplePlanResponse &orig) | |
| DtIfMultiplePlanResponse & | operator= (const DtIfMultiplePlanResponse &orig) |
| virtual int | type () const override |
| virtual DtSimInterfaceContent * | clone () const override |
| virtual const std::vector < DtUUID > & | entities () const |
| virtual void | setEntities (const std::vector< DtUUID > &name) |
| virtual void | setRequestId (int) |
| virtual int | requestId () const |
| virtual bool | differingPlans () const |
| virtual void | setDifferingPlans (bool) |
| virtual void | setPlan (DtIfPlan *) |
| virtual const DtIfPlan * | plan () const |
| virtual void | setSimulationAddress (const DtSimulationAddress &) |
| virtual const DtSimulationAddress & | simulationAddress () const |
| virtual int | netRepSize () const override |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) override |
| virtual bool | setToNet () override |
| virtual void | printDataToString (DtString &str) override |
| virtual bool | hasPlan () 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 () |
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 | |
| std::vector< DtUUID > | myEntities |
| DtSimulationAddress | mySimulationAddress |
| DtU32 | myRequestId |
| DtIfPlan * | myPlan |
| bool | myDifferingPlans |
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 |
| DtIfMultiplePlanResponse::DtIfMultiplePlanResponse | ( | ) |
default constructor
|
overridevirtual |
destructor
| DtIfMultiplePlanResponse::DtIfMultiplePlanResponse | ( | const DtIfMultiplePlanResponse & | orig | ) |
copy constructor
| DtIfMultiplePlanResponse& DtIfMultiplePlanResponse::operator= | ( | const DtIfMultiplePlanResponse & | orig | ) |
assignment operator
|
overridevirtual |
Returns the type of Interface Content.
Implements DtSimInterfaceContent.
|
overridevirtual |
Implements DtSimInterfaceContent.
|
virtual |
Set/get the name string of plan.
|
virtual |
|
virtual |
Supplied in the response to match a request with a response.
|
virtual |
|
virtual |
Set to true if the plans for these entities are different.
|
virtual |
|
virtual |
When plan is set, it will be cloned, so, original can be destroyed.
|
virtual |
|
virtual |
|
virtual |
|
overridevirtual |
Reimplemented from DtSimInterfaceContent.
|
overridevirtual |
Reimplemented from DtSimInterfaceContent.
|
overridevirtual |
Reimplemented from DtSimInterfaceContent.
|
overridevirtual |
Reimplemented from DtSimInterfaceContent.
|
static |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |