ygSelector derived from ygNode | Example | Source | Header |
Messages |
select | string | select the named child node |
selectnum | [integer] | select the child node by number starting with zero |
forward | [bool] | select the next child node |
back | select the previous child node |
Debugs |
number | print out the number of the selected child |
Comments |
constructor ygSelector
1 create a pfSwitch for selection
2 print out the number of the selected child
destructor ~ygSelector
method reset
1 if net master then select child 0
method message
1 select the named child node
2 select the child node by number starting with zero
3 select the next child node
4 select the previous child node
method app
1 if selection has changed
1.1 set switch to selection
method appTraverse
1 start timing
2 execute app method
3 call appTraverse recursively on selected child
4 end timing
method select
method select
method selected
method selectedNum
method forward
method back