Public Member Functions | Public Attributes
XnRecorderOutputStreamInterface 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 *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 voidpData
XnOSSeekType seekType
const XnCharstrNodeName

Detailed Description

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.

Definition at line 664 of file XnTypes.h.


Member Function Documentation

Closes the stream.

Parameters:
pCookie[in] A token that was received with this interface.

Opens the stream for writing.

Parameters:
pCookie[in] A token that was received with this interface.

Writes data to the stream

Parameters:
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.

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 position in the stream.

Parameters:
pCookie[in] A cookie that was received with this interface.
pPos[out] The position of the stream.
Returns:
(XnUInt32)-1 on error.

Member Data Documentation

Definition at line 691 of file XnTypes.h.

Definition at line 681 of file XnTypes.h.

Definition at line 681 of file XnTypes.h.

Definition at line 691 of file XnTypes.h.

Definition at line 681 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