QScxmlTableData Class

The QScxmlTableData class is used by compiled state machines. 更多...

頭: #include <QScxmlTableData>
qmake: QT += scxml
Since: Qt 5.8

該類在 Qt 5.8 引入。

公共函數

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

詳細描述

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.

成員函數文檔編製

[虛擬] QScxmlTableData:: ~QScxmlTableData ()

Destroys the SXCML table data.

[pure virtual] QScxmlExecutableContent::AssignmentInfo QScxmlTableData:: assignmentInfo ( QScxmlExecutableContent::EvaluatorId assignmentId ) const

返迴 QScxmlExecutableContent::AssignmentInfo 對象為給定 assignmentId .

[pure virtual] QScxmlExecutableContent::StringId *QScxmlTableData:: dataNames ( int * count ) const

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.

[pure virtual] QScxmlExecutableContent::EvaluatorInfo QScxmlTableData:: evaluatorInfo ( QScxmlExecutableContent::EvaluatorId evaluatorId ) const

返迴 QScxmlExecutableContent::EvaluatorInfo 對象為給定 evaluatorId .

[pure virtual] QScxmlExecutableContent::ForeachInfo QScxmlTableData:: foreachInfo ( QScxmlExecutableContent::EvaluatorId foreachId ) const

返迴 QScxmlExecutableContent::ForeachInfo 對象為給定 foreachId .

[pure virtual] QScxmlExecutableContent::ContainerId QScxmlTableData:: initialSetup () const

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

[pure virtual] QScxmlExecutableContent::InstructionId *QScxmlTableData:: instructions () const

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

[pure virtual] QString QScxmlTableData:: name () const

Returns the name of the state machine.

[pure virtual] QScxmlInvokableServiceFactory *QScxmlTableData:: serviceFactory ( int id ) const

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

[pure virtual] const qint32 *QScxmlTableData:: stateMachineTable () const

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

[pure virtual] QString QScxmlTableData:: string ( QScxmlExecutableContent::StringId id ) const

返迴 QString 為給定 id .