-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated gh-pages for commit b158a71
Author: Leroy Ruegemer <[email protected]> update docs
- Loading branch information
Showing
37 changed files
with
1,465 additions
and
12,181 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
.. _spec: http://www.w3.org/TR/scxml/ | ||
.. _JEXL: https://commons.apache.org/proper/commons-jexl/reference/syntax.html | ||
|
||
.. highlight:: xml | ||
|
||
=================== | ||
SCXML Configuration | ||
=================== | ||
|
||
How to set Configuration | ||
------------------------ | ||
|
||
Bonsai SCXML Statemachine Configuration is done in the datamodel of any scxm file. | ||
|
||
Example: | ||
|
||
.. code-block:: xml | ||
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" initial="A"> | ||
<datamodel> | ||
<data id="#_STATE_PREFIX" expr="'de.unibi.citec.clf.bonsai.skills.'"/> | ||
</datamodel> | ||
.. note:: | ||
Remember :ref:`Sourced<scxml sourcing>` files get copied into the main file. | ||
Set Configurations only in the topmost scxml to avoid suprises | ||
|
||
Configurations | ||
-------------- | ||
|
||
`#_STATE_PREFIX` | ||
................ | ||
|
||
defaults to: `de.unibi.citec.clf.bonsai.skills.` | ||
|
||
Package prefix for skills: | ||
|
||
.. code-block:: xml | ||
<state id="Fatal"/> | ||
Results in skill: `de.unibi.citec.clf.bonsai.skills.Fatal` being executed. | ||
|
||
`#_DISABLE_DEFAULT_SLOT_WARNINGS` | ||
................................. | ||
|
||
defaults to `false` | ||
|
||
`#_ENABLE_SKILL_WARNINGS` | ||
......................... | ||
|
||
defaults to `false` | ||
|
||
`#_GENERATE_DEFAULT_SLOTS` | ||
.......................... | ||
|
||
defaults to `false` | ||
|
||
`#_CONFIGURE_AND_VALIDATE` | ||
.......................... | ||
|
||
defaults to `true` | ||
|
||
`#_ENABLE_CONFIG_CACHE` | ||
....................... | ||
|
||
defaults to `false` | ||
|
||
`#_FINAL_STATES` | ||
................ | ||
|
||
defaults to `true` | ||
|
||
Always assume `End` and `Fatal` as final states and stop the statemachine. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -164,6 +164,8 @@ Assign is used to update data entrys | |
.. _scxml sourcing: | ||
|
||
Sourcing | ||
-------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.