15 #include <vlutil/vlString.h>
18 namespace MAKVrExchange
21 namespace DtTenaBroker
27 typedef void (*DtReceiveInteractionCb)( DtInteraction* inter,
void* usr );
39 struct DtInteractionCallbackInfo
42 DtReceiveInteractionCb cb;
47 DtInteractionCallbackManager();
50 virtual ~DtInteractionCallbackManager();
53 virtual void addInteractionCallback(
const DtString& name,
54 DtReceiveInteractionCb cb,
void* usr );
57 virtual void removeInteractionCallback(
const DtString& name,
58 DtReceiveInteractionCb cb,
void* usr );
62 virtual void applyCallback(
const DtString& name, DtInteraction* inter );
67 virtual bool cbInfoAreEqual(
const DtInteractionCallbackInfo& first,
68 const DtInteractionCallbackInfo& second );
72 typedef std::list<DtInteractionCallbackInfo> InteractionCallbackList;
73 InteractionCallbackList myInteractionCallbackList;