#include <XnCppWrapper.h>
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) |
Represents a Mock Audio Generator node
Definition at line 3810 of file XnCppWrapper.h.
xn::MockAudioGenerator::MockAudioGenerator | ( | XnNodeHandle | hNode = NULL | ) | [inline] |
XnStatus xn::MockAudioGenerator::Create | ( | Context & | context, |
const XnChar * | strName = NULL |
||
) | [inline] |
Creates a mock audio generator
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.
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] |
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
audioMD | [in] Object to take data from |
nFrameID | [in] Frame ID |
nTimestamp | [in] Timestamp |
Definition at line 3851 of file XnCppWrapper.h.
XnStatus xn::MockAudioGenerator::SetData | ( | AudioMetaData & | audioMD | ) | [inline] |
Sets the data of the mock node from a meta data object
audioMD | [in] Object to take data from |
Definition at line 3861 of file XnCppWrapper.h.