Skip to content

TContainedObject

[Properties (by Name)][Methods (by Name)][Events (by Name)]

Base class for contained objects

Declaration

Source position: objpash.inc line 332

Type
  TContainedObject = class (TAggregatedObject, IInterface)
  protected
    function QueryInterface(const iid: TGuid; out obj) : LongInt;  Virtual;
  end
  ;

Description

TContainedObject is the base class for contained objects, i.e. objects that do not implement a reference counting mechanism themselves, but are owned by some other object which handles the reference counting mechanism. It implements the IUnknown interface and, more specifically, the QueryInterface method of IUnknown.

Members

Member Type Visibility Description
QueryInterface Method protected

Inheritance

Class Description
TContainedObject(IInterface) Base class for contained objects

See also

Name Description
IInterface Basic interface for all COM based interfaces