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.
◆ 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:
- /builds/randd/itala-sdk/projects/itala-api/include/ItalaApi/IDisposable.h