IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

ForeachLoopBody Class

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

This class was introduced in Qt 5.8.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

ForeachLoopBody Class

  • Header: ForeachLoopBody

  • Since: Qt 5.8

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Scxml)

    target_link_libraries(mytarget PRIVATE Qt6::Scxml)

  • qmake: QT += scxml

Detailed Description

 

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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+