C++ API Reference

Memory buffer utility class. More...

#include <MPxThreadedDeviceNode.h>

Public Member Functions

 MCharBuffer ()
 Constructor. More...
 
char * ptr ()
 Returns the pointer of the buffer. More...
 
long size ()
 Returns the size of the buffer. More...
 

Friends

class MPxThreadedDeviceNode
 

Detailed Description

Memory buffer utility class.

Simple utility class so that we do not pass a reference to a char*

Examples:
gameInputDevice/gameInputDevice.cpp, randomizerDevice/randomizerDevice.cpp, and udpDevice/udpDevice.cpp.

Constructor & Destructor Documentation

Constructor.

Creates a empty character buffer.

Member Function Documentation

char * ptr ( )

Returns the pointer of the buffer.

Returns
Buffer pointer.
Examples:
gameInputDevice/gameInputDevice.cpp, randomizerDevice/randomizerDevice.cpp, and udpDevice/udpDevice.cpp.
long size ( )

Returns the size of the buffer.

Returns
Buffer size.

The documentation for this class was generated from the following files: