#include <XnTypes.h>
List of all members.
Detailed Description
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.
Member Data Documentation
Closes the stream.
- Parameters:
-
| pCookie | [in] A cookie that was received with this interface. |
Opens the stream for reading.
- Parameters:
-
| 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.
- Parameters:
-
| 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.
- Parameters:
-
| 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
- Parameters:
-
| pCookie | [in] A cookie that was received with this interface. |
- Returns:
- (XnUInt32)-1 if there was an error in the stream.
The documentation for this struct was generated from the following file: