System.TAggregatedObject.Controller

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Controller: IInterface read FController;

C++

__property _di_IInterface Controller = {read=GetController};

Properties

Type Visibility Source Unit Parent
property public
System.pas
systobj.h
System TAggregatedObject

Description

Provides access to the controlling interface of the aggregate.

Controller is the interface reference of the aggregate. TAggregatedObject is used as part of an aggregate that has a single controlling IInterface. The IInterface methods that are implemented in aggregated objects are delegated to the Controller.

When the aggregated object is created, its constructor is passed a controlling IInterface. Controller is initialized to this IInterface in the constructor.

See Also