Queue.ElementHashCode (METH) ¶ METHOD ElementHashCode : LINT Returns the hashcode of this element. InOut: Scope Name Type Return ElementHashCode LINT
Queue.ElementIterator (METH) ¶ METHOD ElementIterator : COLLECTION_ERROR Returns an iterator over all elements. InOut: Scope Name Type Return ElementIterator COLLECTION_ERROR Input itfIterator IIterator
Queue.LockWaitTime (PROP) ¶ PROPERTY LockWaitTime : SYSTIME Set and get the wait time. If a call is blocked, the call is repeated after LockWaitTime . Default: 300 µs
Queue.Peek (METH) ¶ METHOD Peek : COLLECTION_ERROR Get the head element of the stack. The element will not be removed. InOut: Scope Name Type Comment Return Peek COLLECTION_ERROR Output itfElement IElement The top level element of the stack.
Queue.Poll (METH) ¶ METHOD Poll : COLLECTION_ERROR Get the head of the stack. The element will be removed from the stack. InOut: Scope Name Type Comment Return Poll COLLECTION_ERROR Output itfElement IElement The top level element of the stack.
Queue.RemoveAllElements (METH) ¶ METHOD RemoveAllElements : COLLECTION_ERROR Removes all elements from the collection. InOut: Scope Name Type Return RemoveAllElements COLLECTION_ERROR
Queue.RemoveElement (METH) ¶ METHOD RemoveElement : COLLECTION_ERROR Removes the element itfElement from the collection. InOut: Scope Name Type Comment Return RemoveElement COLLECTION_ERROR Input itfElement IElement The element to remove.
Queue.SafeElementIterator (METH) ¶ METHOD SafeElementIterator : COLLECTION_ERROR Returns an thread safe iterator over all elements. InOut: Scope Name Type Return SafeElementIterator COLLECTION_ERROR Input itfIterator ISafeListIterator
QueueFactory.Create (METH) ¶ METHOD FINAL Create : IQueue3 Creates a IQueue Note: Function blocks which are created with this factory are NOT online change safe. InOut: Scope Name Type Comment Return Create IQueue3 Input udiMaxElements UDINT Maximum number of elements. Output eError FBF.ERROR
QueueFactory.CreateDynamicQueue (METH) ¶ METHOD FINAL CreateDynamicQueue : IQueue2 Creates a dynamic queue. Note: Function blocks which are created with this factory are NOT online change safe. InOut: Scope Name Type Comment Return CreateDynamicQueue IQueue2 Input udiInitialSize UDINT Initial size of elements. Must not be 0. uiGrowFactor UINT Grow factor for dynamic memory reallocation if the number of elements is greater than udiInitialSize. Use 1 to disable dynamic memory reallocation. Output eError FBF.ERROR