QScxmlTableData Class
La clase QScxmlTableData es utilizada por las máquinas de estados compiladas. Más información...
| Encabezado: | #include <QScxmlTableData> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Scxml) target_link_libraries(mytarget PRIVATE Qt6::Scxml) |
| qmake: | QT += scxml |
Funciones públicas
| 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 |
Descripción detallada
QScxmlTableData es la interfaz para la representación compilada de las máquinas de estados SCXML. Solo debe utilizarse internamente y por máquinas de estados compiladas a partir de documentos SCXML.
Documentación de las funciones de miembro
[virtual noexcept] QScxmlTableData::~QScxmlTableData()
Elimina los datos de la tabla SXCML.
[pure virtual] QScxmlExecutableContent::AssignmentInfo QScxmlTableData::assignmentInfo(QScxmlExecutableContent::EvaluatorId assignmentId) const
Devuelve el objeto ` QScxmlExecutableContent::AssignmentInfo ` correspondiente al ` assignmentId` indicado.
[pure virtual] QScxmlExecutableContent::StringId *QScxmlTableData::dataNames(int *count) const
Recupera los identificadores de cadena correspondientes a los nombres de los elementos de datos del modelo de datos. El número de cadenas se guarda en ` count ` y se devuelve un puntero a una matriz de identificadores de cadena.
Devuelve un puntero a una matriz de identificadores de cadena.
[pure virtual] QScxmlExecutableContent::EvaluatorInfo QScxmlTableData::evaluatorInfo(QScxmlExecutableContent::EvaluatorId evaluatorId) const
Devuelve el objeto ` QScxmlExecutableContent::EvaluatorInfo ` correspondiente a la dirección ` evaluatorId` indicada.
[pure virtual] QScxmlExecutableContent::ForeachInfo QScxmlTableData::foreachInfo(QScxmlExecutableContent::EvaluatorId foreachId) const
Devuelve el objeto ` QScxmlExecutableContent::ForeachInfo ` correspondiente al ` foreachId` indicado.
[pure virtual] QScxmlExecutableContent::ContainerId QScxmlTableData::initialSetup() const
Inicializa los datos de la tabla. Devuelve el ID del contenedor con las instrucciones que deben ejecutarse al inicializar la máquina de estados.
[pure virtual] QScxmlExecutableContent::InstructionId *QScxmlTableData::instructions() const
Devuelve un puntero a las instrucciones del contenido ejecutable que contiene la máquina de estados.
[pure virtual] QString QScxmlTableData::name() const
Devuelve el nombre de la máquina de estados.
[pure virtual] QScxmlInvokableServiceFactory *QScxmlTableData::serviceFactory(int id) const
Devuelve la fábrica de servicios que crea servicios invocables para el estado con el ID « id ».
[pure virtual] const qint32 *QScxmlTableData::stateMachineTable() const
Devuelve un puntero a la tabla de estados completa, expresada como una secuencia opaca de números enteros.
[pure virtual] QString QScxmlTableData::string(QScxmlExecutableContent::StringId id) const
Devuelve un objeto ` QString ` para el ` id` indicado.
© 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.