FactoryBase (FB)

FUNCTION_BLOCK ABSTRACT FactoryBase

InOut:

Scope

Name

Type

Initial

Comment

Input Const

itfPoolExtender

IPoolExtender

PoolHandling.g_PoolExtender

Provides the possibility to extend the internal pool with the help of a background task

udiInitialCapacity

UDINT

FACTORY_INITIAL_CAPACITY

Number of initial elements

pbyPool

POINTER TO BYTE

0

Pointer to a static pool. Set to 0 to create a dynamic pool using heap memory

udiPoolSize

UDINT

0

Size of the static pool pbyPool

usiExtensionFactor

USINT

100

Extension factor in percent based on udiInitialCapacity

Methods:

Structure: