event
: an internal data value is setservice
: the datas for a provider service are set and the service is invokedcopyService
: the content of the service trigger is copied to an output service, and this service is invokedcopyValue
: the value of a data of the service trigger is copied to an internal datastartTimer
: starts a timer. At the end of the timer a value will be setevent
action sets the value of an internal data.<event name="myData" value="10" type="int" />
service
action sets the value of datas for a provided service.<service name="triggeredEvent"> <data name="boolData" value="true" /> </service>
copyService
action copies the content of the service trigger (or another specified service) to an output service, and this service is invoked.triggeredEvent
service:<copyService name="triggeredEvent"/>In this other example the
fromService
content is copied to the triggeredEvent
service:<copyService name="triggeredEvent"> <fromService name="inputService" /> </copyService>The
strict
attribute specifies if the copies of the services are strict (the default is false). For example:<copyService name="triggeredEvent" strict="true"/>
copyValue
action copy the value of a data of the service trigger to an internal data.<rule> <trigger name="nextWaypoint"> <data name="waypointID" value="WP10" /> </trigger> <copyValue name="myData" data="waypointID" /> </rule>In this case the rule will be triggered if the "nextWaypoint" is notified, and the value for the "waypointID" data is "WP10". When triggered, the "myData" data will have the value of "waypointID" (so "WP10").
<rule> <trigger name="nextWaypoint"/> <copyValue name="myData" data="waypointID" /> </rule>In this case the rule will be triggered if the "nextWaypoint" is notified, for any value of the "waypointID" data. When triggered, the "myData" data will have the value of "waypointID".
startTimer
action starts a timer. After the elapsed time specified in ms, the value of an internal data will be set.<startTimer elapsedTime="500" name="myData" value="10" type="int">
Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence