DepthFirstRange (FB) ¶ FUNCTION_BLOCK FINAL DepthFirstRange IMPLEMENTS IModuleRangeForward The range of all instances in depth-first preorder of the module tree, starting at a given instance. Properties: First IsEmpty Methods: Init PopFirst Structure: First (Property) Init (Method) IsEmpty (Property) PopFirst (Method)
DepthFirstRange.First (PROP) ¶ PROPERTY FINAL First : IModule Return the current first item of the range
DepthFirstRange.Init (METH) ¶ METHOD PUBLIC FINAL Init Initializes the range with the first instance. InOut: Scope Name Type Comment Input itfM IModule The first instance of the depth first range
DepthFirstRange.IsEmpty (PROP) ¶ PROPERTY FINAL IsEmpty : BOOL Returns whether there are items left on the range or not
DepthFirstRange.PopFirst (METH) ¶ METHOD PUBLIC FINAL PopFirst Popos the first item out of the range
GetAncestorRange (FUN) ¶ FUNCTION GetAncestorRange : AncestorRange Returns the range of all ancestors of a given instance including this instance. InOut: Scope Name Type Comment Return GetAncestorRange AncestorRange Input itfM IModule The instance whose ancestors are of interest
GetChildRange (FUN) ¶ FUNCTION GetChildRange : SiblingRange Returns the range of all children of an instance. InOut: Scope Name Type Comment Return GetChildRange SiblingRange Input itfM IModule The instance whose child are of interest
GetDepthFirstRange (FUN) ¶ FUNCTION GetDepthFirstRange : DepthFirstRange Returns a range of all instances in the module tree in depth-first preorder of InOut: Scope Name Type Comment Return GetDepthFirstRange DepthFirstRange Input itfModule IModule The module which the depth first range shall use to start from
ProxyInstance.SetProxyIdentification (METH) ¶ METHOD PUBLIC FINAL SetProxyIdentification InOut: Scope Name Type Input pbyName POINTER TO BYTE udiAddr UDINT udiLocAddr UDINT pEnvironment POINTER TO MEnv
TreeNavigation ¶ Functionalities used for navigating through the module instance tree from within IEC. AncestorRange (FunctionBlock) First (Property) Init (Method) IsEmpty (Property) PopFirst (Method) DepthFirstRange (FunctionBlock) First (Property) Init (Method) IsEmpty (Property) PopFirst (Method) GetAncestorRange (Function) GetChildRange (Function) GetDepthFirstRange (Function) GetInstancePath (Function) GetLastChild (Function) GetLastInRange (Function) GetLastSibling (Function) GetNextModule (Function) GetPrevModule (Function) GetToplevelInstance (Function) GetToplevelRange (Function) IModuleRangeForward (Interface) First (Property) IsEmpty (Property) PopFirst (Method) SiblingRange (FunctionBlock) First (Property) Init (Method) IsEmpty (Property) PopFirst (Method)