Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages | Examples

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 data types which are going to be received and transferred over a network. WOscBundle and WOscMessage are such objects. Both can be elements of an OSC bundle.

Definition at line 48 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 byte stream 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 Sun Nov 1 23:31:19 2009 for WOscLib by  doxygen 1.4.1