13 #ifndef DtChangeAttributeOrderTypeInteraction_H_
14 #define DtChangeAttributeOrderTypeInteraction_H_
19 #include <vlutil/vlList.h>
21 class DtMomInterCbMgr;
22 class DtChangeAttributeOrderTypeInteraction;
23 typedef void (*DtChangeAttributeOrderTypeInteractionCb)
24 (
const DtChangeAttributeOrderTypeInteraction& inter,
void* usr);
26 class DT_DLL_LRC DtChangeAttributeOrderTypeInteraction :
27 public DtServiceInteraction
32 DtChangeAttributeOrderTypeInteraction();
35 virtual ~DtChangeAttributeOrderTypeInteraction();
38 DtChangeAttributeOrderTypeInteraction(
39 const DtChangeAttributeOrderTypeInteraction& orig);
42 DtChangeAttributeOrderTypeInteraction& operator=(
43 const DtChangeAttributeOrderTypeInteraction& orig);
47 virtual const DtPhvps& phvps();
51 virtual bool setFromPhvps(
const DtPhvps& phvps);
54 #if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
58 virtual MAKRti::DtString
const & instance()
const;
59 virtual MAKRti::DtString & instance();
60 virtual void setInstance(MAKRti::DtString
const & data);
69 virtual MAKRti::DtOrderType order()
const;
70 virtual void setOrder( MAKRti::DtOrderType data );
74 static DtServiceInteraction* create();
77 static void addCallback(DtMomInterCbMgr* callBackManager,
78 DtChangeAttributeOrderTypeInteractionCb cb,
void* usr);
79 static void removeCallback(DtMomInterCbMgr* callBackManager,
80 DtChangeAttributeOrderTypeInteractionCb cb,
void* usr);
85 virtual void encodeInstance(
86 const DtMomInteraction& data,
91 virtual void decodeInstance(
92 DtMomInteraction* data,
93 const DtPhvps& parameters,
97 virtual void encodeOrderType(
98 const DtMomInteraction& data,
103 virtual void decodeOrderType(
104 DtMomInteraction* data,
105 const DtPhvps& parameters,
109 virtual void encodeAttributeList(
110 const DtMomInteraction& data,
113 virtual void decodeAttributeList(
114 DtMomInteraction* data,
115 const DtPhvps& parameters,
119 static const char* theInteractionName;
124 #if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
127 MAKRti::DtString myInstance;
130 MAKRti::DtOrderType myOrder;
132 bool myReceivedAttributes;
133 bool myReceivedOrder;
134 bool myReceivedInstance;
136 const char *OBJECT_INSTANCE_PARAMETER_NAME;
137 const char *ATTRIBUTE_LIST_PARAMETER_NAME;
138 const char *ORDER_TYPE_PARAMETER_NAME;