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

Method addComponent

src/osvr/Connection/DeviceInitObject.cpp:109–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 m_serverInterfaces.push_back(iface);
108}
109void OSVR_DeviceInitObject::addComponent(
110 osvr::common::DeviceComponentPtr const &comp) {
111 m_components.push_back(comp);
112}
113void OSVR_DeviceInitObject::returnTrackerInterface(
114 osvr::connection::TrackerServerInterface &iface) {
115 *m_trackerIface = &iface;

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected