TInterfacedObject class
Declaration
TInterfacedObject = class(TObject)Inheritance
- TInterfacedObject
- TObject
Descends from it: TGuardian TInterfaceList TInterfaceThunk TMultiReadExclusiveWriteSynchronizer TSimpleRWSync TStreamAdapter
Description
TInterfacedObject is a descendent of
TObject which implements the
IUnknown interface. It can be used as a base class for all classes which need
reference counting.See also
Properties
RefCount | public | Return the current reference count. |
Methods
QueryInterface | protected | |
_AddRef | protected | |
_Release | protected | |
Destroy | public | Destroy interfaced object. |
AfterConstruction | public | Handle reference count properly. |
BeforeDestruction | public | Check reference count. |
NewInstance | public | Create a new instance. |
Fields
FRefCount | protected |
Inherited
From TObject (38)
CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance Create DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
