SharedPointerFactoryArgs (FB) ¶ FUNCTION_BLOCK PUBLIC FINAL SharedPointerFactoryArgs EXTENDS FBF.InstanceData IMPLEMENTS ISharedPointerFactoryArgs Describes the parameters necessary to dynamically create a SharedPointer via a SharedPointerFactoryBase . InOut: Scope Name Type Inherited from Input hInst CAA.HANDLE InstanceData pAddress __XWORD
Segmented Buffer Manager Library Documentation ¶ Company : CODESYS Title : Segmented Buffer Manager Version : 4.0.0.0 Categories : Intern|Base Namespace : SBM Author : CODESYS Development GmbH Placeholder : SegBufferMan Description [ 1 ] ¶ This library provides a set of functions for handling different segments of one huge buffer, joining segments or splitting buffers in segments. This is done without copying the content all the time. The functions try to reference the segments instead of copy them and manage the segments in double linked lists. Contents: ¶ Library Information GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function) Segemented Buffer Manager Enums Function Blocks Interfaces Indices and tables ¶ [ 1 ] Based on Segmented Buffer Manager.library, last modified 17.06.2024, 11:25:55. LibDoc 4.5.0.0 The content file Segmented Buffer Manager.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 17.06.2024, 11:25:56.
SharedPointerFactoryBase (FB) ¶ FUNCTION_BLOCK PUBLIC SharedPointerFactoryBase EXTENDS FBF.FactoryBase This is a base implementation of a factory for SharedPointer 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)
Library Information ¶ GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function)
Interfaces ¶ ISharedPointer (Interface) AtomicCompareAndSwap (Method) AtomicCopyFrom (Method) AtomicGetPointerData (Method) AtomicIsEqualTo (Method) AtomicSetPointerAddress (Method)
GetLibVersion (FUN) ¶ FUNCTION GetLibVersion : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersion VERSION
GetLibVersionNumber (FUN) ¶ FUNCTION GetLibVersionNumber : DWORD This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersionNumber DWORD
IsLibReleased (FUN) ¶ FUNCTION IsLibReleased : BOOL This function has been automatically generated from the project information. InOut: Scope Name Type Return IsLibReleased BOOL
ISharedPointer (ITF) ¶ INTERFACE ISharedPointer EXTENDS __SYSTEM.IQueryInterface Methods: AtomicCompareAndSwap AtomicCopyFrom AtomicGetPointerData AtomicIsEqualTo AtomicSetPointerAddress Structure: AtomicCompareAndSwap (Method) AtomicCopyFrom (Method) AtomicGetPointerData (Method) AtomicIsEqualTo (Method) AtomicSetPointerAddress (Method)
Segemented Buffer Manager ¶ Enums ERROR (Enum) Function Blocks Buffer 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) 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) Interfaces ICascadedDisposalProvider (Interface) SetDisposable (Method) IDisposable (Interface) ObjectDispose (Method) ObjectRelease (Method) ObjectRetain (Method)