15 #include <vlpi/entityIdentifier.h>
16 #include <vlutil/vlTime.h>
18 namespace MAKVrExchange
21 namespace DtTenaBroker
24 class DtStopFreezeInteraction;
27 typedef void (*DtStopFreezeInteractionCb)(DtStopFreezeInteraction* inter,
void* usr);
32 class DT_DLL_VLTENA DtStopFreezeInteraction :
public DtInteraction
38 static DtInteraction* create();
41 DtStopFreezeInteraction();
44 virtual ~DtStopFreezeInteraction();
47 DtStopFreezeInteraction(
const DtStopFreezeInteraction& orig);
50 DtStopFreezeInteraction& operator=(
const DtStopFreezeInteraction& orig);
53 virtual void setSenderId(
const DtEntityIdentifier&
id);
56 virtual const DtEntityIdentifier& senderId()
const;
59 virtual void setReceiverId(
const DtEntityIdentifier&
id);
62 virtual const DtEntityIdentifier& receiverId()
const;
65 virtual void setRealWorldTime(
const DtTime time);
68 virtual DtTime realWorldTime()
const;
71 virtual void setRequestId(
int id);
74 virtual int requestId()
const;
77 virtual DtStopReason reason()
const;
80 virtual void setReason(DtStopReason reason);
83 virtual bool reflectWhenFrozen()
const;
86 virtual void setReflectWhenFrozen(
bool flag);
89 virtual bool runClockWhenFrozen()
const;
92 virtual void setRunClockWhenFrozen(
bool flag);
95 virtual bool updateWhenFrozen()
const;
98 virtual void setUpdateWhenFrozen(
bool flag);
101 virtual const char* name()
const;
104 virtual void printData()
const;
107 virtual void printDataToStream(std::ostream& stream)
const;
111 static void addCallback(DtExerciseConn* conn,
112 DtStopFreezeInteractionCb cb,
void* usr);
116 static void removeCallback(DtExerciseConn* conn,
117 DtStopFreezeInteractionCb cb,
void* usr);
121 DtEntityIdentifier myOrigEnt;
122 DtEntityIdentifier myReceiveEnt;
124 DtStopReason myReason;
#define DT_DLL_VLTENA
Definition: brokers/tenaBroker/vlTena/dllExport.h:26