In questa pagina

QScxmlTableData Class

La classe QScxmlTableData viene utilizzata dalle macchine a stati compilate. Per saperne di più...

Intestazione: #include <QScxmlTableData>
CMake: find_package(Qt6 REQUIRED COMPONENTS Scxml)
target_link_libraries(mytarget PRIVATE Qt6::Scxml)
qmake: QT += scxml

Funzioni pubbliche

virtual ~QScxmlTableData()
virtual QScxmlExecutableContent::AssignmentInfo assignmentInfo(QScxmlExecutableContent::EvaluatorId assignmentId) const = 0
virtual QScxmlExecutableContent::StringId *dataNames(int *count) const = 0
virtual QScxmlExecutableContent::EvaluatorInfo evaluatorInfo(QScxmlExecutableContent::EvaluatorId evaluatorId) const = 0
virtual QScxmlExecutableContent::ForeachInfo foreachInfo(QScxmlExecutableContent::EvaluatorId foreachId) const = 0
virtual QScxmlExecutableContent::ContainerId initialSetup() const = 0
virtual QScxmlExecutableContent::InstructionId *instructions() const = 0
virtual QString name() const = 0
virtual QScxmlInvokableServiceFactory *serviceFactory(int id) const = 0
virtual const qint32 *stateMachineTable() const = 0
virtual QString string(QScxmlExecutableContent::StringId id) const = 0

Descrizione dettagliata

QScxmlTableData è l'interfaccia per la rappresentazione compilata delle macchine a stati SCXML. Deve essere utilizzata esclusivamente internamente e dalle macchine a stati compilate da documenti SCXML.

Documentazione delle funzioni membro

[virtual noexcept] QScxmlTableData::~QScxmlTableData()

Elimina i dati della tabella SXCML.

[pure virtual] QScxmlExecutableContent::AssignmentInfo QScxmlTableData::assignmentInfo(QScxmlExecutableContent::EvaluatorId assignmentId) const

Restituisce l'oggetto ` QScxmlExecutableContent::AssignmentInfo ` corrispondente all'assignmentId` specificato.

[pure virtual] QScxmlExecutableContent::StringId *QScxmlTableData::dataNames(int *count) const

Recupera gli ID delle stringhe corrispondenti ai nomi degli elementi del modello di dati. Il numero di stringhe viene memorizzato nella variabile ` count ` e viene restituito un puntatore a un array di ID di stringhe.

Restituisce un puntatore a un array di ID di stringhe.

[pure virtual] QScxmlExecutableContent::EvaluatorInfo QScxmlTableData::evaluatorInfo(QScxmlExecutableContent::EvaluatorId evaluatorId) const

Restituisce l'oggetto ` QScxmlExecutableContent::EvaluatorInfo ` corrispondente all'evaluatorId` specificato.

[pure virtual] QScxmlExecutableContent::ForeachInfo QScxmlTableData::foreachInfo(QScxmlExecutableContent::EvaluatorId foreachId) const

Restituisce l'oggetto ` QScxmlExecutableContent::ForeachInfo ` corrispondente all'foreachId` specificato.

[pure virtual] QScxmlExecutableContent::ContainerId QScxmlTableData::initialSetup() const

Inizializza i dati della tabella. Restituisce l'ID del contenitore contenente le istruzioni da eseguire durante l'inizializzazione della macchina a stati.

[pure virtual] QScxmlExecutableContent::InstructionId *QScxmlTableData::instructions() const

Restituisce un puntatore alle istruzioni del contenuto eseguibile contenuto nella macchina a stati.

[pure virtual] QString QScxmlTableData::name() const

Restituisce il nome della macchina a stati.

[pure virtual] QScxmlInvokableServiceFactory *QScxmlTableData::serviceFactory(int id) const

Restituisce la factory di servizi che crea servizi invocabili per lo stato con ID id.

[pure virtual] const qint32 *QScxmlTableData::stateMachineTable() const

Restituisce un puntatore alla tabella di stato completa, espressa come sequenza opaca di numeri interi.

[pure virtual] QString QScxmlTableData::string(QScxmlExecutableContent::StringId id) const

Restituisce un oggetto ` QString ` per l'id` specificato.

© 2026 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.