state machine, parallel seems to work, final state and info about active atomic states

This commit is contained in:
2024-07-17 21:11:01 +03:00
parent 3db26a762c
commit abdba6d68b
6 changed files with 168 additions and 61 deletions

View File

@@ -27,5 +27,11 @@ PIStateMachine::PIStateMachine(const PIString & n): PIStateBase(n) {
bool PIStateMachine::start() {
setActiveRecursive(false);
return PIStateBase::start();
is_running = PIStateBase::start();
return is_running;
}
void PIStateMachine::onFinish() {
need_finish = true;
}