#include <XnTypes.h>
Public Member Functions | |
void (XN_CALLBACK_TYPE *Close)(void *pCookie) | |
XnStatus (XN_CALLBACK_TYPE *Open)(void *pCookie) | |
XnStatus (XN_CALLBACK_TYPE *Read)(void *pCookie | |
XnStatus (XN_CALLBACK_TYPE *Seek)(void *pCookie | |
XnUInt32 (XN_CALLBACK_TYPE *Tell)(void *pCookie) | |
Public Attributes | |
XnOSSeekType const XnInt32 | nOffset |
void XnUInt32 | nSize |
void * | pBuffer |
void XnUInt32 XnUInt32 * | pnBytesRead |
XnOSSeekType | seekType |
An interface used for communication between OpenNI and a player module. This interface is used by a player module to receive recorded data from OpenNI, which knows where to get them according to one of the values of XnRecordMedium.
Closes the stream.
pCookie | [in] A cookie that was received with this interface. |
Opens the stream for reading.
pCookie | [in] A cookie that was received with this interface. |
Reads data from the stream. May read less data than asked, if the stream is near its end. This is not considered an error.
pCookie | [in] A cookie that was received with this interface. |
pBuffer | [out] A pointer to the buffer to read into. |
nSize | [in] Number of bytes to read. |
pnBytesRead | [out] Optional. Number of bytes actually read. |
Sets the stream's pointer to the specified position.
pCookie | [in] A cookie that was received with this interface. |
seekType | [in] Specifies how to seek - according to current position, end or beginning. |
nOffset | [in] Specifies how many bytes to move |
Tells the current stream position
pCookie | [in] A cookie that was received with this interface. |