13 #ifndef DtChangeInteractionOrderTypeInteraction_H_
14 #define DtChangeInteractionOrderTypeInteraction_H_
19 #include <vlutil/vlList.h>
21 class DtMomInterCbMgr;
22 class DtChangeInteractionOrderTypeInteraction;
23 typedef void (*DtChangeInteractionOrderTypeInteractionCb)
24 (
const DtChangeInteractionOrderTypeInteraction& inter,
void* usr);
26 class DT_DLL_LRC DtChangeInteractionOrderTypeInteraction :
27 public DtServiceInteraction
32 DtChangeInteractionOrderTypeInteraction();
35 virtual ~DtChangeInteractionOrderTypeInteraction();
38 DtChangeInteractionOrderTypeInteraction(
39 const DtChangeInteractionOrderTypeInteraction& orig);
42 DtChangeInteractionOrderTypeInteraction& operator=(
43 const DtChangeInteractionOrderTypeInteraction& orig);
47 virtual const DtPhvps& phvps();
51 virtual bool setFromPhvps(
const DtPhvps& phvps);
64 static DtServiceInteraction* create();
67 static void addCallback(DtMomInterCbMgr* callBackManager,
68 DtChangeInteractionOrderTypeInteractionCb cb,
void* usr);
69 static void removeCallback(DtMomInterCbMgr* callBackManager,
70 DtChangeInteractionOrderTypeInteractionCb cb,
void* usr);
75 virtual void encodeInteractionHandle(
76 const DtMomInteraction& data,
81 virtual void decodeInteractionHandle(
82 DtMomInteraction* data,
83 const DtPhvps& parameters,
87 virtual void encodeOrderType(
88 const DtMomInteraction& data,
93 virtual void decodeOrderType(
94 DtMomInteraction* data,
95 const DtPhvps& parameters,
99 static const char* theInteractionName;
105 bool myReceivedInteractionHandle;
106 bool myReceivedOrder;
108 const char *INTERACTION_HANDLE_PARAMETER_NAME;
109 const char *ORDER_TYPE_PARAMETER_NAME;