#include <XnCppWrapper.h>
Public Member Functions | |
XnStatus | AllocateData (XnUInt32 nBytes) |
Allocated a writable buffer. If a previous buffer was allocated it will be freed (or reused if possible). Also see conc_meta_data. | |
const XnUInt8 * | Data () const |
const XnUInt8 *& | Data () |
XnUInt32 | DataSize () const |
XnUInt32 & | DataSize () |
XnUInt32 | FrameID () const |
XnUInt32 & | FrameID () |
void | Free () |
const XnOutputMetaData * | GetUnderlying () const |
XnOutputMetaData * | GetUnderlying () |
XnBool | IsDataNew () const |
XnBool & | IsDataNew () |
XnStatus | MakeDataWritable () |
OutputMetaData (const XnUInt8 **ppData) | |
XnUInt64 | Timestamp () const |
XnUInt64 & | Timestamp () |
XnUInt8 * | WritableData () |
virtual | ~OutputMetaData () |
Protected Attributes | |
XnUInt8 * | m_pAllocatedData |
Private Attributes | |
XnUInt32 | m_nAllocatedSize |
XnOutputMetaData | m_output |
const XnUInt8 ** | m_ppData |
Represents the basic MetaData object.
Definition at line 85 of file XnCppWrapper.h.
xn::OutputMetaData::OutputMetaData | ( | const XnUInt8 ** | ppData | ) | [inline] |
Ctor. Meant to be used by other MetaData objects.
ppData | [in] A pointer to the data member of the meta data object. |
Definition at line 93 of file XnCppWrapper.h.
virtual xn::OutputMetaData::~OutputMetaData | ( | ) | [inline, virtual] |
Dtor. Frees any allocated data.
Definition at line 101 of file XnCppWrapper.h.
XnStatus xn::OutputMetaData::AllocateData | ( | XnUInt32 | nBytes | ) | [inline] |
Allocated a writable buffer. If a previous buffer was allocated it will be freed (or reused if possible). Also see conc_meta_data.
nBytes | [in] The requested size for the buffer, in bytes. |
Definition at line 145 of file XnCppWrapper.h.
const XnUInt8* xn::OutputMetaData::Data | ( | ) | const [inline] |
Gets a pointer to the data.
Reimplemented in xn::SceneMetaData, xn::IRMetaData, and xn::DepthMetaData.
Definition at line 129 of file XnCppWrapper.h.
const XnUInt8*& xn::OutputMetaData::Data | ( | ) | [inline] |
Gets a pointer to the data.
Reimplemented in xn::SceneMetaData, xn::IRMetaData, and xn::DepthMetaData.
Definition at line 131 of file XnCppWrapper.h.
XnUInt32 xn::OutputMetaData::DataSize | ( | ) | const [inline] |
Gets the data size, in bytes
Definition at line 114 of file XnCppWrapper.h.
XnUInt32& xn::OutputMetaData::DataSize | ( | ) | [inline] |
Gets the data size, in bytes
Definition at line 116 of file XnCppWrapper.h.
XnUInt32 xn::OutputMetaData::FrameID | ( | ) | const [inline] |
Gets the frame ID
Definition at line 109 of file XnCppWrapper.h.
XnUInt32& xn::OutputMetaData::FrameID | ( | ) | [inline] |
Gets the frame ID
Definition at line 111 of file XnCppWrapper.h.
void xn::OutputMetaData::Free | ( | ) | [inline] |
Frees the writable buffer, if one was allocated.
Definition at line 168 of file XnCppWrapper.h.
const XnOutputMetaData* xn::OutputMetaData::GetUnderlying | ( | ) | const [inline] |
Gets the C object that is wrapped by this object.
Reimplemented in xn::SceneMetaData, xn::AudioMetaData, xn::IRMetaData, xn::ImageMetaData, xn::DepthMetaData, and xn::MapMetaData.
Definition at line 124 of file XnCppWrapper.h.
XnOutputMetaData* xn::OutputMetaData::GetUnderlying | ( | ) | [inline] |
Gets the C object that is wrapped by this object.
Reimplemented in xn::SceneMetaData, xn::AudioMetaData, xn::IRMetaData, xn::ImageMetaData, xn::DepthMetaData, and xn::MapMetaData.
Definition at line 126 of file XnCppWrapper.h.
XnBool xn::OutputMetaData::IsDataNew | ( | ) | const [inline] |
TRUE if data was updated since last call to any Update function.
Definition at line 119 of file XnCppWrapper.h.
XnBool& xn::OutputMetaData::IsDataNew | ( | ) | [inline] |
TRUE if data was updated since last call to any Update function.
Definition at line 121 of file XnCppWrapper.h.
XnStatus xn::OutputMetaData::MakeDataWritable | ( | ) | [inline] |
Allocates a buffer and copies current data to it, so that data can be edited. Also see conc_meta_data.
Definition at line 182 of file XnCppWrapper.h.
XnUInt64 xn::OutputMetaData::Timestamp | ( | ) | const [inline] |
Gets the timestamp
Definition at line 104 of file XnCppWrapper.h.
XnUInt64& xn::OutputMetaData::Timestamp | ( | ) | [inline] |
Gets the timestamp
Definition at line 106 of file XnCppWrapper.h.
XnUInt8* xn::OutputMetaData::WritableData | ( | ) | [inline] |
Gets a pointer to the writable buffer (see conc_meta_data).
Reimplemented in xn::SceneMetaData, xn::IRMetaData, xn::ImageMetaData, and xn::DepthMetaData.
Definition at line 133 of file XnCppWrapper.h.
XnUInt32 xn::OutputMetaData::m_nAllocatedSize [private] |
Definition at line 214 of file XnCppWrapper.h.
XnOutputMetaData xn::OutputMetaData::m_output [private] |
Definition at line 211 of file XnCppWrapper.h.
XnUInt8* xn::OutputMetaData::m_pAllocatedData [protected] |
Definition at line 208 of file XnCppWrapper.h.
const XnUInt8** xn::OutputMetaData::m_ppData [private] |
Definition at line 213 of file XnCppWrapper.h.