| 66 | /// will be returned in the arguments, and true will be returned. |
| 67 | template <typename ReportType> |
| 68 | bool getState(osvr::util::time::TimeValue ×tamp, |
| 69 | typename osvr::common::traits::StateType<ReportType>::type & |
| 70 | state) const { |
| 71 | osvr::common::tracing::markGetState(m_path); |
| 72 | if (!m_state.hasState<ReportType>()) { |
| 73 | return false; |
| 74 | } |
| 75 | m_state.getState<ReportType>(timestamp, state); |
| 76 | return true; |
| 77 | } |
| 78 | |
| 79 | template <typename ReportType> bool hasStateForReportType() const { |
| 80 | return m_state.hasState<ReportType>(); |
nothing calls this directly
no test coverage detected