* @brief Runs the configured template over a binary frame. */
| 258 | * @brief Runs the configured template over a binary frame. |
| 259 | */ |
| 260 | QList<QStringList> DataModel::CFrameParser::parseBinary(const QByteArray& frame) |
| 261 | { |
| 262 | Q_ASSERT(!frame.isEmpty()); |
| 263 | |
| 264 | if (!m_parser) [[unlikely]] |
| 265 | return {}; |
| 266 | |
| 267 | return m_parser->parseBinary(frame); |
| 268 | } |
| 269 | |
| 270 | /** |
| 271 | * @brief Returns true once a template has been configured successfully. |
no test coverage detected