12 #ifndef DtSetFederationSwitchesInteraction_H_
13 #define DtSetFederationSwitchesInteraction_H_
16 #if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
21 #include <vlutil/vlList.h>
23 class DtMomInterCbMgr;
24 class DtSetFederationSwitchesInteraction;
25 typedef void (*DtSetFederationSwitchesInteractionCb)
26 (
const DtSetFederationSwitchesInteraction& inter,
void* usr);
28 class DT_DLL_LRC DtSetFederationSwitchesInteraction :
29 public DtServiceInteraction
34 DtSetFederationSwitchesInteraction();
37 virtual ~DtSetFederationSwitchesInteraction();
40 DtSetFederationSwitchesInteraction(
41 const DtSetFederationSwitchesInteraction& orig);
44 DtSetFederationSwitchesInteraction& operator=(
45 const DtSetFederationSwitchesInteraction& orig);
49 virtual const DtPhvps& phvps();
53 virtual bool setFromPhvps(
const DtPhvps& phvps);
56 virtual bool autoProvide()
const;
57 virtual void setAutoProvide(
bool data);
60 virtual bool receivedAutoProvide()
const;
64 static DtServiceInteraction* create();
67 static void addCallback(DtMomInterCbMgr* callBackManager,
68 DtSetFederationSwitchesInteractionCb cb,
void* usr);
69 static void removeCallback(DtMomInterCbMgr* callBackManager,
70 DtSetFederationSwitchesInteractionCb cb,
void* usr);
75 virtual void encodeAutoProvide(
76 const DtMomInteraction& data,
81 virtual void decodeAutoProvide(
82 DtMomInteraction* data,
83 const DtPhvps& parameters,
87 static const char* theInteractionName;
92 bool myReceivedAutoProvide;
94 const char *AUTO_PROVIDE_PARAMETER_NAME;
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
The declaration of internal types.
DtHandle DtParameterHandle
Definition: internalTypes.h:38