Add signals to ProcessorHandler indicating run state edge transitions
MODIFY
src/processorhandler.cpp
src/processorhandler.cpp
@@ -66,6 +66,7 @@ const vsrtl::core::SparseArray& ProcessorHandler::getRegisters() const {
}
void ProcessorHandler::run() {
+ emit runStarted();
auto future = QtConcurrent::run([=] {
m_currentProcessor->setEnableSignals(false);
bool stopRunning = m_stopRunningFlag;

MODIFY
src/processorhandler.h
src/processorhandler.h
@@ -146,6 +146,12 @@ signals:
*/
void exit();
+ /**
+ * @brief runStarted/runFinished
+ * Signals indiacting whether the processor is being started/stopped in asynchronously running without any GUI
+ * updates.
+ */
+ void runStarted();
void runFinished();
public slots:

Add signals to ProcessorHandler indicating run state edge transitions