diff options
author | Liang Qi <liang.qi@qt.io> | 2017-01-04 10:27:49 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2017-01-04 10:27:49 +0100 |
commit | 0a4715a6d2a3bd98eed3ced4d6eeef887c1dd0b6 (patch) | |
tree | ef045b69558629e97110daa56ced1cf33c92794a /src/scxml/qscxmltabledata.cpp | |
parent | 7fa26117ecb79adbc9dd183a8dd4fa3fd27dbb03 (diff) | |
parent | 4704292500b98143eee9b0fb0b6a34a858ed1253 (diff) |
Merge remote-tracking branch 'origin/5.8.0' into 5.8
Conflicts:
src/scxml/qscxmlinvokableservice.cpp
tools/qscxmlc/scxmlcppdumper.cpp
Change-Id: Iadbe84d8eae7ccdf8dd9a0109af236a3747976c8
Diffstat (limited to 'src/scxml/qscxmltabledata.cpp')
-rw-r--r-- | src/scxml/qscxmltabledata.cpp | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/src/scxml/qscxmltabledata.cpp b/src/scxml/qscxmltabledata.cpp index 5d5115e..f9665d3 100644 --- a/src/scxml/qscxmltabledata.cpp +++ b/src/scxml/qscxmltabledata.cpp @@ -43,6 +43,75 @@ QT_USE_NAMESPACE +/*! + \class QScxmlTableData + \since 5.8 + \inmodule QtScxml + \brief The QScxmlTableData class is used by compiled state machines. + + 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. + */ + +/*! + \fn QScxmlTableData::string(QScxmlExecutableContent::StringId id) const + Returns a QString for the given \a id. + */ + +/*! + \fn QScxmlTableData::instructions() const + Returns a pointer to the instructions of executable content contained in + the state machine. + */ + +/*! + \fn QScxmlTableData::evaluatorInfo(QScxmlExecutableContent::EvaluatorId evaluatorId) const + Returns the QScxmlExecutableContent::EvaluatorInfo object for the given \a evaluatorId. + */ + +/*! + \fn QScxmlTableData::assignmentInfo(QScxmlExecutableContent::EvaluatorId assignmentId) const + Returns the QScxmlExecutableContent::AssignmentInfo object for the given \a assignmentId. + */ + +/*! + \fn QScxmlTableData::foreachInfo(QScxmlExecutableContent::EvaluatorId foreachId) const + Returns the QScxmlExecutableContent::ForeachInfo object for the given \a foreachId. + */ + +/*! + \fn 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 \a count and a pointer to an array of + string IDs is returned. + + Returns a pointer to an array of string IDs. + */ + +/*! + \fn QScxmlTableData::initialSetup() const + Initializes the table data. Returns the ID of the container with + instructions to be executed when initializing the state machine. + */ + +/*! + \fn QScxmlTableData::name() const + Returns the name of the state machine. + */ + +/*! + \fn QScxmlTableData::stateMachineTable() const + Returns a pointer to the complete state table, expressed as an opaque + sequence of integers. + */ + +/*! + \fn QScxmlTableData::serviceFactory(int id) const + Returns the service factory that creates invokable services for the state + with the ID \a id. + */ + using namespace QScxmlInternal; namespace { @@ -898,6 +967,10 @@ private: } // anonymous namespace +/*! + \fn QScxmlTableData::~QScxmlTableData() + Destroys the SXCML table data. + */ QScxmlTableData::~QScxmlTableData() {} |