xn::MockAudioGenerator Class Reference
[C++ Reference]

#include <XnCppWrapper.h>

Inheritance diagram for xn::MockAudioGenerator:
[legend]

List of all members.

Public Member Functions

 MockAudioGenerator (XnNodeHandle hNode=NULL)
XnStatus SetData (XnUInt32 nFrameID, XnUInt64 nTimestamp, XnUInt32 nDataSize, const XnUInt8 *pAudioBuffer)
XnStatus SetData (AudioMetaData &audioMD, XnUInt32 nFrameID, XnUInt64 nTimestamp)
XnStatus SetData (AudioMetaData &audioMD)



XnStatus Create (Context &context, const XnChar *strName=NULL)
XnStatus CreateBasedOn (AudioGenerator &other, const XnChar *strName=NULL)

Detailed Description

Represents a Mock Audio Generator node


Constructor & Destructor Documentation

xn::MockAudioGenerator::MockAudioGenerator ( XnNodeHandle  hNode = NULL  )  [inline]

Ctor

Parameters:
hNode [in] Node handle

Member Function Documentation

XnStatus xn::MockAudioGenerator::Create ( Context context,
const XnChar *  strName = NULL 
) [inline]

Creates a mock audio generator

Parameters:
context [in] The context in which the node should be generated
strName [in] Optional. The name of the new node.
XnStatus xn::MockAudioGenerator::CreateBasedOn ( AudioGenerator other,
const XnChar *  strName = NULL 
) [inline]

Creates a mock audio generator, copying the initial state from another audio generator.

Parameters:
other [in] The audio generator to copy state from
strName [in] Optional. The name of the new node.
XnStatus xn::MockAudioGenerator::SetData ( AudioMetaData audioMD  )  [inline]

Sets the data of the mock node from a meta data object

Parameters:
audioMD [in] Object to take data from
XnStatus xn::MockAudioGenerator::SetData ( AudioMetaData audioMD,
XnUInt32  nFrameID,
XnUInt64  nTimestamp 
) [inline]

Sets the data of the mock node from a meta data object, overriding frame ID and timestamp

Parameters:
audioMD [in] Object to take data from
nFrameID [in] Frame ID
nTimestamp [in] Timestamp
XnStatus xn::MockAudioGenerator::SetData ( XnUInt32  nFrameID,
XnUInt64  nTimestamp,
XnUInt32  nDataSize,
const XnUInt8 *  pAudioBuffer 
) [inline]

For full details and usage, see xnMockAudioSetData


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

Generated on 11 Feb 2011 for OpenNI 1.0.0 by  doxygen 1.6.1