ItalaApi  1.3.3
Public Member Functions | List of all members
Itala::IDisposable Struct Referenceabstract
Inheritance diagram for Itala::IDisposable:
Itala::IDefectDetection Itala::IDevice Itala::IImage Itala::ISystem

Public Member Functions

virtual void Dispose ()=0
 

Detailed Description

Interface representing a disposable object, e.g. the ISystem, IDevice and IImage interfaces. Disposable objects require to be disposed by calling the IDisposable::Dispose method instead of the "delete" operator. This way, their destruction is managed in a safe way within ItalaApi.

Member Function Documentation

◆ Dispose()

virtual void Itala::IDisposable::Dispose ( )
pure virtual

When an IDisposable object is no longer required, this method MUST be called. If the instance is owned by a smart pointer, this function must be used as deleter or, in general, called on destruction of the RAII owner.


The documentation for this struct was generated from the following file: