#include <XnTypes.h>
Public Member Functions | |
| void (XN_CALLBACK_TYPE *Close)(void *pCookie) | |
| XnStatus (XN_CALLBACK_TYPE *Open)(void *pCookie) | |
| XnStatus (XN_CALLBACK_TYPE *Write)(void *pCookie | |
| XnStatus (XN_CALLBACK_TYPE *Seek)(void *pCookie | |
| XnUInt32 (XN_CALLBACK_TYPE *Tell)(void *pCookie) | |
Public Attributes | |
| XnOSSeekType const XnUInt32 | nOffset |
| const XnChar const void XnUInt32 | nSize |
| const XnChar const void * | pData |
| XnOSSeekType | seekType |
| const XnChar * | strNodeName |
An interface used for communication between OpenNI and a recorder module. This interface is used by a recorder module to send recorded data to OpenNI, which then knows how to store them according to one of the values of XnRecordMedium.
Closes the stream.
| pCookie | [in] A token that was received with this interface. |
Opens the stream for writing.
| pCookie | [in] A token that was received with this interface. |
Writes data to the stream
| pCookie | [in] A token that was received with this interface. |
| strNodeName | [in] Optional. Specifies the node that initiated the write action. |
| pData | [in] A pointer to the data to write. |
| nSize | [in] Number of bytes to be written. |
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 position in the stream.
| pCookie | [in] A cookie that was received with this interface. |
| pPos | [out] The position of the stream. |
| const XnChar const void XnUInt32 XnRecorderOutputStreamInterface::nSize |
| const XnChar const void* XnRecorderOutputStreamInterface::pData |