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

QScxmlInvokableServiceFactory Class

The QScxmlInvokableServiceFactory class creates invokable service instances.

This class was introduced in Qt 5.8.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QScxmlInvokableServiceFactory Class

Detailed Description

Each service instance represents an <invoke> element in the SCXML document. Each time the service is actually invoked, a new instance of QScxmlInvokableService is created.

Property Documentation

 

[read-only] invokeInfo : const QScxmlExecutableContent::InvokeInfo

This property holds the QScxmlExecutableContent::InvokeInfo passed to the constructor.

Access functions:

  • const &invokeInfo() const

[read-only] names : const QList<QScxmlExecutableContent::StringId>

This property holds the names passed to the constructor.

Access functions:

  • const <> &names() const

[read-only] parameters : const QList<QScxmlExecutableContent::ParameterInfo>

This property holds the parameters passed to the constructor.

Access functions:

  • const <> &parameters() const

Member Function Documentation

 

[pure virtual] QScxmlInvokableService *QScxmlInvokableServiceFactory::invoke(QScxmlStateMachine *parentStateMachine)

Invokes the service with the parameters given in the constructor, passing parentStateMachine as the parent. Returns the new invokable service.

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