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 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 | |||
) |
if ((gb).nDataSize != sizeof(t)) \ { \ return XN_STATUS_INVALID_BUFFER_SIZE; \ }
Definition at line 116 of file XnGeneralBuffer.h.
typedef struct XnGeneralBuffer XnGeneralBuffer |
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.