ForeachLoopBody Class

(QScxmlDataModel::ForeachLoopBody)

The ForeachLoopBody class represents a function to be executed on each iteration of an SCXML foreach loop. More...

Header: #include <ForeachLoopBody>
qmake: QT += scxml
Since: Qt 5.8

Public Functions

ForeachLoopBody()
virtual ~ForeachLoopBody()
virtual void run(bool *ok) = 0

Detailed Description

The ForeachLoopBody class represents a function to be executed on each iteration of an SCXML foreach loop.

Member Function Documentation

ForeachLoopBody::ForeachLoopBody()

Creates a new foreach loop body.

[virtual] ForeachLoopBody::~ForeachLoopBody()

Destroys a foreach loop body.

[pure virtual] void ForeachLoopBody::run(bool *ok)

This function is executed on each iteration. If the execution fails, ok is set to false, otherwise it is set to true.

© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.