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

Method setOperationMode

app/src/IO/FrameReader.cpp:262–270  ·  view source on GitHub ↗

* @brief Sets the operation mode and resets checksum state outside ProjectFile. */

Source from the content-addressed store, hash-verified

260 * @brief Sets the operation mode and resets checksum state outside ProjectFile.
261 */
262void IO::FrameReader::setOperationMode(const SerialStudio::OperationMode mode)
263{
264 m_operationMode = mode;
265 if (m_operationMode != SerialStudio::ProjectFile) {
266 m_checksumLength = 0;
267 m_checksumFunc = ChecksumFunc();
268 m_checksum = QLatin1String("");
269 }
270}
271
272/**
273 * @brief Sets the frame detection mode (start/end/start+end/no delimiters).

Callers 15

startFrameReaderMethod · 0.45
generateProjectMethod · 0.45
setupProjectMethod · 0.45
runDataPipelineMethod · 0.45
runMethod · 0.45
measureNativeStagesMethod · 0.45
endSessionMethod · 0.45
eventFilterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected