Class TNonRefCountedInterfacedObject
Unit
CastleInterfaces
Declaration
type TNonRefCountedInterfacedObject = class(IInterface)
Description
A class that can use interfaces and is not reference counted.
For COM-style interfaces, it's needed to descend from this to provide dumb _AddRef and _Release implementations (that do nothing) and trivial QueryInterface implementation.
See e.g. thread [http://lists.freepascal.org/lists/fpc-devel/2007-November/012060.html].
Hierarchy
- IInterface
- TNonRefCountedInterfacedObject
Overview
Methods
 |
function _AddRef: Integer; cdecl; |
 |
function _Release: Integer; cdecl; |
 |
function QueryInterface( constref IID: TGUID; out Obj): Hresult; virtual; cdecl; |
Description
Methods
 |
function _AddRef: Integer; cdecl; |
|
 |
function _Release: Integer; cdecl; |
|
 |
function QueryInterface( constref IID: TGUID; out Obj): Hresult; virtual; cdecl; |
|
Generated by PasDoc 0.13.0 on 2014-08-30 12:10:36
|