MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / WriteNodeDataBegin

Method WriteNodeDataBegin

Source/Modules/nimRecorder/RecorderNode.cpp:484–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484XnStatus RecorderNode::WriteNodeDataBegin(const XnChar* strNodeName)
485{
486 RecordedNodeInfo* pRecordedNodeInfo = GetRecordedNodeInfo(strNodeName);
487 XN_VALIDATE_PTR(pRecordedNodeInfo, XN_STATUS_BAD_NODE_NAME);
488 NodeDataBeginRecord record(m_pRecordBuffer, RECORD_MAX_SIZE, FALSE);
489 record.SetNodeID(pRecordedNodeInfo->nNodeID);
490 XnStatus nRetVal = record.Encode();
491 XN_IS_STATUS_OK(nRetVal);
492 nRetVal = WriteRecordToStream(strNodeName, record);
493 XN_IS_STATUS_OK(nRetVal);
494 return XN_STATUS_OK;
495}
496
497XnStatus RecorderNode::UpdateNodeSeekInfo(const XnChar* strNodeName, const RecordedNodeInfo& recordedNodeInfo)
498{

Callers

nothing calls this directly

Calls 2

SetNodeIDMethod · 0.80
EncodeMethod · 0.80

Tested by

no test coverage detected