Public Member Functions | Public Attributes
XnPlayerInputStreamInterface Struct Reference

#include <XnTypes.h>

List of all members.

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
voidpBuffer
void XnUInt32 XnUInt32pnBytesRead
XnOSSeekType seekType

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.

Definition at line 716 of file XnTypes.h.


Member Function 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.

Member Data Documentation

Definition at line 743 of file XnTypes.h.

Definition at line 734 of file XnTypes.h.

Definition at line 734 of file XnTypes.h.

Definition at line 734 of file XnTypes.h.

Definition at line 743 of file XnTypes.h.


The documentation for this struct was generated from the following file:


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