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

Method Register

Include/XnLogWriterBase.h:50–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 XnStatus Register()
51 {
52 XnStatus nRetVal = XN_STATUS_OK;
53
54 if (!m_bRegistered)
55 {
56 OnRegister();
57
58 nRetVal = xnLogRegisterLogWriter(&m_cObject);
59 if (nRetVal != XN_STATUS_OK)
60 {
61 OnUnregister();
62 return (nRetVal);
63 }
64
65 m_bRegistered = TRUE;
66 }
67
68 return (XN_STATUS_OK);
69 }
70
71 void Unregister()
72 {

Callers

nothing calls this directly

Calls 1

xnLogRegisterLogWriterFunction · 0.85

Tested by

no test coverage detected