QScxmlTableData

The QScxmlTableData class is used by compiled state machines. More

Inheritance diagram of PySide2.QtScxml.QScxmlTableData

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

assignmentId – int

Return type:

PySide2.QtScxml.QScxmlExecutableContent.AssignmentInfo

Returns the AssignmentInfo object for the given assignmentId .

PySide2.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.

PySide2.QtScxml.QScxmlTableData.evaluatorInfo(evaluatorId)
Parameters:

evaluatorId – int

Return type:

PySide2.QtScxml.QScxmlExecutableContent.EvaluatorInfo

Returns the EvaluatorInfo object for the given evaluatorId .

PySide2.QtScxml.QScxmlTableData.foreachInfo(foreachId)
Parameters:

foreachId – int

Return type:

PySide2.QtScxml.QScxmlExecutableContent.ForeachInfo

Returns the ForeachInfo object for the given foreachId .

PySide2.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.

PySide2.QtScxml.QScxmlTableData.instructions()
Return type:

int

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

PySide2.QtScxml.QScxmlTableData.name()
Return type:

str

Returns the name of the state machine.

PySide2.QtScxml.QScxmlTableData.serviceFactory(id)
Parameters:

id – int

Return type:

PySide2.QtScxml.QScxmlInvokableServiceFactory

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

PySide2.QtScxml.QScxmlTableData.stateMachineTable()
Return type:

qint32

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

PySide2.QtScxml.QScxmlTableData.string(id)
Parameters:

id – int

Return type:

str

Returns a QString for the given id .