<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qtscxml-module-cpp.qdoc --> <title>Qt SCXML C++ Classes | Qt SCXML 5.12.6</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.12</td><td ><a href="qtscxml-index.html">Qt SCXML</a></td><td >Qt SCXML C++ Classes</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtscxml-index.html">Qt 5.12.6 Reference Documentation</a></td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#namespaces">Namespaces</a></li> <li class="level1"><a href="#classes">Classes</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Qt SCXML C++ Classes</h1> <span class="subtitle"></span> <!-- $$$QtScxml-brief --> <p>Provides classes to create and use state machines from SCXML files. <a href="#details">More...</a></p> <!-- @@@QtScxml --> <a name="namespaces"></a> <h2 id="namespaces">Namespaces</h2> <div class="table"><table class="annotated"> <tr class="odd topAlign"><td class="tblName"><p><a href="qscxmlexecutablecontent.html">QScxmlExecutableContent</a></p></td><td class="tblDescr"><p>Contains various types used to interpret executable content in state machines</p></td></tr> </table></div> <a name="classes"></a> <h2 id="classes">Classes</h2> <div class="table"><table class="annotated"> <tr class="odd topAlign"><td class="tblName"><p><a href="qscxmlexecutablecontent-assignmentinfo.html">QScxmlExecutableContent::AssignmentInfo</a></p></td><td class="tblDescr"><p>AssingmentInfo class represents a data assignment</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qscxmlexecutablecontent-evaluatorinfo.html">QScxmlExecutableContent::EvaluatorInfo</a></p></td><td class="tblDescr"><p>Represents a unit of executable content</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qscxmlexecutablecontent-foreachinfo.html">QScxmlExecutableContent::ForeachInfo</a></p></td><td class="tblDescr"><p>Represents a foreach construct</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qscxmldatamodel-foreachloopbody.html">QScxmlDataModel::ForeachLoopBody</a></p></td><td class="tblDescr"><p>Represents a function to be executed on each iteration of an SCXML foreach loop</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qscxmlexecutablecontent-invokeinfo.html">QScxmlExecutableContent::InvokeInfo</a></p></td><td class="tblDescr"><p>Represents a service invocation</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qscxmlcompiler-loader.html">QScxmlCompiler::Loader</a></p></td><td class="tblDescr"><p>URI resolver and resource loader for an SCXML compiler</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qscxmlexecutablecontent-parameterinfo.html">QScxmlExecutableContent::ParameterInfo</a></p></td><td class="tblDescr"><p>Represents a parameter to a service invocation</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qscxmlcompiler.html">QScxmlCompiler</a></p></td><td class="tblDescr"><p>Compiler for SCXML files</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qscxmlcppdatamodel.html">QScxmlCppDataModel</a></p></td><td class="tblDescr"><p>C++ data model for a Qt SCXML state machine</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qscxmldatamodel.html">QScxmlDataModel</a></p></td><td class="tblDescr"><p>The data model base class for a Qt SCXML state machine</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qscxmldynamicscxmlservicefactory.html">QScxmlDynamicScxmlServiceFactory</a></p></td><td class="tblDescr"><p>Creates SCXML service instances from documents loaded at runtime</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qscxmlecmascriptdatamodel.html">QScxmlEcmaScriptDataModel</a></p></td><td class="tblDescr"><p>The ECMAScript data model for a Qt SCXML state machine</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qscxmlerror.html">QScxmlError</a></p></td><td class="tblDescr"><p>Describes the errors returned by the Qt SCXML state machine when parsing an SCXML file</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qscxmlevent.html">QScxmlEvent</a></p></td><td class="tblDescr"><p>Event for a Qt SCXML state machine</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qscxmlinvokableservice.html">QScxmlInvokableService</a></p></td><td class="tblDescr"><p>The base class for services called from state machines</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qscxmlinvokableservicefactory.html">QScxmlInvokableServiceFactory</a></p></td><td class="tblDescr"><p>Creates invokable service instances</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qscxmlnulldatamodel.html">QScxmlNullDataModel</a></p></td><td class="tblDescr"><p>The null data model for a Qt SCXML stateMachine</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qscxmlstatemachine.html">QScxmlStateMachine</a></p></td><td class="tblDescr"><p>Interface to the state machines created from SCXML files</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qscxmlstaticscxmlservicefactory.html">QScxmlStaticScxmlServiceFactory</a></p></td><td class="tblDescr"><p>Creates SCXML service instances from precompiled documents</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qscxmltabledata.html">QScxmlTableData</a></p></td><td class="tblDescr"><p>Used by compiled state machines</p></td></tr> </table></div> <!-- $$$QtScxml-description --> <a name="details"></a> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>To include the definitions of the module's classes, use the following directive:</p> <pre class="cpp"> <span class="preprocessor">#include <QScxmlStateMachine></span> </pre> <p>To link against the module, add this line to your qmake .pro file:</p> <pre class="cpp"> QT <span class="operator">+</span><span class="operator">=</span> scxml </pre> <p>For more information, see <a href="qtscxml-instantiating-state-machines.html">Instantiating State Machines</a>.</p> </div> <!-- @@@QtScxml --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> 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. </p> </div> </body> </html>