13 #ifndef DtFederateRestoreCompleteInteraction_H_
14 #define DtFederateRestoreCompleteInteraction_H_
19 #include <vlutil/vlList.h>
21 class DtMomInterCbMgr;
22 class DtFederateRestoreCompleteInteraction;
23 typedef void (*DtFederateRestoreCompleteInteractionCb)
24 (
const DtFederateRestoreCompleteInteraction& inter,
void* usr);
26 class DT_DLL_LRC DtFederateRestoreCompleteInteraction :
27 public DtServiceInteraction
32 DtFederateRestoreCompleteInteraction();
35 virtual ~DtFederateRestoreCompleteInteraction();
38 DtFederateRestoreCompleteInteraction(
39 const DtFederateRestoreCompleteInteraction& orig);
42 DtFederateRestoreCompleteInteraction& operator=(
43 const DtFederateRestoreCompleteInteraction& orig);
47 virtual const DtPhvps& phvps();
51 virtual bool setFromPhvps(
const DtPhvps& phvps);
55 virtual bool parametersAreInvalid();
59 virtual unsigned long successIndicator()
const;
60 virtual void setSuccessIndicator(
unsigned long data);
65 static DtServiceInteraction* create();
68 static void addCallback(DtMomInterCbMgr* callBackManager,
69 DtFederateRestoreCompleteInteractionCb cb,
void* usr);
70 static void removeCallback(DtMomInterCbMgr* callBackManager,
71 DtFederateRestoreCompleteInteractionCb cb,
void* usr);
76 virtual void encodeSuccessIndicator(
77 const DtMomInteraction& data,
82 virtual void decodeSuccessIndicator(
83 DtMomInteraction* data,
84 const DtPhvps& parameters,
88 static const char* theInteractionName;
93 unsigned long mySuccess;
94 bool myReceivedSuccess;
96 const char *SUCCESS_INDICATOR_PARAMETER_NAME;
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
The declaration of internal types.
DtHandle DtParameterHandle
Definition: internalTypes.h:38