SharedArea (FB)ΒΆ
FUNCTION_BLOCK FINAL SharedArea EXTENDS FBF.InstanceBase IMPLEMENTS ISharedArea, IReadableSharedArea, IWriteableSharedArea
 
- InOut:
- Scope - Name - Type - Initial - Comment - Input - pData- __XWORD- udiDataSize- UDINT- udiInitialCapacity- UDINT- 5 - The initial max number (>1) of possible references of the shared data - pPool- POINTER TO BYTE The optinonal memory space for the background pool.- pPool = 0=> Memory is allocated from Heap- pPool <> 0=> The related static Memory of size- udiPoolSizeis used.- udiPoolSize- UDINTThe size of the memory area referenced by- pPoolCondition:- udiPoolSize >= TO_UDINT(MBM.PoolGetSize(udiInitialCapacity, udiDataSize + SIZEOF(AreaData) - SIZEOF(DWORD)));- itfObserver- An optional observer implemetation registered with initilaization. - itfUtilities- An optional specialized implementations for - AreaCopyDataand- AreaIsEqual.
Properties:
Methods:
Structure:
