Skip to main content

AbstractDisposableContainer

Short summary

An abstract class to encapsulate 'destruct','deepDestruct' and 'fb_exit' logic. 'destructContents' must be implemented in the concrete class.

AccessAbstractFinalExtendsImplements
YesNoCNM_AbstractObject.Object-

UML Diagram

Methods

deepDestruct

  • Return type: VOID

This method is a self-destruction if the object was created dynamically.

destruct

  • Return type: VOID

This method is a self-destruction if the object was created dynamically.

Abstract methods

clearContents

  • Return type: VOID

This method is called in the destruct method and is intended to zero all references and interfaces that should not be destructed.

Code

Declaration

FUNCTION_BLOCK ABSTRACT AbstractDisposableContainer EXTENDS CNM_AbstractObject.Object