| 62 | } |
| 63 | |
| 64 | DeviceTokenPtr |
| 65 | OSVR_DeviceTokenObject::createVirtualDevice(std::string const &name, |
| 66 | ConnectionPtr const &conn) { |
| 67 | DeviceInitObject init(conn); |
| 68 | init.setName(name); |
| 69 | DeviceTokenPtr ret(new VirtualDeviceToken(name)); |
| 70 | ret->m_sharedInit(init); |
| 71 | return ret; |
| 72 | } |
| 73 | |
| 74 | OSVR_DeviceTokenObject::OSVR_DeviceTokenObject(std::string const &name) |
| 75 | : m_name(name) {} |
nothing calls this directly
no test coverage detected