13 #ifndef DtSetServiceReportingInteraction_H_
14 #define DtSetServiceReportingInteraction_H_
19 #include <vlutil/vlList.h>
21 class DtMomInterCbMgr;
22 class DtSetServiceReportingInteraction;
23 typedef void (*DtSetServiceReportingInteractionCb)
24 (
const DtSetServiceReportingInteraction& inter,
void* usr);
26 class DT_DLL_LRC DtSetServiceReportingInteraction :
27 public DtAdjustInteraction
32 DtSetServiceReportingInteraction();
35 virtual ~DtSetServiceReportingInteraction();
38 DtSetServiceReportingInteraction(
39 const DtSetServiceReportingInteraction& orig);
42 DtSetServiceReportingInteraction& operator=(
43 const DtSetServiceReportingInteraction& orig);
47 virtual const DtPhvps& phvps();
51 virtual bool setFromPhvps(
const DtPhvps& phvps);
54 virtual bool reportingState()
const;
55 virtual void setReportingState(
bool data);
60 static DtAdjustInteraction* create();
63 static void addCallback(DtMomInterCbMgr* callBackManager,
64 DtSetServiceReportingInteractionCb cb,
void* usr);
65 static void removeCallback(DtMomInterCbMgr* callBackManager,
66 DtSetServiceReportingInteractionCb cb,
void* usr);
71 virtual void encodeReportingState(
72 const DtMomInteraction& data,
77 virtual void decodeReportingState(
78 DtMomInteraction* data,
79 const DtPhvps& parameters,
83 static const char* theInteractionName;
87 bool myReportingState;
88 bool myReceivedReportingState;
90 const char *REPORTING_STATE_PARAMETER_NAME;
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
The declaration of internal types.
DtHandle DtParameterHandle
Definition: internalTypes.h:38