|
| | DT_VIRTUAL_CTR_DEFAULTS (DtLgrHlaMessageState,(const DtLgrHlaSimulationManager *simMgr),(const DtLgrHlaSimulationManager *simMgr=0)) virtual ~DtLgrHlaMessageState() |
| |
| virtual void | setInputInfo (const DtMessageIOInfo *info) |
| | Set the input info. More...
|
| |
| virtual void | setOutputInfo (const DtMessageIOInfo *info) |
| | Sets the Input Io Info. More...
|
| |
| virtual void | modifyMessages (DtMessageBuffer &messages) const |
| | Modifies the messages. More...
|
| |
| virtual void | modifyMessage (DtPacket &packet) const |
| | Modify the message. More...
|
| |
| virtual void | decodeInitialState (const DtPacket &packet, DtMessageBuffer &buffer) |
| | Decode an initial state packet into a message buffer. More...
|
| |
| virtual void | decodeCheckpoint (const DtPacket &packet, DtMessageBuffer &buffer, bool includeInteractions) |
| | Decodes a checkpoint packet into a message buffer. More...
|
| |
| virtual void | decodeLinkedCheckpoint (const DtPacket &packet, DtMessageBuffer &messageBuffer, bool includeInteractions) |
| | Decode a linked checkpoint packet into a message buffer. More...
|
| |
| virtual bool | isUpdateMessage (const DtPacket &packet) const |
| | Check to see if the state thinks this is an udpate. More...
|
| |
| virtual bool | isRemovalMessage (const DtPacket &packet) const |
| | Check to see if the state thinks this is an remove entity. More...
|
| |
| virtual bool | isInteractionMessage (const DtPacket &packet) const |
| | Check to see if the state thinks this is an interaction. More...
|
| |
| virtual void | createUpdate (const DtStateObject &object, const DtAbsoluteTime *time, std::list< DtPacket * > &packetlist) const |
| |
| virtual DtPacket * | createRemoval (const DtStateObject &object, const DtAbsoluteTime &time) const |
| | Create an removal packet for the object at the given time. More...
|
| |
| virtual void | setInputFom (const DtBaseFomDesc *inputFom) |
| |
| virtual void | setOutputFom (const DtBaseFomDesc *outputFom) |
| |
| virtual DtStateObject * | findObject (const DtHlaObject *object) |
| | Find the state object for a corresponding hla object. More...
|
| |
| const DtBaseFomDesc * | inputFom () const |
| |
| const DtBaseFomDesc * | outputFom () const |
| |
| virtual DtLgrHlaHandle | mapObjectHandleInputToOutput (DtLgrHlaHandle handle) const |
| | Map a Input object handle to an output handle. More...
|
| |
| virtual DtLgrHlaHandle | mapObjectHandleOutputToInput (DtLgrHlaHandle handle) const |
| | Map a Output object handle to an input handle. More...
|
| |
| virtual DtLgrHlaHandle | mapInteractionHandleInputToOutput (DtLgrHlaHandle handle) const |
| | Map a Input interaction handle to an output handle. More...
|
| |
| virtual | ~DtMessageState () |
| | DTOR Will destroy all state objects. More...
|
| |
| virtual const DtLgrSimManager * | simMgr () const |
| | Return the sim manager. More...
|
| |
| virtual void | startDiff () |
| | Start difference mode, creates snapshot of existing state to be used with. More...
|
| |
| virtual void | generateDiff (DtMessageBuffer &stateBuffer, const DtAbsoluteTime &time, bool addUpdates, InteractionProcessing processInteractions) |
| | Next update will generate only diff messages which are necessary to go from the backed up state to the current state. More...
|
| |
| virtual void | endDiff () |
| | Destroys the snapshot. More...
|
| |
| virtual bool | isDiffInProgress () const |
| | Indicates if a diff is in progress. More...
|
| |
| virtual void | updateState (DtMessageBuffer &stateBuffer) |
| | Update existing objects and add new objects. More...
|
| |
| virtual void | updateState (DtPacket *packet) |
| | Update existing objects and add new objects. More...
|
| |
| virtual void | postUpdate () |
| | Call post update after finished. More...
|
| |
| virtual void | setState (DtMessageBuffer &completeStateBuffer, const DtAbsoluteTime &time, DtMessageBuffer *diffBuffer=0) |
| | Set the state with the internal messages. More...
|
| |
| virtual void | addState (DtMessageBuffer &stateBuffer, const DtAbsoluteTime &time) |
| | Add objects from buffer to the state. More...
|
| |
| virtual void | clearState (DtMessageBuffer &emptyBuffer, const DtAbsoluteTime &time) |
| | Clear the state and returns the messages necessary to send to clear the state. More...
|
| |
| virtual void | getState (DtMessageBuffer &emptyBuffer, const DtAbsoluteTime *time, bool modifyMessages=true) |
| | Return a message buffer with state messages of all cached objects and interactions. More...
|
| |
| virtual void | getStateObjects (DtMessageBuffer &buffer, const DtAbsoluteTime *time, bool modifyMessages=true) |
| | Create update packets at the given time for each object in the state and add them to the buffer. More...
|
| |
| virtual void | getStateInteractions (DtMessageBuffer &buffer, const DtAbsoluteTime *time, bool modifyMessages=true) |
| | Get any cached interactions into the given buffer. More...
|
| |
| virtual void | activate () |
| | Activate the Message state. More...
|
| |
| virtual void | deactivate () |
| | Deactivate the message state. More...
|
| |
virtual const std::list
< DtStateObject * > & | stateObjectList () const |
| | Gets a list of state objects. More...
|
| |
| virtual void | clearState () |
| | Clear the state without creating the removals. More...
|
| |
| virtual CheckpointProcessing | processCheckpoints () |
| | Check to see if checkpoints affect the state. More...
|
| |
| virtual void | setProcessCheckpoints (CheckpointProcessing value) |
| | Set whether checkpoints affect the state. More...
|
| |
| virtual void | setInteractionsCollectedForCheckpoints (bool enable) |
| | Set whether to collect interactions used for checkpoints. More...
|
| |
| virtual bool | interactionsCollectedForCheckpoints () const |
| | Get whether to collect interactions used for checkpoints. More...
|
| |
| virtual void | setInteractionsCollectedFromCheckpoints (bool enable) |
| | Set whether to collect interactions from checkpoints) More...
|
| |
| virtual bool | interactionsCollectedFromCheckpoints () const |
| | Get whether to collect interactions from checkpoints. More...
|
| |
| virtual bool | isInitialStateMessage (const DtPacket &packet) const |
| | Check to see if the State considers this packet an initial state. More...
|
| |
| virtual bool | isCheckpointMessage (const DtPacket &packet) const |
| | Check to see if the State considers this packet a checkpoint. More...
|
| |
| virtual void | createUpdate (const DtStateObject &object, const DtAbsoluteTime *time, DtPacketList &packetlist) const =0 |
| | Create update packet(s) for the object at the given time if provided. More...
|
| |
| virtual DtStateObject * | findObject (DtU64 uniqueId) |
| | Find an object. More...
|
| |
| virtual const DtStateObject * | findObject (DtU64 uniqueId) const |
| | Find an object. More...
|
| |
| virtual DtStateObject * | findObjectByName (const DtString &name) |
| | Find an object with the given name. More...
|
| |
| virtual const DtStateObject * | findObjectByName (const DtString &name) const |
| | Find an object with the given name. More...
|
| |
| virtual void | setLinkCheckpoints (bool enableLinking) |
| | Set/Get link checkpoint flag. More...
|
| |
| virtual bool | linkCheckpointsEnabled () const |
| | Set/Get link checkpoint flag. More...
|
| |
| virtual DtPacket * | generateInitialState (const DtAbsoluteTime ×tamp, const DtAbsoluteTime ¤tTime, bool isTransition) |
| | Generates an initial state packet containing the current state. More...
|
| |
| virtual DtPacket * | generateCheckpoint (const DtAbsoluteTime ×tamp, bool includeInteractions) |
| | Generates a checkpoint packet containing the current state including received interactions if specified. More...
|
| |
virtual DtObserveEvent
< DtMessageState > * | inputChangedEvent () |
| | Event accessors. More...
|
| |
virtual DtObserveEvent
< DtMessageState > * | outputChangedEvent () |
| | Event accessors. More...
|
| |
virtual DtObserveEvent
< DtMessageState > * | stateModifiedEvent () |
| | Event accessors. More...
|
| |
virtual DtObserveEvent
< DtMessageState > * | stateActivatedEvent () |
| | Event accessors. More...
|
| |
virtual DtObserveEvent
< DtMessageState > * | stateDeactivatedEvent () |
| | Event accessors. More...
|
| |
virtual DtObserveEvent
< DtMessageState > * | endDiffEvent () |
| | Event accessors. More...
|
| |
virtual DtObserveEvent
< DtStateObject > * | objectAddedEvent () |
| | Event accessors. More...
|
| |
virtual DtObserveEvent
< DtStateObject > * | objectToBeRemovedEvent () |
| | Event accessors. More...
|
| |
virtual DtObserveEvent
< DtStateObject > * | objectUpdatedEvent () |
| | Event accessors. More...
|
| |
|
| | DtLgrHlaMessageState (const DtLgrHlaMessageState &) |
| | CopyCTOR operator not implemented. More...
|
| |
| DtLgrHlaMessageState & | operator= (const DtLgrHlaMessageState &) |
| | Assignment operator not implemented. More...
|
| |
| virtual size_t | decodeState (const char *checkpointBuffer, size_t bufferSize, const DtAbsoluteTime &stateTime, DtMessageBuffer &messageBuffer, bool includeInteractions) |
| | Decode packets from a checkpoint/initial state buffer. More...
|
| |
| virtual DtPacket * | createInitialStatePacket (const DtMessageBuffer &initialStateBuffer, const DtAbsoluteTime ×tamp, double offsetTime) |
| | Return an initial state packet with the given timestamp filled with the state data from the given buffer A negative offset indicates the state data is transitional and when decoding state packet times from the past should not be adjusted. More...
|
| |
| virtual DtPacket * | createCheckpointPacket (const DtMessageBuffer &checkpointBuffer, const DtAbsoluteTime ×tamp) |
| | Return a checkpoint packet filled with the state data from the given buffer. More...
|
| |
| virtual void | fillWithStateData (const DtMessageBuffer &stateBuffer, char *data) |
| | Fill the given data buffer with the contents of the state buffer. More...
|
| |
| virtual void | printMappingFailure (const std::string &classname, const std::string &message) const |
| |
| virtual void | activateState () |
| | Activate the protocol specific state. More...
|
| |
| virtual void | deactivateState () |
| | Deactivate the protocol specific state. More...
|
| |
| virtual bool | mapMessageHandles (DtPacket *packet) const |
| |
| | DtMessageState (const DtLgrSimManager *simMgr=0) |
| | Protected CTOR since class is abstract. More...
|
| |
| | DtMessageState (const DtMessageState &) |
| | CopyCTOR not implemented. More...
|
| |
| DtMessageState & | operator= (const DtMessageState &) |
| | Assignment operator not implemented. More...
|
| |
| virtual bool | updateStateObjects (const DtPacket &packet) |
| | Used to update state objects using the packet. More...
|
| |
| virtual DtStateObject * | createStateObject (const DtPacket &packet) |
| | Create the state object based upon the packet. More...
|
| |
| virtual DtStateObject * | updateStateObject (const DtPacket &packet) |
| | Update the state object based upon the packet. More...
|
| |
| virtual DtStateObject * | findStateObject (const DtPacket &packet) |
| | Find a state object for a packet. More...
|
| |
| virtual void | removeStateObject (const DtStateObject *object) |
| | Remove the state object. More...
|
| |
| virtual void | createUpdate (const DtStateObject &object, const DtAbsoluteTime *time, DtMessageBuffer &buffer) const |
| | Create update packet(s) for the object at the given time if provided and add them to buffer. More...
|
| |
| virtual bool | removeStateObject (const DtPacket &packet) |
| | Remove the state object based upon the packet. More...
|
| |
| virtual void | clearObjectList (DtStateObjectList &objectList, DtMessageBuffer *emptyStateBuffer, DtAbsoluteTime time) |
| | Clear the object list. More...
|
| |
| virtual void | clearObjectList (DtStateObjectList &objectList) |
| | Clear the object list. More...
|
| |
| virtual void | clearInteractionList (DtPacketList &interactionList) |
| | Clear the interaction list. More...
|
| |