class QScxmlTableData

The QScxmlTableData class is used by compiled state machines. More

Synopsis

Virtual methods

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.

abstract assignmentInfo(assignmentId)
Parameters:

assignmentId – int

Return type:

AssignmentInfo

Returns the AssignmentInfo object for the given assignmentId.

abstract 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 evaluatorInfo(evaluatorId)
Parameters:

evaluatorId – int

Return type:

EvaluatorInfo

Returns the EvaluatorInfo object for the given evaluatorId.

abstract foreachInfo(foreachId)
Parameters:

foreachId – int

Return type:

ForeachInfo

Returns the ForeachInfo object for the given foreachId.

abstract 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 instructions()
Return type:

int

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

abstract name()
Return type:

str

Returns the name of the state machine.

abstract serviceFactory(id)
Parameters:

id – int

Return type:

QScxmlInvokableServiceFactory

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

abstract stateMachineTable()
Return type:

qint32

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

abstract string(id)
Parameters:

id – int

Return type:

str

Returns a QString for the given id.