![]() |
VR-Forces 4.7 Class Documentation
|
Instances of this class are the interface message content used to embark an object on the specified parent. More...

Public Member Functions | |
| DtIfEmbarkObject () | |
| default constructor | |
| DtIfEmbarkObject (const DtIfEmbarkObject &orig) | |
| copy constructor | |
| const DtIfEmbarkObject & | operator= (const DtIfEmbarkObject &orig) |
| assignment operator | |
| virtual | ~DtIfEmbarkObject () |
| virtual int | type () const |
| Returns DtQuerySpatialSubdivisionConfigurationType, defined in msgTypes.h. | |
| virtual DtSimInterfaceContent * | clone () const |
| Returns newly created copy of this object. | |
| virtual void | setEmbarkObject (const DtUUID &) |
| virtual const DtUUID & | embarkObject () const |
| virtual void | setParent (const DtUUID &) |
| virtual const DtUUID & | parent () const |
| virtual void | setLoadOverride (bool) |
| virtual bool | loadOverride () const |
| virtual void | setUseSlotIfAvailable (bool) |
| Even if load override is specified, use the slot if available. If not then use load override position. | |
| virtual bool | useSlotIfAvailable () const |
| virtual void | setLoadOverridePosition (const DtVector &) |
| virtual const DtVector & | loadOverridePosition () const |
| virtual int | netRepSize () const |
| Returns size of network representation of this object, in bytes. | |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| Unpack network representation (contentBuffer) into this object. | |
| virtual bool | setToNet () |
| Package this object's data into a network format (a DtNetIfQuerySpatialSubdivisionConfiguration struct). | |
| virtual void | printDataToString (DtString &str) |
| Human readable representation of this object's data (used for debugging purposes, and in applications such as vrfMsgDump). | |
| virtual void | setEmbarkInSlot (int s) |
| In trying to say where an entity will embark, you can use two forms – one is the slot number (non -1 means use that exact slot) If the slot number is -1 and the slot name or slot type are set, it will try and match the slot number by that name and type. | |
| virtual int | embarkInSlot () const |
| virtual void | setSlotName (const DtString &) |
| virtual const DtString & | slotName () const |
| virtual void | setSlotType (const DtString &) |
| virtual const DtString & | slotType () const |
| virtual void | setChooseAnyAvailableSlotIfTaken (bool) |
| virtual bool | chooseAnyAvailableSlotIfTaken () 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 () |
| Returns a new instance of this class. | |
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 | myEmbarkObject |
| DtUUID | myParent |
| bool | myLoadOverride |
| bool | myUseSlotIfAvailable |
| DtVector | myLoadOverridePosition |
| int | myEmbarkInSlot |
| bool | myChooseAnyAvailableIfSlotTaken |
| DtString | mySlotName |
| DtString | mySlotType |
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 |
Instances of this class are the interface message content used to embark an object on the specified parent.
Content-Type: DtIfEmbarkObject
| DtIfEmbarkObject::DtIfEmbarkObject | ( | ) |
default constructor
| DtIfEmbarkObject::DtIfEmbarkObject | ( | const DtIfEmbarkObject & | orig | ) |
copy constructor
|
virtual |
| const DtIfEmbarkObject& DtIfEmbarkObject::operator= | ( | const DtIfEmbarkObject & | orig | ) |
assignment operator
|
virtual |
Returns DtQuerySpatialSubdivisionConfigurationType, defined in msgTypes.h.
Implements DtSimInterfaceContent.
|
virtual |
Returns newly created copy of this object.
Implements DtSimInterfaceContent.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Even if load override is specified, use the slot if available. If not then use load override position.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns size of network representation of this object, in bytes.
Reimplemented from DtSimInterfaceContent.
|
virtual |
Unpack network representation (contentBuffer) into this object.
Reimplemented from DtSimInterfaceContent.
|
virtual |
Package this object's data into a network format (a DtNetIfQuerySpatialSubdivisionConfiguration struct).
Reimplemented from DtSimInterfaceContent.
|
virtual |
Human readable representation of this object's data (used for debugging purposes, and in applications such as vrfMsgDump).
Reimplemented from DtSimInterfaceContent.
|
virtual |
In trying to say where an entity will embark, you can use two forms – one is the slot number (non -1 means use that exact slot) If the slot number is -1 and the slot name or slot type are set, it will try and match the slot number by that name and type.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
Returns a new instance of this class.
This function is registered with the DtInterfaceContentFactory with a key returned by the type() member function.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |