OpenNI 1.3.2
Public Member Functions
xn::Recorder Class Reference

#include <XnCppWrapper.h>

Inheritance diagram for xn::Recorder:
Inheritance graph

List of all members.

Public Member Functions

 Recorder (XnNodeHandle hNode=NULL)
 Recorder (const NodeWrapper &other)
XnStatus SetDestination (XnRecordMedium destType, const XnChar *strDest)
XnStatus GetDestination (XnRecordMedium &destType, XnChar *strDest, XnUInt32 nBufSize)
XnStatus AddNodeToRecording (ProductionNode &Node, XnCodecID compression=XN_CODEC_NULL)
XnStatus RemoveNodeFromRecording (ProductionNode &Node)
XnStatus Record ()
XnStatus Create (Context &context, const XnChar *strFormatName=NULL)
- Public Member Functions inherited from xn::ProductionNode
 ProductionNode (XnNodeHandle hNode=NULL)
 ProductionNode (const NodeWrapper &other)
NodeInfo GetInfo () const
XnStatus AddNeededNode (ProductionNode &needed)
XnStatus RemoveNeededNode (ProductionNode &needed)
XnBool IsCapabilitySupported (const XnChar *strCapabilityName) const
XnStatus SetIntProperty (const XnChar *strName, XnUInt64 nValue)
XnStatus SetRealProperty (const XnChar *strName, XnDouble dValue)
XnStatus SetStringProperty (const XnChar *strName, const XnChar *strValue)
XnStatus SetGeneralProperty (const XnChar *strName, XnUInt32 nBufferSize, const void *pBuffer)
XnStatus GetIntProperty (const XnChar *strName, XnUInt64 &nValue) const
XnStatus GetRealProperty (const XnChar *strName, XnDouble &dValue) const
XnStatus GetStringProperty (const XnChar *strName, XnChar *csValue, XnUInt32 nBufSize) const
XnStatus GetGeneralProperty (const XnChar *strName, XnUInt32 nBufferSize, void *pBuffer) const
XnStatus LockForChanges (XnLockHandle *phLock)
void UnlockForChanges (XnLockHandle hLock)
XnStatus LockedNodeStartChanges (XnLockHandle hLock)
void LockedNodeEndChanges (XnLockHandle hLock)
const ErrorStateCapability GetErrorStateCap () const
ErrorStateCapability GetErrorStateCap ()
GeneralIntCapability GetGeneralIntCap (const XnChar *strCapability)
void GetContext (Context &context) const
- Public Member Functions inherited from xn::NodeWrapper
 NodeWrapper (XnNodeHandle hNode)
 NodeWrapper (const NodeWrapper &other)
NodeWrapperoperator= (const NodeWrapper &other)
 ~NodeWrapper ()
 operator XnNodeHandle () const
XnNodeHandle GetHandle () const
XnBool operator== (const NodeWrapper &other)
XnBool operator!= (const NodeWrapper &other)
XnBool IsValid () const
const XnChar * GetName () const
XnStatus AddRef ()
void Release ()
XnStatus Ref ()
void Unref ()
void SetHandle (XnNodeHandle hNode)
void TakeOwnership (XnNodeHandle hNode)

Detailed Description

Represents a Recorder node


Constructor & Destructor Documentation

xn::Recorder::Recorder ( XnNodeHandle  hNode = NULL)
inline

Ctor

Parameters:
hNode[in] A node handle
xn::Recorder::Recorder ( const NodeWrapper other)
inline

Member Function Documentation

XnStatus xn::Recorder::AddNodeToRecording ( ProductionNode Node,
XnCodecID  compression = XN_CODEC_NULL 
)
inline

Adds a node to recording and start recording it. This function must be called on each node that is to be recorded with this recorder. For full details and usage, see xnAddNodeToRecording

XnStatus xn::Recorder::Create ( Context context,
const XnChar *  strFormatName = NULL 
)
inline

Creates a recorder. For full details and usage, see xnCreateRecorder

XnStatus xn::Recorder::GetDestination ( XnRecordMedium destType,
XnChar *  strDest,
XnUInt32  nBufSize 
)
inline
XnStatus xn::Recorder::Record ( )
inline

Records one frame of data from each node that was added to the recorder with xnAddNodeToRecording. For full details and usage, see xnRecord

XnStatus xn::Recorder::RemoveNodeFromRecording ( ProductionNode Node)
inline

Removes node from recording and stop recording it. This function can be called on a node that was added to recording with xnAddNodeToRecording. For full details and usage, see xnRemoveNodeFromRecording

XnStatus xn::Recorder::SetDestination ( XnRecordMedium  destType,
const XnChar *  strDest 
)
inline

Tells the recorder where to record. For full details and usage, see xnSetRecorderDestination


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