7 #ifndef DtHlaObjectWithStateRep_H_
8 #define DtHlaObjectWithStateRep_H_
28 class DT_DLL_VL DtHlaObjectWithStateRep :
public DtHlaObject
35 RTI::ObjectInstanceHandle
id,
40 DtObjClassDesc &classDesc,
45 DtObjClassDesc &classDesc,
49 virtual ~DtHlaObjectWithStateRep();
60 DtHlaStateEncoder* encoder,
61 DtHlaStateDecoder* decoder);
69 virtual void generateUpdate(
70 const RTI::AttributeHandleSet& eligibleAttrs,
71 const RTI::AttributeHandleSet& requiredAttrs,
77 virtual void computeEligible();
99 DtHlaStateDecoder* decoder);
102 virtual void stopUsingTheseForReflecting(
104 DtHlaStateDecoder* decoder);
112 virtual void reflect(
const DtStateMsg& stateMsg);
117 virtual void reflectLocal(
const DtStateMsg& stateMsg);
122 virtual void printMsg(
const DtStateMsg& msg,
bool fullReport)
const;
129 RTI::ObjectInstanceHandle
id,
131 RTI::ObjectHandle
id,
134 DtObjClassDesc &classDesc,
140 DtHlaObjectWithStateRep(
const DtHlaObjectWithStateRep& orig);
143 DtHlaObjectWithStateRep& operator=(
const DtHlaObjectWithStateRep& orig);
148 DtHlaStateDecoder* myDecoder;
149 DtHlaStateEncoder* myEncoder;
158 inline DtHlaObject* DtHlaObjectWithStateRep::create(
161 RTI::ObjectInstanceHandle
id,
163 RTI::ObjectHandle
id,
166 DtObjClassDesc &classDesc,
169 return new DtHlaObjectWithStateRep(conn,
id, a_name, classDesc, reflecting);
173 DtHlaObjectWithStateRep::stateRepForUpdating()
const
175 return myStateRepForUpdating;
179 DtHlaObjectWithStateRep::asSeenByRemote()
const
181 return myAsSeenByRemote;
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtList is deprecated, please use std::list<T>.
Definition: vlList.h:71
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
Instances of DtStateMsg are used to represent state data communicated via the network in a DIS (as op...
Definition: stateMsgDIS.h:21