|
| virtual | ~DtLgrHlaEntityTracker () |
| | DTOR. More...
|
| |
| virtual void | simInitialize (DtLgrBaseSimManager *simMgr) |
| | After connecting to the simulation, perform some initialization. More...
|
| |
| virtual void | parsePacket (const DtPacket &packet, const DtAbsoluteTime *time=0) |
| | Reads a packet to update tracked entity info Use time for packet if given; otherwise, use packet time. More...
|
| |
| virtual DtLgrEntityTracker * | createFromPacket (const DtPacket &packet) |
| | Create a tracker from table packet. More...
|
| |
| virtual DtString | entityName (const DtPacket &packet) const |
| | Returns entity ID of a packet. More...
|
| |
| virtual DtString | entityType (const DtPacket &packet) const |
| | Returns entity type of a packet. More...
|
| |
| virtual DtForceType | entityForce (const DtPacket &packet) const |
| | Returns entity force of a packet. More...
|
| |
| virtual DtString | entityMarking (const DtPacket &packet) const |
| | Returns entity marking of a packet – protocol-specific. More...
|
| |
| virtual | ~DtLgrEntityTracker () |
| | DTOR. More...
|
| |
| virtual EntryHandle | begin () const |
| | Returns the first valid entry handle. More...
|
| |
| virtual EntryHandle | end () const |
| | Returns an entry handle immediately beyond the last valid entry handle. More...
|
| |
virtual
DtLgrEntityTracker::TrackerUpdateId | lastUpdateId () const |
| | Return a counter which when compared to a previously retrieved value indicates that this tracker has been updated if the values are different. More...
|
| |
| virtual EntryHandle | addEntry (double firstTime, double lastTime, const DtString &name, const DtString &type, DtForceType force, const DtString &marking, DtLgrEntityTracker::EntryHandle handle=-1) |
| | Adds a tracked entry using the provided data. More...
|
| |
| virtual EntryHandle | addEntry (const TrackerEntry &entry, DtLgrEntityTracker::EntryHandle handle=-1) |
| | Adds the given tracked entry. More...
|
| |
| virtual EntryHandle | addTemporaryEntry (const DtString &name) |
| | Adds a temporary entry with the given name that will not be saved across tape loads. More...
|
| |
| virtual EntryHandle | addTemporaryMarking (const DtString &marking) |
| | Adds a temporary entry with the given marking and since a name is necessary the marking will also be used as its name. More...
|
| |
| virtual EntryHandle | findEntry (const DtString &name) const |
| | Looks up an entry. More...
|
| |
| virtual int | entityCount () const |
| | Gets the number of entities currently in the tracker. More...
|
| |
| virtual void | clearEntries () |
| | Remove all entries. More...
|
| |
| virtual bool | isPermanentEntry (EntryHandle handle) const |
| | Returns whether the specified index is a known non-temporary entity. More...
|
| |
| virtual const TrackerEntry & | entry (DtLgrEntityTracker::EntryHandle handle) const |
| | Return the entry with the given handle. More...
|
| |
| virtual double | entityFirstTime (EntryHandle handle) const |
| | Returns the first time of indexed entity. More...
|
| |
| virtual double | entityLastTime (EntryHandle handle) const |
| | Returns the last time of indexed entity. More...
|
| |
| virtual DtString | entityName (EntryHandle handle) const |
| | Returns the name of indexed entity. More...
|
| |
| virtual DtString | entityType (EntryHandle handle) const |
| | Returns the type of indexed entity. More...
|
| |
| virtual DtForceType | entityForce (EntryHandle handle) const |
| | Returns the force of indexed entity. More...
|
| |
| virtual DtString | entityMarking (EntryHandle handle) const |
| | Returns the marking of indexed entity. More...
|
| |
| virtual void | parsePackets (const DtMessageBuffer &packetBuffer, const DtAbsoluteTime *time=0) |
| | Reads a buffer of packets to update tracked entity info Use time for packets if given. More...
|
| |
| virtual EntryHandle | entityId (const DtPacket &packet) const |
| | Returns entry handle of the entity in the packet if packet specifies an entity and the entity is already tracked; otherwise, entry handle is invalid. More...
|
| |
| virtual int | encodedSize () const |
| | Return size of encoded data. More...
|
| |
| virtual DtPacket * | encodePacket () const |
| | Encode tracker into packet. More...
|
| |
| virtual void | decodePacket (const DtPacket *) |
| | Decode tracker table packet. More...
|
| |
| virtual void | deserializeFromString (const DtString &data) |
| | Replace current state with serialized state in string. More...
|
| |
| virtual DtString | serialize () |
| | Return a serialized representation of current state. More...
|
| |
| virtual DtString | serializeAdded () |
| | Return a serialized representation of current state. More...
|
| |
|
| virtual void | setFomDescription (const DtLgrOnlineFomDesc *fomDesc) |
| | Set the FOM description. Use if manager is not set. More...
|
| |
| virtual const DtLgrOnlineFomDesc * | fomDescription () const |
| | Return the FOM description. More...
|
| |
| virtual TrackerEntry | makeInvalidEntry () const |
| | Makes an empty tracker entry. More...
|
| |
| virtual unsigned | encodedEntrySize (const TrackerEntry &entry, bool includePadding=true) const |
| | Return the size required to encode the given entry. Size of padding is included by default. More...
|
| |
| virtual char * | encodeEntry (char *entryData, const TrackerEntry &entry) const |
| | Encode tracker entry into the given data buffer. More...
|
| |
| virtual const char * | decodeEntry (const char *entryData) |
| | Decode tracker entry data and add the entry to the table. More...
|
| |
| virtual void | advanceToNextToken (const char *&data, const char *dataEnd) |
| | Skip over current token and get pointer to the next token in serialized buffer. More...
|
| |
| bool | getFloat (const char *&token, const char *dataEnd, const DtString &tokenName, float &value) |
| |
| bool | getInt (const char *&token, const char *dataEnd, const DtString &tokenName, int &value) |
| |
| bool | getString (const char *&token, const char *dataEnd, const DtString &tokenName, DtString &value) |
| |
| virtual void | deserializeEntryFromString (const char **data, const char *dataEnd) |
| | Deserialize an entry from the given data up to the given end. More...
|
| |
| virtual void | serializeEntry (DtString &serialized, unsigned index, const TrackerEntry &entry) |
| | Append the entry with the given index to the given serialized data. More...
|
| |
Indexes packets in a file.