| 140 | } |
| 141 | |
| 142 | XnStatus 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 | |
| 159 | XnStatus NodeWatcher::NotifyIntPropChanged(const XnChar* strPropName, XnUInt64 nValue) |
| 160 | { |
nothing calls this directly
no test coverage detected