Classes | Defines | Typedefs | Functions
XnGeneralBuffer.h File Reference
#include "XnPlatform.h"
#include "XnOS.h"
#include "XnStatusCodes.h"
Include dependency graph for XnGeneralBuffer.h:

Go to the source code of this file.

Classes

struct  XnGeneralBuffer

Defines

#define XN_PACK_GENERAL_BUFFER(x)   XnGeneralBufferPack(&x, sizeof(x))
#define XN_VALIDATE_GENERAL_BUFFER_TYPE(gb, t)

Typedefs

typedef struct XnGeneralBuffer XnGeneralBuffer

Functions

XnStatus XnGeneralBufferAlloc (XnGeneralBuffer *pDest, XnUInt32 nSize)
XnStatus XnGeneralBufferCopy (XnGeneralBuffer *pDest, const XnGeneralBuffer *pSrc)
void XnGeneralBufferFree (XnGeneralBuffer *pDest)
XnGeneralBuffer XnGeneralBufferPack (void *pData, XnUInt32 nDataSize)
XnStatus XnGeneralBufferRealloc (XnGeneralBuffer *pDest, XnUInt32 nSize)

Define Documentation

#define XN_PACK_GENERAL_BUFFER (   x)    XnGeneralBufferPack(&x, sizeof(x))

Definition at line 114 of file XnGeneralBuffer.h.

#define XN_VALIDATE_GENERAL_BUFFER_TYPE (   gb,
  t 
)
Value:
if ((gb).nDataSize != sizeof(t))                        \
        {                                                                                       \
                return XN_STATUS_INVALID_BUFFER_SIZE;   \
        }

Definition at line 116 of file XnGeneralBuffer.h.


Typedef Documentation


Function Documentation

XnStatus XnGeneralBufferAlloc ( XnGeneralBuffer pDest,
XnUInt32  nSize 
) [inline]

Definition at line 79 of file XnGeneralBuffer.h.

XnStatus XnGeneralBufferCopy ( XnGeneralBuffer pDest,
const XnGeneralBuffer pSrc 
) [inline]

Copies one general buffer into another.

Definition at line 66 of file XnGeneralBuffer.h.

void XnGeneralBufferFree ( XnGeneralBuffer pDest) [inline]

Definition at line 105 of file XnGeneralBuffer.h.

XnGeneralBuffer XnGeneralBufferPack ( void pData,
XnUInt32  nDataSize 
) [inline]

Packs a pointer and a size into an XnGeneralBuffer struct.

Definition at line 55 of file XnGeneralBuffer.h.

XnStatus XnGeneralBufferRealloc ( XnGeneralBuffer pDest,
XnUInt32  nSize 
) [inline]

Definition at line 92 of file XnGeneralBuffer.h.



nao_openni
Author(s): Bener SUAY
autogenerated on Mon Jan 6 2014 11:27:51