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

Method NotifyStateImpl

Source/OpenNI/XnNodeWatcher.cpp:142–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142XnStatus NodeWatcher::NotifyStateImpl()
143{
144 XnStatus nRetVal = XN_STATUS_OK;
145 XnBool bExSerCap = m_node.IsCapabilitySupported(XN_CAPABILITY_EXTENDED_SERIALIZATION);
146
147 nRetVal = NotifyIntPropChanged(XN_CAPABILITY_EXTENDED_SERIALIZATION, bExSerCap);
148 XN_IS_STATUS_OK(nRetVal);
149
150 if (bExSerCap)
151 {
152 nRetVal = xnNotifyExState(m_node.GetHandle(), &m_notifications, m_pCookie);
153 XN_IS_STATUS_OK(nRetVal);
154 }
155
156 return XN_STATUS_OK;
157}
158
159XnStatus NodeWatcher::NotifyIntPropChanged(const XnChar* strPropName, XnUInt64 nValue)
160{

Callers

nothing calls this directly

Calls 9

xnNotifyExStateFunction · 0.85
GetHandleMethod · 0.80
GetMirrorCapMethod · 0.80
IsCapabilitySupportedMethod · 0.45
IsGeneratingMethod · 0.45
IsMirroredMethod · 0.45
GetBytesPerPixelMethod · 0.45
GetPixelFormatMethod · 0.45
GetDeviceMaxDepthMethod · 0.45

Tested by

no test coverage detected