MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / reset

Method reset

app/src/DataModel/Scripting/CFrameParser.cpp:310–315  ·  view source on GitHub ↗

* @brief Resets the engine to an unloaded state, dropping the configured template. */

Source from the content-addressed store, hash-verified

308 * @brief Resets the engine to an unloaded state, dropping the configured template.
309 */
310void DataModel::CFrameParser::reset()
311{
312 m_parser.reset();
313 m_templateId.clear();
314 m_lastError.clear();
315}
316
317/**
318 * @brief Stores the load error and reports it via message box or warning log.

Callers 3

releaseEngineMethod · 0.45
clearSourceEngineMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected