21 #ifndef __XN_MODULE_CPP_INTERFACE_H__
22 #define __XN_MODULE_CPP_INTERFACE_H__
61 if (nCount < m_ExportedNodes.
Size())
63 return XN_STATUS_OUTPUT_BUFFER_OVERFLOW;
67 for (ExportedNodesList::ConstIterator it = m_ExportedNodes.
Begin();
68 it != m_ExportedNodes.
End();
71 aEntryPoints[i] = *it;
143 virtual XnStatus GetRange(
const XnChar* strCap, XnInt32& nMin, XnInt32& nMax, XnInt32& nStep, XnInt32& nDefault, XnBool& bIsAutoSupported) = 0;
144 virtual XnStatus Get(
const XnChar* strCap, XnInt32& nValue) = 0;
145 virtual XnInt32
Set(
const XnChar* strCap, XnInt32 nValue) = 0;
153 #ifdef XN_NO_DYNAMIC_CAST
156 xnOSMemSet(m_aInterfaces, 0,
sizeof(m_aInterfaces));
176 #ifdef XN_NO_DYNAMIC_CAST
193 #ifdef XN_NO_DYNAMIC_CAST
237 #ifdef XN_NO_DYNAMIC_CAST
250 virtual const void*
GetData() = 0;
270 virtual XnStatus OnNodeNewData(
const XnChar* strNodeName, XnUInt64 nTimeStamp, XnUInt32 nFrame,
const void* pData, XnUInt32 nSize) = 0;
278 #ifdef XN_NO_DYNAMIC_CAST
288 #ifdef XN_NO_DYNAMIC_CAST
301 virtual XnUInt32
GetNumFrames(
const XnChar* strNodeName, XnUInt32& nFrames) = 0;
303 virtual XnBool
IsEOF() = 0;
331 #ifdef XN_NO_DYNAMIC_CAST
360 #ifdef XN_NO_DYNAMIC_CAST
377 #ifdef XN_NO_DYNAMIC_CAST
394 #ifdef XN_NO_DYNAMIC_CAST
406 #ifdef XN_NO_DYNAMIC_CAST
410 virtual const void*
GetData() {
return NULL; }
433 #ifdef XN_NO_DYNAMIC_CAST
454 #ifdef XN_NO_DYNAMIC_CAST
458 virtual const void*
GetData() {
return NULL; }
541 #ifdef XN_NO_DYNAMIC_CAST
545 virtual const void*
GetData() {
return NULL; }
564 #ifdef XN_NO_DYNAMIC_CAST
581 #ifdef XN_NO_DYNAMIC_CAST
587 virtual XnStatus CompressData(
const void* pSrc, XnUInt32 nSrcSize,
void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten)
const = 0;
588 virtual XnStatus DecompressData(
const void* pSrc, XnUInt32 nSrcSize,
void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten)
const = 0;
594 #ifdef XN_NO_DYNAMIC_CAST
605 #endif // __XN_MODULE_CPP_INTERFACE_H__