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

Function OSVR_PLUGIN

plugins/videobasedtracker/com_osvr_VideoBasedHMDTracker.cpp:528–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526} // namespace
527
528OSVR_PLUGIN(com_osvr_VideoBasedHMDTracker) {
529 osvr::pluginkit::PluginContext context(ctx);
530
531 /// Register a detection callback function object.
532 context.registerHardwareDetectCallback(new HardwareDetection());
533
534 return OSVR_RETURN_SUCCESS;
535}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected