Public Member Functions
xn::MockAudioGenerator Class Reference

#include <XnCppWrapper.h>

Inheritance diagram for xn::MockAudioGenerator:
Inheritance graph
[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

Definition at line 3810 of file XnCppWrapper.h.


Constructor & Destructor Documentation

Ctor

Parameters:
hNode[in] Node handle

Definition at line 3818 of file XnCppWrapper.h.


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.

Definition at line 4639 of file XnCppWrapper.h.

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.

Definition at line 4644 of file XnCppWrapper.h.

XnStatus xn::MockAudioGenerator::SetData ( XnUInt32  nFrameID,
XnUInt64  nTimestamp,
XnUInt32  nDataSize,
const XnUInt8 pAudioBuffer 
) [inline]
For full details and usage, see xnMockAudioSetData

Definition at line 3839 of file XnCppWrapper.h.

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

Definition at line 3851 of file XnCppWrapper.h.

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

Parameters:
audioMD[in] Object to take data from

Definition at line 3861 of file XnCppWrapper.h.


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


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