MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / osvrClientCheckStatus

Function osvrClientCheckStatus

src/osvr/ClientKit/ContextC.cpp:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52}
53OSVR_ReturnCode osvrClientCheckStatus(OSVR_ClientContext ctx) {
54 if (!ctx) {
55 return OSVR_RETURN_FAILURE;
56 }
57 return ctx->getStatus() ? OSVR_RETURN_SUCCESS : OSVR_RETURN_FAILURE;
58}
59OSVR_ReturnCode osvrClientUpdate(OSVR_ClientContext ctx) {
60 osvr::common::tracing::ClientUpdate region;
61 ctx->update();

Callers 1

checkStatusMethod · 0.85

Calls 1

getStatusMethod · 0.80

Tested by

no test coverage detected