TreeStrategyExecutor
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| - | No | No | CNM_AbstractObject.Object | CNM_CollectionInterfaces.ITreeStrategy |
UML Diagram
Parameters
none
Properties
className
Type: CNM_AbstractObject.ClassName
This abstract property returns the class name of the concrete object, …
instant
Type: CNM_CollectionInterfaces.IInstantTreeStrategy
This property returns a fluent interface for immediate (wihtin one call) operations of tree.…
Methods
FB_init
- Parameters:
bInitRetains(BOOL): if TRUE, the retain variables are initialized (warm start / cold start)bInCopyCode(BOOL): if TRUE, the instance afterwards gets moved into the copy code (online change)tree(ITreeHelper): the tree which this executor will dispatch to
- Return type:
BOOL
The constructor FB_init is needed to create an unique hash code.…
insert
- Parameters:
object(CNM_CollectionInterfaces.CNM_AbstractObject.IObject): the object that should be inserted
- Return type: CNM_CollectionInterfaces.CNM_ReturnTypes.SingleExecutionResult
A method to insert a single element into the tree.…
insertCollection
- Parameters:
collection(CNM_CollectionInterfaces.ICollection): The collection that should be insertedexecute(BOOL): If insert should be processed
- Return type: CNM_CollectionInterfaces.CNM_ReturnTypes.SingleExecutionState
This method inserts all elements of a collection into the tree.…
remove
- Parameters:
object(CNM_CollectionInterfaces.CNM_AbstractObject.IObject): The object that should be removed
- Return type: CNM_CollectionInterfaces.CNM_ReturnTypes.SingleExecutionResult
Function to remove an object from the tree…
Code
Declaration
FUNCTION_BLOCK TreeStrategyExecutor EXTENDS CNM_AbstractObject.Object IMPLEMENTS CNM_CollectionInterfaces.ITreeStrategy
VAR
tree :ITreeHelper;
instantExecutor :InstantTreeStrategyExecutor;
END_VAR