27 lines
1.4 KiB
XML
27 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="BTRepeat" inherits="BTDecorator" version="3.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
BT decorator that repeats its child specified number of [member times].
|
|
</brief_description>
|
|
<description>
|
|
BT decorator that repeats execution of the child task specified number of [member times].
|
|
Returns [code]RUNNING[/code] if the child returns [code]RUNNING[/code].
|
|
Returns [code]SUCCESS[/code] when specified number of successfully finished executions is reached. When [member abort_on_failure] is [code]false[/code], [code]FAILURE[/code] status returned by the child is also considered a successfully finished execution.
|
|
Returns [code]FAILURE[/code] when [member abort_on_failure] is set and the child returns [code]FAILURE[/code].
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="abort_on_failure" type="bool" setter="set_abort_on_failure" getter="get_abort_on_failure" default="false">
|
|
If [code]false[/code], [code]FAILURE[/code] status returned by the child is also considered a successfully finished execution.
|
|
</member>
|
|
<member name="times" type="int" setter="set_times" getter="get_times" default="1">
|
|
A number of times to repeat an execution of the child task.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|