| 46 | } |
| 47 | |
| 48 | void BaseDevice::m_addComponent(DeviceComponentPtr component) { |
| 49 | if (!component) { |
| 50 | throw std::logic_error( |
| 51 | "Tried to add a null component pointer to a base device!"); |
| 52 | } |
| 53 | m_components.push_back(component); |
| 54 | component->recordParent(*this); |
| 55 | } |
| 56 | |
| 57 | void BaseDevice::registerHandler(vrpn_MESSAGEHANDLER handler, |
| 58 | void *userdata, |
nothing calls this directly
no test coverage detected