QScxmlTableData#

The QScxmlTableData class is used by compiled state machines. More

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#
PySide6.QtScxml.QScxmlTableData.assignmentInfo(assignmentId)#
Parameters

assignmentId – int

Return type

PySide6.QtScxml.QScxmlExecutableContent.AssignmentInfo

Returns the AssignmentInfo object for the given assignmentId.

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.

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

evaluatorId – int

Return type

PySide6.QtScxml.QScxmlExecutableContent.EvaluatorInfo

Returns the EvaluatorInfo object for the given evaluatorId.

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

foreachId – int

Return type

PySide6.QtScxml.QScxmlExecutableContent.ForeachInfo

Returns the ForeachInfo object for the given foreachId.

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.

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

int

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

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

str

Returns the name of the state machine.

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.

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

qint32

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

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

id – int

Return type

str

Returns a QString for the given id.