FactoryBase (FB)ΒΆ

FUNCTION_BLOCK FactoryBase IMPLEMENTS IFactory

This function block implements the neccecary basic functionality for a function block factory.

  • Memory allocator

    • AllocInstMem

    • FreeInstMem

    The allocator use the following properies as parameters.

    • InstSize reports the memory consumtion of the related function block instance.

    • InstPoolAdr, InstPoolSize => The instance pool is initialized with a static memory area.

    • InstCout, InstPoolSize => The instance pool is initilaized with a memory area from the heap.

    • InstPoolExtendsFactor => The instance pool can be extended dynamically with memeory areas from the heap.

  • List management for handling the group of produces function block instances.

    • InsertInst

    • RemoveInst

Properties:

Methods:

Structure: