#include <oscargument.h>
Public Member Functions | |
OSCBlob (const void *sourceData, int size) | |
virtual | ~OSCBlob () |
void * | getCopy () |
virtual std::string | toString () const override |
![]() | |
OSCBaseValue ()=default | |
virtual | ~OSCBaseValue ()=default |
Public Attributes | |
void * | mData = nullptr |
int | mSize = 0 |
Protected Member Functions | |
virtual void | add (osc::OutboundPacketStream &outPacket) const override |
virtual size_t | size () const override |
OSC value that holds a blob of data
OSCBlob | ( | const void * | sourceData, |
int | size | ||
) |
Constructor copies the blob data block over in to mData This object ones that data, on destruction the data is deleted
sourceData | the osc data associated with the blob |
size | the size of the blob in bytes |
|
virtual |
On Destruction the blob data is deleted
|
overrideprotectedvirtual |
Adds the managed value to the packet
outPacket | the packet to add the value to |
Implements OSCBaseValue.
void* getCopy | ( | ) |
|
overrideprotectedvirtual |
Implements OSCBaseValue.
|
overridevirtual |
Implements OSCBaseValue.
void* mData = nullptr |
int mSize = 0 |