Basic Track Section – step 0030 – December 2009

1 Purpose of SrrBasicTrackSection

SrrBasicTrackSection orchestrates 2 track nodes, 1 track edge and 1 track geometry node to become a basic track section.

2 User Interface of SrrBasicTrackSection (uiObj)

SrrBasicTrackSection is an external prototype that is available at the directory srr/.

<ProtoDeclare name='SrrBasicTrackSection'>

<ProtoInterface>

<field accessType='inputOutput' name='objType' type='SFString' value='SrrBasicTrackSection'/>

<field accessType='inputOutput' name='version' type='SFFloat' value='0.0022'/>

<field accessType='inputOutput' name='objId' type='SFString'/>

<field accessType='inputOutput' name='trackNodeA' type='SFNode'/>

<field accessType='inputOutput' name='trackNodeB' type='SFNode'/>

<field accessType='inputOutput' name='trackEdge' type='SFNode'/>

<field accessType='inputOutput' name='modParam' type='SFNode'/>

<field accessType='outputOnly' name='initialized' type='SFNode'/>

</ProtoInterface>

objId

is a string unique within the module that is used to identify track edges and track nodes. It will be taken as base for the composite object-IDs of the contained objects.

trackNodeA and trackNodeB

are references to SrrTrackNode nodes.

Some fields of these nodes have to be set by the user (see description of the user interface of SrrTrackNode), but the overall initialization is orchestrated by SrrBasicTrackSection.

trackNodeA will get the object ID <objId>.A,

trackNodeB will get the object ID <objId>.B.

trackEdge

is a reference to an SrrTrackEdge node.

Some fields of this node have to be set by the user (see description of the user interface of SrrTrackEdge), but the overall initialization is orchestrated by SrrBasicTrackSection.

trackEdge will get the object ID <objId>.

modParam, initialized

After having set the objId and the references to the contained objects, the user reports the module parameters modParam to start the initialization (he got them from the module via the miMod(Model) interface). SrrBasicTrackSection will return initialized!=null after initialization.