![]() |
VR-Forces 4.3.1 Class Documentation
|
Class DtIfObjectIndexMessage is the message content that contains information the names of the sim engine's local objects. More...

Public Member Functions | |
| DtIfObjectIndexMessage () | |
| default constructor | |
| DtIfObjectIndexMessage (const DtString &simAddress, const DtNameToObjectIdMap &objectNames, const DtStringSet &objectIds) | |
| constructor | |
| DtIfObjectIndexMessage (const DtIfObjectIndexMessage &orig) | |
| copy constructor | |
| const DtIfObjectIndexMessage & | operator= (const DtIfObjectIndexMessage &orig) |
| assignment operator; same as copy costructor. | |
| virtual | ~DtIfObjectIndexMessage () |
| destructor | |
| virtual int | type () const |
| virtual DtSimInterfaceContent * | clone () const |
| Make a copy of this content. | |
| virtual DtString | stringRep () const |
| Get a readable string representation of this content. | |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| Decodes content from buffer. | |
| virtual bool | setToNet () |
| Encodes content into buffer. | |
| virtual void | setSimAddress (const DtString &simAddress) |
| See mySimAddress. | |
| virtual DtString | simAddress () const |
| See mySimAddress. | |
| virtual void | setObjectNames (const DtNameToObjectIdMap &objectNames) |
| See myObjectNames. | |
| virtual const DtNameToObjectIdMap & | objectNames () const |
| See myObjectNames. | |
| virtual void | setObjectIds (const DtStringSet &objectIds) |
| See myObjectIds. | |
| virtual const DtStringSet & | objectIds () const |
| See myObjectIds. | |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
| Creator function. Returns new instance of this class. | |
Protected Attributes | |
| DtString | mySimAddress |
| Sim address of this sim engine. | |
| DtNameToObjectIdMap | myObjectNames |
| Map of object names to object ids. Used to search by names, or find an objectId for a name. | |
| DtStringSet | myObjectIds |
| Set of object ids. Used for searching by Ids. | |
Class DtIfObjectIndexMessage is the message content that contains information the names of the sim engine's local objects.
This is used to ensure sim engines do not get hung up on organization manager operations they may never be able to complete.
| DtIfObjectIndexMessage::DtIfObjectIndexMessage | ( | ) |
default constructor
| DtIfObjectIndexMessage::DtIfObjectIndexMessage | ( | const DtString & | simAddress, |
| const DtNameToObjectIdMap & | objectNames, | ||
| const DtStringSet & | objectIds | ||
| ) |
constructor
| DtIfObjectIndexMessage::DtIfObjectIndexMessage | ( | const DtIfObjectIndexMessage & | orig | ) |
copy constructor
|
virtual |
destructor
| const DtIfObjectIndexMessage& DtIfObjectIndexMessage::operator= | ( | const DtIfObjectIndexMessage & | orig | ) |
assignment operator; same as copy costructor.
|
static |
Creator function. Returns new instance of this class.
|
virtual |
|
virtual |
See mySimAddress.
|
virtual |
See mySimAddress.
|
virtual |
See myObjectNames.
|
virtual |
See myObjectNames.
|
virtual |
See myObjectIds.
|
virtual |
See myObjectIds.
|
virtual |
Make a copy of this content.
Returns a pointer to a newly created copy of this class.
|
virtual |
Get a readable string representation of this content.
|
virtual |
|
virtual |
Decodes content from buffer.
|
virtual |
Encodes content into buffer.
|
protected |
Sim address of this sim engine.
This is used when the message is received to filter out our own messages.
|
protected |
Map of object names to object ids. Used to search by names, or find an objectId for a name.
|
protected |
Set of object ids. Used for searching by Ids.