#include <WOscPacket.h>
Inherited by WOscBundle, and WOscMessage.
Public Member Functions | |
| virtual void | GetBuffer (char *buffer, int bufferLen)=0 |
| virtual const char * | GetBuffer ()=0 |
| virtual int | GetBufferLen ()=0 |
Interface definition of OSC-datatypes which are going to be received and transferred through a network.
WOscBundle and WOscMessage are such objects. Both can be elements of an OSC- bundle.
Definition at line 51 of file WOscPacket.h.
| virtual const char* WOscPacket::GetBuffer | ( | ) | [pure virtual] |
Allocates memory and fills it with the content of the buffer, the caller has to delete it, the buffer-size can be queried through "getBufferLen()".
Implemented in WOscBundle, and WOscMessage.
| virtual void WOscPacket::GetBuffer | ( | char * | buffer, | |
| int | bufferLen | |||
| ) | [pure virtual] |
Fills the buffer with the raw bytestream of this packet.
Implemented in WOscBundle, and WOscMessage.
| virtual int WOscPacket::GetBufferLen | ( | ) | [pure virtual] |
Returns the required buffer size when calling "getBuffer".
Implemented in WOscBundle, and WOscMessage.
1.6.3