TreeNodeFactory (FB)ΒΆ

FUNCTION_BLOCK TreeNodeFactory EXTENDS AJM.FactoryBase

Factory to create a tree in a heap based extendable memory pool.

InOut:

Scope

Name

Type

Initial

Comment

Inherited from

Input Const

itfPoolExtender

IPoolExtender

PoolHandling.g_PoolExtender

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

FactoryBase

udiInitialCapacity

UDINT

FACTORY_INITIAL_CAPACITY

Number of initial elements

FactoryBase

pbyPool

POINTER TO BYTE

0

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

FactoryBase

udiPoolSize

UDINT

0

Size of the static pool pbyPool

FactoryBase

usiExtensionFactor

USINT

100

Extension factor in percent based on udiInitialCapacity

FactoryBase

Methods:

Structure: