* @brief Recreates the FrameReader with a new frame configuration. */
| 144 | * @brief Recreates the FrameReader with a new frame configuration. |
| 145 | */ |
| 146 | void IO::DeviceManager::reconfigure(const FrameConfig& config) |
| 147 | { |
| 148 | Q_ASSERT(m_driver); |
| 149 | |
| 150 | m_frameConfig = config; |
| 151 | killFrameReader(); |
| 152 | startFrameReader(config); |
| 153 | } |
| 154 | |
| 155 | //-------------------------------------------------------------------------------------------------- |
| 156 | // Private slots |
no outgoing calls
no test coverage detected