HashTable (FB) ¶ FUNCTION_BLOCK FINAL HashTable EXTENDS FBF.InstanceBase IMPLEMENTS IMap3 , IModCounter, ILockable HashTable of IElements InOut: Scope Name Type Comment Input Const paElements POINTER TO KeyValuePair Array of key value pairs. This array represents the ‘hash table’. Size: udiMaxElements paLinkedElements POINTER TO KeyValuePair Array of key value pairs. This array is used to store key values pairs with collisions. Size: udiMaxElements paIteratorElements POINTER TO IElement Array of IElements for the Iterator. Size: udiMaxElements udiMaxElements UDINT Maximum size of paElements and paIteratorElements Properties: LockWaitTime Methods: AddKeyValuePair ContainsKey CountKeys ElementCompareTo ElementEquals ElementHashCode GetElementByKey Keys RemoveAllElements RemoveByKey SafeKeys SafeValues Values Structure: AddKeyValuePair (Method) ContainsKey (Method) CountKeys (Method) ElementCompareTo (Method) ElementEquals (Method) ElementHashCode (Method) GetElementByKey (Method) Keys (Method) LockWaitTime (Property) RemoveAllElements (Method) RemoveByKey (Method) SafeKeys (Method) SafeValues (Method) Values (Method)
HashTableFactory (FB) ¶ FUNCTION_BLOCK HashTableFactory EXTENDS FBF.FactoryBase Factory to create a HashTable in a heap based extendable memory pool. Note: Function blocks which are created with this factory are NOT online change safe. Properties: prvInstCount prvInstPoolExtendsFactor prvInstSize Methods: Create CreateDynamicHashtable CreateDynamicHashtablePreAlloc Structure: Create (Method) CreateDynamicHashtable (Method) CreateDynamicHashtablePreAlloc (Method) prvInstCount (Property) prvInstPoolExtendsFactor (Property) prvInstSize (Property)
Iterators ¶ LinkedListIterator (FunctionBlock) HasNext (Method) Next (Method) ListIterator (FunctionBlock) HasNext (Method) Next (Method) SafeLinkedListIterator (FunctionBlock) Next (Method) SafeListIterator (FunctionBlock) Next (Method)
LinkedListIterator (FB) ¶ FUNCTION_BLOCK FINAL LinkedListIterator IMPLEMENTS ILinkedListIterator Iterator for linked list based collections. Methods: HasNext Next Structure: HasNext (Method) Next (Method)
ListIterator (FB) ¶ FUNCTION_BLOCK FINAL ListIterator IMPLEMENTS IListIterator Iterator for array list based collections. Methods: HasNext Next Structure: HasNext (Method) Next (Method)
SafeLinkedListIterator (FB) ¶ FUNCTION_BLOCK FINAL SafeLinkedListIterator IMPLEMENTS ISafeLinkedListIterator Thread safe iterator for linked list based collections. Methods: Next Structure: Next (Method)
SafeListIterator (FB) ¶ FUNCTION_BLOCK FINAL SafeListIterator IMPLEMENTS ISafeListIterator Thread safe iterator for array list based collections. Methods: Next Structure: Next (Method)
LinkedList ¶ LinkedList (FunctionBlock) AddElement (Method) ContainsElement (Method) CountElements (Method) ElementCompareTo (Method) ElementEquals (Method) ElementHashCode (Method) ElementIterator (Method) LockWaitTime (Property) RemoveAllElements (Method) RemoveElement (Method) RemoveFirstElement (Method) RemoveLastElement (Method) SafeElementIterator (Method) LinkedListFactory (FunctionBlock) Create (Method) prvInstCount (Property) prvInstPoolExtendsFactor (Property) prvInstSize (Property)
LinkedList (FB) ¶ FUNCTION_BLOCK FINAL LinkedList EXTENDS FBF.InstanceBase IMPLEMENTS IDoubleLinkedList2 , IModCounter, ILockable Funktion block for double linked lists. .. Note: For online change safe elements implement | IOnlineChangeSafeLinkedListElement | or extend | LinkedListElementBase |. Properties: LockWaitTime Methods: AddElement ContainsElement CountElements ElementCompareTo ElementEquals ElementHashCode ElementIterator RemoveAllElements RemoveElement RemoveFirstElement RemoveLastElement SafeElementIterator Structure: AddElement (Method) ContainsElement (Method) CountElements (Method) ElementCompareTo (Method) ElementEquals (Method) ElementHashCode (Method) ElementIterator (Method) LockWaitTime (Property) RemoveAllElements (Method) RemoveElement (Method) RemoveFirstElement (Method) RemoveLastElement (Method) SafeElementIterator (Method)
LinkedListFactory (FB) ¶ FUNCTION_BLOCK LinkedListFactory EXTENDS FBF.FactoryBase Factory to create a LinkedList in a heap based extendable memory pool. Properties: prvInstCount prvInstPoolExtendsFactor prvInstSize Methods: Create Structure: Create (Method) prvInstCount (Property) prvInstPoolExtendsFactor (Property) prvInstSize (Property)