#include "DryDemoStates.h" DryDemoStates::DryDemoStates(drydemoXMLstates *parent) : drydemoXMLstates(parent) { //start(); } void DryDemoStates::onMsgReceived(QString msg) { // TODO call the state machine qDebug() << "Msg Received" << msg; start(); connectToState("Idle", onEntry([&]() { qDebug() << "In onEntry"; submitEvent("Tx_Start_Rqst");})); }