22 #ifndef __XN_MODULE_CPP_INTERFACE_H__
23 #define __XN_MODULE_CPP_INTERFACE_H__
45 class ModuleProductionNode;
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;
79 ExportedNodesList m_ExportedNodes;
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;
232 virtual const void*
GetData() = 0;
252 virtual XnStatus OnNodeNewData(
const XnChar* strNodeName, XnUInt64 nTimeStamp, XnUInt32 nFrame,
const void* pData, XnUInt32 nSize) = 0;
277 virtual XnUInt32
GetNumFrames(
const XnChar* strNodeName, XnUInt32& nFrames) = 0;
279 virtual XnBool
IsEOF() = 0;
371 virtual const void*
GetData() {
return NULL; }
413 virtual const void*
GetData() {
return NULL; }
496 virtual const void*
GetData() {
return NULL; }
532 virtual XnStatus CompressData(
const void* pSrc, XnUInt32 nSrcSize,
void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten)
const = 0;
533 virtual XnStatus DecompressData(
const void* pSrc, XnUInt32 nSrcSize,
void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten)
const = 0;
547 #endif // __XN_MODULE_CPP_INTERFACE_H__