WOscPacket Class Reference

#include <WOscPacket.h>

Inherited by WOscBundle, and WOscMessage.

List of all members.

Public Member Functions

virtual void GetBuffer (char *buffer, int bufferLen)=0
virtual const char * GetBuffer ()=0
virtual int GetBufferLen ()=0

Detailed Description

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
Generated on Sat Oct 23 03:05:59 2010 for WOscLib by  doxygen 1.6.3