QScxmlTableData#

The QScxmlTableData class is used by compiled state machines. More

Inheritance diagram of PySide6.QtScxml.QScxmlTableData

Synopsis#

Virtual functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

QScxmlTableData is the interface to the compiled representation of SCXML state machines. It should only be used internally and by state machines compiled from SCXML documents.

class PySide6.QtScxml.QScxmlTableData#
abstract PySide6.QtScxml.QScxmlTableData.assignmentInfo(assignmentId)#
Parameters:

assignmentId – int

Return type:

PySide6.QtScxml.QScxmlExecutableContent.AssignmentInfo

Returns the AssignmentInfo object for the given assignmentId.

abstract PySide6.QtScxml.QScxmlTableData.dataNames(count)#
Parameters:

count – int

Return type:

int

Retrieves the string IDs for the names of data items in the data model. The number of strings is saved into count and a pointer to an array of string IDs is returned.

Returns a pointer to an array of string IDs.

abstract PySide6.QtScxml.QScxmlTableData.evaluatorInfo(evaluatorId)#
Parameters:

evaluatorId – int

Return type:

PySide6.QtScxml.QScxmlExecutableContent.EvaluatorInfo

Returns the EvaluatorInfo object for the given evaluatorId.

abstract PySide6.QtScxml.QScxmlTableData.foreachInfo(foreachId)#
Parameters:

foreachId – int

Return type:

PySide6.QtScxml.QScxmlExecutableContent.ForeachInfo

Returns the ForeachInfo object for the given foreachId.

abstract PySide6.QtScxml.QScxmlTableData.initialSetup()#
Return type:

int

Initializes the table data. Returns the ID of the container with instructions to be executed when initializing the state machine.

abstract PySide6.QtScxml.QScxmlTableData.instructions()#
Return type:

int

Returns a pointer to the instructions of executable content contained in the state machine.

abstract PySide6.QtScxml.QScxmlTableData.name()#
Return type:

str

Returns the name of the state machine.

abstract PySide6.QtScxml.QScxmlTableData.serviceFactory(id)#
Parameters:

id – int

Return type:

PySide6.QtScxml.QScxmlInvokableServiceFactory

Returns the service factory that creates invokable services for the state with the ID id.

abstract PySide6.QtScxml.QScxmlTableData.stateMachineTable()#
Return type:

qint32

Returns a pointer to the complete state table, expressed as an opaque sequence of integers.

abstract PySide6.QtScxml.QScxmlTableData.string(id)#
Parameters:

id – int

Return type:

str

Returns a QString for the given id.