7 #ifndef DtHlaObjectWithStateRep_H_
8 #define DtHlaObjectWithStateRep_H_
35 RTI::ObjectInstanceHandle
id,
70 const RTI::AttributeHandleSet& eligibleAttrs,
71 const RTI::AttributeHandleSet& requiredAttrs,
102 virtual void stopUsingTheseForReflecting(
129 RTI::ObjectInstanceHandle
id,
131 RTI::ObjectHandle
id,
161 RTI::ObjectInstanceHandle
id,
163 RTI::ObjectHandle
id,
virtual void computeEligible()
Recomputes the set of attrs that are eligible for sending.
virtual DtStateRepository * stateRepForUpdating() const
Returns current state repository used for updating.
Definition: hlaObjectWithStateRep.h:173
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtHlaStateDecoder * myDecoder
These are all used for encoding only.
Definition: hlaObjectWithStateRep.h:148
DtHlaObject & operator=(const DtHlaObject &src)
Assignment operator: not implemented; do not call.
This file provides a declaration of the class DtHlaObject.
static DtHlaObject * create(DtExerciseConn *conn, RTI::ObjectHandle id, const char *name, DtObjClassDesc &classDesc, bool reflecting)
Creator function for this class.
Definition: hlaObjectWithStateRep.h:158
DtHlaObjectWithStateRep(DtExerciseConn *conn, RTI::ObjectHandle id, const char *name, DtObjClassDesc &classDesc, bool reflecting)
constructor
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
virtual void reflect(const DtStateMsg &msg)=0
Handle reflection of object (receipt of state message) from the network.
virtual DtStateRepository * asSeenByRemote() const
Returns asSeenByRemote.
Definition: hlaObjectWithStateRep.h:179
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
Instances of DtHlaObject are used to represent HLA objects which are communicated across the network...
Definition: hlaObject.h:58
DtList is deprecated, please use std::list<T>.
Definition: vlList.h:71
DtList myDecList
List of decoder/stateRep pairs.
Definition: hlaObjectWithStateRep.h:155
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:34
DtStateRepository * myStateRepForUpdating
Definition: hlaObjectWithStateRep.h:150
DtStateRepository * myAsSeenByRemote
Definition: hlaObjectWithStateRep.h:151
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
DtHlaStateEncoder * myEncoder
Definition: hlaObjectWithStateRep.h:149
virtual void generateUpdate(const RTI::AttributeHandleSet &eligibileAttrs, const RTI::AttributeHandleSet &requiredAttrs, DtStateMsg *msg)
Called by update to actually generate an outgoing message.
virtual void reflectLocal(const DtStateMsg &msg)=0
Called by callReflectLocal to handle the reflection of updates that we are sending locally...
class DtStateMsg:
Definition: stateMsgHLA.h:32
virtual void printMsg(const DtStateMsg &msg, bool fullReport=false) const
Prints contents of a state msg.
class DtHlaObjectWithStateRep:
Definition: hlaObjectWithStateRep.h:28