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
QueueFactory.prvInstCount (PROP) ¶ PROPERTY prvInstCount : CAA.COUNT
QueueFactory.prvInstPoolExtendsFactor (PROP) ¶ PROPERTY prvInstPoolExtendsFactor : USINT
ListFactory.prvInstCount (PROP) ¶ PROPERTY prvInstCount : CAA.COUNT
ListFactory.prvInstPoolExtendsFactor (PROP) ¶ PROPERTY prvInstPoolExtendsFactor : USINT
ListFactory.prvInstSize (PROP) ¶ PROPERTY prvInstSize : CAA.SIZE
Queue.AddElement (METH) ¶ METHOD AddElement : COLLECTION_ERROR Add the element itfElement to the collection. InOut: Scope Name Type Comment Return AddElement COLLECTION_ERROR Input itfElement IElement The element to add.
Queue.ContainsElement (METH) ¶ METHOD ContainsElement : COLLECTION_ERROR Check if the collection contains the element itfElement. InOut: Scope Name Type Comment Return ContainsElement COLLECTION_ERROR Input itfElement IElement The element to check Output xResult BOOL True if the collection contains itfElement
Queue.ContainsValue (METH) ¶ METHOD ContainsValue : COLLECTION_ERROR Checks if the collection contains the value of itfElement . This method calls ElementEquals of IElement to compare the element values. InOut: Scope Name Type Comment Return ContainsValue COLLECTION_ERROR Input itfElement IElement The element to check Output xResult BOOL True if the collection contains the value of itfElement