Navigation
API > API/Plugins > API/Plugins/BackChannel
Base class for OSC messages
| Name | FBackChannelOSCPacket |
| Type | class |
| Header File | /Engine/Plugins/Experimental/BackChannel/Source/BackChannel/Public/BackChannel/Protocol/OSC/BackChannelOSCPacket.h |
| Include Path | #include "BackChannel/Protocol/OSC/BackChannelOSCPacket.h" |
Syntax
class FBackChannelOSCPacket
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FBackChannelOSCPacket() |
BackChannel/Protocol/OSC/BackChannelOSCPacket.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetSize() |
Return the total size in bytes of this message | BackChannel/Protocol/OSC/BackChannelOSCPacket.h | |
| Return the type of this packet | BackChannel/Protocol/OSC/BackChannelOSCPacket.h | ||
TArray< uint8 > WriteToBuffer () |
Return a buffer with a copy of the contents of this packet | BackChannel/Protocol/OSC/BackChannelOSCPacket.h | |
void WriteToBuffer
(
TArray< uint8 >& Buffer |
Write the contents of this packet into the specified buffer starting at an offset of Buffer.Num() | BackChannel/Protocol/OSC/BackChannelOSCPacket.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedPtr< FBackChannelOSCPacket > CreateFromBuffer
(
const void* Data, |
Helper to construct a packet (and in the case of a bundle, any sub-packets) from the specified buffer | BackChannel/Protocol/OSC/BackChannelOSCPacket.h | |
static OSCPacketType GetType
(
const void* Data, |
Static helper to determine the type of packet (if any) at the specified address | BackChannel/Protocol/OSC/BackChannelOSCPacket.h |