13 #include <vlutil/vlNetTypes.h>
14 #include <vlutil/vlString.h>
15 #include <matrix/vlVector.h>
17 namespace MAKVrExchange
19 class DtPortalConnection;
68 virtual unsigned int netSize()
const;
virtual void writeSelfToBuffer(void *buffer, int bufferSize) const
Writes this message into the memory buffer provided by buffer.
static void removeCallback(MAKVrExchange::DtPortalConnection *conn, DtPortalBoomInteractionCb cb, void *usr)
Removes the callback for when interactions are received.
The base class for all messages passed through the portal.
Definition: pMessage.h:65
Contains the DtPortalInteraction class declaration.
virtual std::ostream & printDataToStream(std::ostream &str) const
Prints the current state of this message to the stream specified by str.
DtDEC_ATTRIBUTE(DtU32, Volume, volume)
Represents a weapon fire event.
Definition: pBoomInter.h:27
DtPortalInteractions are a special type of DtPortalMessages which are used to transmit simulation dat...
Definition: pInteraction.h:21
virtual unsigned int netSize() const
NOTE: DtDEC_ATTRIBUTE resets the access specifier to protected.
virtual void readSelfFromBuffer(const void *buffer, int bufferSize)
Reads this message from the memory buffer into this object.
static const MAKVrExchange::DtPortalMessageKind theKind
NOTE: DtDEC_ATTRIBUTE resets the access specifier to protected.
Definition: pBoomInter.h:64
virtual ~DtPortalBoomInteraction()
Virtual DTOR.
DtPortalBoomInteraction()
CTOR.
void(* DtPortalBoomInteractionCb)(const DtPortalBoomInteraction &inter, void *usr)
Definition: pBoomInter.h:31
static void addCallback(MAKVrExchange::DtPortalConnection *conn, DtPortalBoomInteractionCb cb, void *usr)
Adds a callback to be called when interactions are received.
static DtPortalMessage * create()
Definition: pBoomInter.h:77
Connects a broker to the Portal Data Exchange.
Definition: pConnection.h:49
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23
DtPortalMessage(DtPortalMessageKind kind)
CTOR.