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

Method SetStringProperty

Source/Modules/nimMockNodes/MockGenerator.cpp:120–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120XnStatus MockGenerator::SetStringProperty(const XnChar* strName, const XnChar* strValue)
121{
122 XnStatus nRetVal = XN_STATUS_OK;
123
124 if (strcmp(strName, XN_PROP_FRAME_SYNCED_WITH) == 0)
125 {
126 nRetVal = SetFrameSyncNode(strValue);
127 XN_IS_STATUS_OK(nRetVal);
128 }
129 else
130 {
131 nRetVal = MockProductionNode::SetStringProperty(strName, strValue);
132 XN_IS_STATUS_OK(nRetVal);
133 }
134
135 return (XN_STATUS_OK);
136}
137
138XnStatus MockGenerator::SetGeneralProperty(const XnChar* strName, XnUInt32 nBufferSize, const void* pBuffer)
139{

Callers 2

xnSetStringPropertyFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected