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

Method OSVR_DeviceInitObject

src/osvr/Connection/DeviceInitObject.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36using osvr::connection::Connection;
37
38OSVR_DeviceInitObject::OSVR_DeviceInitObject(OSVR_PluginRegContext ctx)
39 : m_context(&PluginSpecificRegistrationContext::get(ctx)),
40 m_conn(Connection::retrieveConnection(m_context->getParent())),
41 m_analogIface(nullptr), m_buttonIface(nullptr), m_tracker(false) {}
42
43OSVR_DeviceInitObject::OSVR_DeviceInitObject(
44 osvr::connection::ConnectionPtr conn)

Callers

nothing calls this directly

Calls 2

getFunction · 0.85
getParentMethod · 0.80

Tested by

no test coverage detected