| 57 | XnUInt32 GetExportedNodesCount() { return m_ExportedNodes.Size(); } |
| 58 | |
| 59 | XnStatus GetExportedNodes(XnModuleGetExportedInterfacePtr* aEntryPoints, XnUInt32 nCount) |
| 60 | { |
| 61 | if (nCount < m_ExportedNodes.Size()) |
| 62 | { |
| 63 | return XN_STATUS_OUTPUT_BUFFER_OVERFLOW; |
| 64 | } |
| 65 | |
| 66 | XnUInt32 i = 0; |
| 67 | for (ExportedNodesList::ConstIterator it = m_ExportedNodes.Begin(); |
| 68 | it != m_ExportedNodes.End(); |
| 69 | ++it, ++i) |
| 70 | { |
| 71 | aEntryPoints[i] = *it; |
| 72 | } |
| 73 | |
| 74 | return (XN_STATUS_OK); |
| 75 | } |
| 76 | |
| 77 | private: |
| 78 | ExportedNodesList m_ExportedNodes; |
no test coverage detected