이 페이지에서

QScxmlTableData Class

QScxmlTableData 클래스는 컴파일된 상태 머신에서 사용됩니다. 더 보기...

헤더: #include <QScxmlTableData>
CMake: find_package(Qt6 REQUIRED COMPONENTS Scxml)
target_link_libraries(mytarget PRIVATE Qt6::Scxml)
qmake: QT += scxml

공개 함수

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는 SCXML 상태 머신의 컴파일된 표현에 대한 인터페이스입니다. 이 인터페이스는 내부적으로만 사용되어야 하며, SCXML 문서에서 컴파일된 상태 머신에 의해서만 사용되어야 합니다.

멤버 함수 설명

[virtual noexcept] QScxmlTableData::~QScxmlTableData()

SXCML 테이블 데이터를 삭제합니다.

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

지정된 ` assignmentId`에 대한 ` QScxmlExecutableContent::AssignmentInfo ` 객체를 반환합니다.

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

데이터 모델 내 데이터 항목의 이름에 해당하는 문자열 ID를 가져옵니다. 문자열의 개수는 ` count `에 저장되며, 문자열 ID 배열에 대한 포인터가 반환됩니다.

문자열 ID 배열에 대한 포인터를 반환합니다.

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

지정된 ` evaluatorId`에 대한 ` QScxmlExecutableContent::EvaluatorInfo ` 객체를 반환합니다.

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

지정된 ` foreachId`에 대한 ` QScxmlExecutableContent::ForeachInfo ` 객체를 반환합니다.

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

테이블 데이터를 초기화합니다. 상태 머신을 초기화할 때 실행될 명령이 포함된 컨테이너의 ID를 반환합니다.

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

상태 머신에 포함된 실행 가능 콘텐츠의 명령어에 대한 포인터를 반환합니다.

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

상태 머신의 이름을 반환합니다.

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

ID가 id 인 상태에 대해 호출 가능한 서비스를 생성하는 서비스 팩토리를 반환합니다.

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

정수의 불투명한 시퀀스 형태로 표현된 전체 상태 테이블에 대한 포인터를 반환합니다.

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

지정된 ` id`에 대한 ` QString `를 반환합니다.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.