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

Method create

src/osvr/Common/Location2DComponent.cpp:67–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 } // namespace messages
66
67 shared_ptr<Location2DComponent>
68 Location2DComponent::create(OSVR_ChannelCount numChan) {
69 shared_ptr<Location2DComponent> ret(new Location2DComponent(numChan));
70 return ret;
71 }
72
73 Location2DComponent::Location2DComponent(OSVR_ChannelCount numChan)
74 : m_numSensor(numChan) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected