| 45 | : m_context(nullptr), m_conn(conn), m_tracker(false) {} |
| 46 | |
| 47 | void OSVR_DeviceInitObject::setName(std::string const &n) { |
| 48 | m_name = n; |
| 49 | if (m_context) { |
| 50 | m_qualifiedName = m_context->getName() + "/" + m_name; |
| 51 | } else { |
| 52 | m_qualifiedName = m_name; |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | template <typename T> |
| 57 | inline bool setOptional(OSVR_ChannelCount input, T ptr, |
no test coverage detected