PacketPool (FB)ΒΆ
FUNCTION_BLOCK PUBLIC FINAL PacketPool EXTENDS MBM.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 Const
udiPacketSizeUDINT16#FFFFFFFF
udiInitialCapacityUDINTpbyPoolPOINTER TO BYTE
The optional memory space for the packet pool.pbyPool = 0=> Memory is allocated from HeappbyPool <> 0=> The related static Memory of sizeudiPoolSizeis used.udiPoolSizeUDINTThe size of the memory area referenced by
pbyPoolusiExtensionFactorUSINT
Methods:
Structure: