10 #ifndef DtUnknownInteraction_H_
11 #define DtUnknownInteraction_H_
26 typedef void (*DtUnknownInteractionCb)
27 (DtUnknownInteraction* inter,
void* usr);
39 DtUnknownInteraction();
43 DtUnknownInteraction(RTI::InteractionClassHandle handle,
44 const RTI::ParameterHandleValueMap& pvMap);
46 DtUnknownInteraction(RTI::InteractionClassHandle handle,
47 const RTI::ParameterHandleValuePairSet& pvList);
51 virtual ~DtUnknownInteraction();
54 DtUnknownInteraction(
const DtUnknownInteraction& orig);
57 DtUnknownInteraction&
operator=(
const DtUnknownInteraction& orig);
61 virtual const RTI::ParameterHandleValueMap& phvm()
const;
63 virtual const RTI::ParameterHandleValuePairSet& phvps()
const;
68 virtual void setFromPhvm(
69 const RTI::ParameterHandleValueMap& pvMap);
71 virtual void setFromPhvps(
72 const RTI::ParameterHandleValuePairSet& pvList);
80 virtual void setExConn(
DtExerciseConn* exConn, DtInterClassDesc* classDesc);
86 virtual const char* name()
const;
96 static void addCallback(RTI::InteractionClassHandle handle,
98 DtUnknownInteractionCb cb,
void* usr, DtDDMRegionSP region = DtDDMRegionSP());
99 static void removeCallback(RTI::InteractionClassHandle handle,
101 DtUnknownInteractionCb cb,
void* usr, DtDDMRegionSP region = DtDDMRegionSP());
108 void internalSetFromPhvps(
const RTI::ParameterHandleValuePairSet& pvList);
114 RTI::ParameterHandleValueMap myParams;
116 RTI::ParameterHandleValuePairSet* myParams;
118 RTI::InteractionClassHandle myHandle;
DtInteraction is an base class for representing DIS PDUs which don't have state.
Definition: interactionDIS.h:24
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
DtInteraction & operator=(const DtInteraction &orig)
assignment operator
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file provides protocol to independence DtExerciseConn.
virtual void printData() const
Print the PDU's data (not including header).
This file is deprecated - Please see simulationAddress.h, entityIdentifier.h, entityType.h, burstDescriptor.h, and NetStructs.h.
This file provide the HLA declaration for the class DtInteraction.