SharedQueueFactoryArgs (FB) ¶ FUNCTION_BLOCK PUBLIC FINAL SharedQueueFactoryArgs EXTENDS FBF.InstanceData IMPLEMENTS ISharedQueueFactoryArgs Describes the parameters necessary to dynamically create a SharedQueue via a SharedQueueFactoryBase . InOut: Scope Name Type Initial Inherited from Input hInst CAA.HANDLE InstanceData udiInitialCapacity UDINT 5 pPool POINTER TO BYTE udiPoolSize UDINT usiExtensionFactor USINT 50
Function Blocks ¶ Buffer (FunctionBlock) IBuffer AppendSegmentData (Method) ChainBuffer (Method) CopyBufferData (Method) GetBufferSize (Method) GetSegmentDataPointer (Method) InsertBuffer (Method) MoveToBufferOffset (Method) MoveToNextSegment (Method) SliceBuffer (Method) IDisposable ObjectDispose (Method) ObjectRelease (Method) ObjectRetain (Method) SetDisposable (Method) SetInitialValue (Method)
Interfaces ¶ IBuffer (Interface) AppendSegmentData (Method) ChainBuffer (Method) CopyBufferData (Method) GetBufferSize (Method) GetSegmentDataPointer (Method) InsertBuffer (Method) MoveToBufferOffset (Method) MoveToNextSegment (Method) SliceBuffer (Method)
SharedQueueFactoryBase (FB) ¶ FUNCTION_BLOCK PUBLIC SharedQueueFactoryBase EXTENDS FBF.FactoryBase This is a base implementation of a factory for SharedQueue instances. Please extend this function block and implement the prvInstPoolAdr property for realizing a factory based on static memory. The default implementation results in a heap memory based factory with a initial capacity of 5 ( prvInstCount := 5 ). Overwriting prvInstCount provides the possibility to control the initial capacity of the pool. Implementing prvInstPoolExtendsFactor provides the possibility to control the dynmic extension of the pool. prvInstPoolExtendsFactor = 0 => No possibility for extending the pool. prvInstPoolExtendsFactor > 0 => Extendion of the pool will be possible. A value of e.g. prvInstPoolExtendsFactor := 50 always expands the pool by 50% of its original size. Properties: prvInstCount prvInstSize Methods: Create Structure: Create (Method) prvInstCount (Property) prvInstSize (Property)
BufferPool ¶ Function Blocks BufferPool (FunctionBlock) IBufferPool PoolGetBuffer (Method) IDisposable ObjectDispose (Method) ObjectRelease (Method) ObjectRetain (Method) SetInitialValue (Method) BufferPoolFactoryArgs (FunctionBlock) BufferPoolFactoryBase (FunctionBlock) Create (Method) prvInstCount (Property) prvInstSize (Property) Interfaces IBufferPool (Interface) PoolGetBuffer (Method) IBufferPoolFactoryArgs (Interface)
Function Blocks ¶ BufferPool (FunctionBlock) IBufferPool PoolGetBuffer (Method) IDisposable ObjectDispose (Method) ObjectRelease (Method) ObjectRetain (Method) SetInitialValue (Method) BufferPoolFactoryArgs (FunctionBlock) BufferPoolFactoryBase (FunctionBlock) Create (Method) prvInstCount (Property) prvInstSize (Property)
Interfaces ¶ IBufferPool (Interface) PoolGetBuffer (Method) IBufferPoolFactoryArgs (Interface)
Interfaces ¶ IQueueableNode (Interface) IsNodeValid (Property) NodeDispose (Method) ISharedQueue (Interface) Dequeue (Method) Enqueue (Method)
Interfaces ¶ ICascadedDisposalProvider (Interface) SetDisposable (Method) IDisposable (Interface) ObjectDispose (Method) ObjectRelease (Method) ObjectRetain (Method)
ICascadedDisposalProvider (ITF) ¶ INTERFACE ICascadedDisposalProvider Methods: SetDisposable Structure: SetDisposable (Method)