SegmentPool (FB)ΒΆ
FUNCTION_BLOCK PUBLIC FINAL SegmentPool EXTENDS MBM.Disposable IMPLEMENTS ISegmentPool
Provides a pool of ISegment instances.
Use the
GetSegment
method to get a new instance.- InOut:
Scope
Name
Type
Initial
Comment
Input Const
udiSegmentSize
UDINT
UDINT#16#FFFFFFFF
udiInitialCapacity
UDINT
pbyPool
POINTER TO BYTE
The optinonal memory space for the segment pool.pbyPool = 0
=> Memory is allocated from HeappbyPool <> 0
=> The related static Memory of sizeudiPoolSize
is used.udiPoolSize
UDINT
The size of the memory area referenced by
pbyPool
usiExtensionFactor
USINT
Methods:
Structure: