Messages |
select | string | select the named child node |
selectnum | [integer] | select the child node by number starting with zero |
Debugs |
selected | 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
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