PacketPool (FB)ΒΆ
FUNCTION_BLOCK PUBLIC FINAL PacketPool EXTENDS _Disposable IMPLEMENTS IPacketPool
Provides a pool of IPacket instances.
Use the
GetPacket
method to get a new instance.- InOut:
Scope
Name
Type
Initial
Comment
Input
udiPacketSize
UDINT
16#FFFFFFFF
udiInitialCapacity
UDINT
pbyPool
POINTER TO BYTE
The optional memory space for the packet 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: