13 #ifndef DtChangeInteractionTransportationTypeInteraction_H_
14 #define DtChangeInteractionTransportationTypeInteraction_H_
19 #include <vlutil/vlList.h>
21 class DtMomInterCbMgr;
22 class DtChangeInteractionTransportationTypeInteraction;
23 typedef void (*DtChangeInteractionTransportationTypeInteractionCb)
24 (
const DtChangeInteractionTransportationTypeInteraction& inter,
void* usr);
26 class DT_DLL_LRC DtChangeInteractionTransportationTypeInteraction :
27 public DtServiceInteraction
32 DtChangeInteractionTransportationTypeInteraction();
35 virtual ~DtChangeInteractionTransportationTypeInteraction();
38 DtChangeInteractionTransportationTypeInteraction(
39 const DtChangeInteractionTransportationTypeInteraction& orig);
42 DtChangeInteractionTransportationTypeInteraction& operator=(
43 const DtChangeInteractionTransportationTypeInteraction& orig);
47 virtual const DtPhvps& phvps();
51 virtual bool setFromPhvps(
const DtPhvps& phvps);
58 virtual MAKRti::DtTransportType transport()
const;
59 virtual void setTransport( MAKRti::DtTransportType data );
64 static DtServiceInteraction* create();
67 static void addCallback(DtMomInterCbMgr* callBackManager,
68 DtChangeInteractionTransportationTypeInteractionCb cb,
void* usr);
69 static void removeCallback(DtMomInterCbMgr* callBackManager,
70 DtChangeInteractionTransportationTypeInteractionCb 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 encodeTransportType(
88 const DtMomInteraction& data,
93 virtual void decodeTransportType(
94 DtMomInteraction* data,
95 const DtPhvps& parameters,
99 static const char* theInteractionName;
104 MAKRti::DtTransportType myTransport;
105 bool myReceivedInteractionHandle;
106 bool myReceivedTransport;
108 const char *INTERACTION_HANDLE_PARAMETER_NAME;
109 const char *TRANSPORT_TYPE_PARAMETER_NAME;