22 #ifndef __XN_MODULE_CPP_INTERFACE_H__
23 #define __XN_MODULE_CPP_INTERFACE_H__
62 if (nCount < m_ExportedNodes.
Size())
64 return XN_STATUS_OUTPUT_BUFFER_OVERFLOW;
68 for (ExportedNodesList::ConstIterator it = m_ExportedNodes.
Begin();
69 it != m_ExportedNodes.
End();
72 aEntryPoints[i] = *it;
144 virtual XnStatus GetRange(
const XnChar* strCap, XnInt32& nMin, XnInt32& nMax, XnInt32& nStep, XnInt32& nDefault, XnBool& bIsAutoSupported) = 0;
145 virtual XnStatus Get(
const XnChar* strCap, XnInt32& nValue) = 0;
146 virtual XnInt32
Set(
const XnChar* strCap, XnInt32 nValue) = 0;
154 #ifdef XN_NO_DYNAMIC_CAST
157 xnOSMemSet(m_aInterfaces, 0,
sizeof(m_aInterfaces));
177 #ifdef XN_NO_DYNAMIC_CAST
194 #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__