11 #include <vl/interaction.h>
14 template <
typename T_Interaction,
unsigned EventId>
32 template <
typename T_Interaction,
unsigned EventId>
37 template <
typename T_Interaction,
unsigned EventId>
42 template <
typename T_Interaction,
unsigned EventId>
47 T_Interaction::addCallback(myNetworkInterface->exerciseConnection(), netMessageCallback,
this);
50 template <
typename T_Interaction,
unsigned EventId>
56 template <
typename T_Interaction,
unsigned EventId>
62 interEvent.
setSenderId(myNetworkInterface->uuidForObjectIdentifier(inter->senderId()));
66 signal_receivedEvent(interEvent);
69 template <
typename T_Interaction,
unsigned EventId>
76 inter.setSenderId(myNetworkInterface->objectIdentifierFor(interEvent->
senderId()));
78 myNetworkInterface->exerciseConnection()->sendStamped(inter);
virtual void setInteraction(const T_Interaction &inter)
Definition: interactionEvent.h:90
DtInteractionEvent< T_Interaction, EventId > T_InteractionEvent
Definition: interactionEventTranslator.h:18
virtual void processNetMessage(T_Interaction *inter)
Definition: interactionEventTranslator.h:57
class DtVrlinkNetworkInterface:
Definition: vrlinkNetworkInterface.h:60
static void netMessageCallback(T_Interaction *inter, void *usr)
Definition: interactionEventTranslator.h:51
const DtUUID & senderId() const
Definition: interactionEvent.h:108
virtual bool processEvent(const makVrfEvents::DtEvent &)
Method to implement to send events on the network.
Definition: interactionEventTranslator.h:70
virtual void setSenderId(const DtUUID &sender)
Definition: interactionEvent.h:102
DtVrlinkInteractionTranslator()
Definition: interactionEventTranslator.h:33
virtual void init(makVrf::DtVrlinkNetworkInterface *)
When added to the event manager class, this method will be called with the appropriate information...
Definition: interactionEventTranslator.h:43
Definition: interactionEventTranslator.h:15
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
const T_Interaction & interaction() const
Definition: interactionEvent.h:96
Definition: interactionEvent.h:20
virtual ~DtVrlinkInteractionTranslator()
Definition: interactionEventTranslator.h:38
Definition: vrlinkEventTranslator.h:28