scxml — State Chart XML Classes
— This set of classes is a basic implementation of State Chart XML.
namespace for static ScXML-related functions.
Base class for all SCXML objects.
Base class for events sent to SCXML state machines.
base class for event targets for inter-system event communication
Manager for processing events and setting states in SCXML structures.
base class for all SCXML elements.
base class for element reader objects
implements the <scxml> SCXML element.
implements the <initial> SCXML element.
abstract base class for the SCXML 'state' elements.
implements the <state> SCXML element.
implements the <parallel> SCXML element.
implements the <final> SCXML element.
implements the <onentry> SCXML element.
implements the <onexit> SCXML element.
<transition> SCXML element.
implements the <history> SCXML element.
base class for all SCXML elements with executable content.
implements the <event> SCXML element.
implements the <if> SCXML element.
implements the <elseif> SCXML element.
implements the <else> SCXML element.
implements the <log> SCXML element.
implements the <datamodel> SCXML element.
<data> SCXML element.
the <assign> SCXML element.
implements the <validate> SCXML element.
< send> SCXML element.
implements the <invoke> SCXML element.
implements the <param> SCXML element.
implements the <finalize> SCXML element.
implements the <content> SCXML element.
implements the <anchor> SCXML element.
implements the <script> SCXML element.
defines an interface for profile-dependent evaluators.
base class for evaluator data objects in the SCXML data module
base class for immediate data values
A data object representing a reference to another object in the data model.
Implements the logical AND operator.
implements the data objects for the evaluator for the minimum profile.
implements the evaluator for the minimum profile.
implements the XPath evaluator.
evaluator for the ECMAScript profile.
This set of classes is a basic implementation of State Chart XML.
It is not complete, nor is it necessary conformant to those parts it implements.
Currently Coin uses SCXML for managing 3D viewer user interaction (the non-model-interaction part) - the examiner navigation mode in layman terms.
The Draft Specification for SCXML is at http://www.w3.org/TR/scxml/.
- See also
State Chart XML The ScXML part of Coin is a basic, non-conformant, partial implementation of State Chart XML, based on the W3C Working Draft 16 May 2008 of SCXML http://www.w3.org/TR/2008/WD-scxml-20080516/. The latest version should be at http://www.w3.org/TR/scxml/. Read that document for a basic understanding how SCXML documents should be constructed.
Coin uses SCXML for setting up its navigation systems, to be able to remove hardcoded logic for user navigation and externalize it into XML files. This makes it easy for users to customize the navigation system for their own purposes.
- The <parallel> element is not supported as intended with parallel states. Coin will just treat it as an ordinary <state> element for now. Parallel states is not high up on the priority list, so expect this to be handled after a lot of other functionality is in place.
- The <datamodel>-related part of the specification is not fully supported.
- The 'target' attribute in the <transition> element can only identify a single state currently, not multiple as you would have to when having support for <parallel> elements (which we don't have).
- The virtual state elements like <history> and <anchor> are just implemented as dummy states for now and do not do anything in relation to what they should actually do.
For learning more about how ScXML is implemented and used in Coin, take a look at $COINDIR/scxml/navigation/examiner.xml (or in the Coin source directory, data/scxml/navigation/examiner.xml) for an example of how an SCXML system for camera navigation looks, and look at the source files in src/navigation/ for the C++ counterparts to the same SCXML navigation system.
Generated automatically by Doxygen for Coin from the source code.