Class: MFrameToolSupporter

Declaration: FrameTools.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

None.

Purpose:

MFrameToolSupporter is an abstract base class which you mix in to your class in order to allow your object to embed other objects. Typically, you will mix this in with a view. In addition to this class, you must also mix in MToolHandler.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Derived classes must override the pure virtual function AdoptEmbedderModel.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: MFrameToolSupporter::MFrameToolSupporter

MFrameToolSupporter ()

Interface Category:

API.

Purpose:

Default constructor.

Calling Context:

Called by the stream-in operators.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: MFrameToolSupporter::~MFrameToolSupporter

virtual ~ MFrameToolSupporter ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: MFrameToolSupporter::AdoptEmbedderModel

virtual void AdoptEmbedderModel (TEmbedderModel * model, TGRect frameRect)

Interface Category:

API.

Purpose:

Adopts the specified model at the specified location.

Calling Context:

Called by the Presentation Framework.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

This function is a pure virtual function and must be overridden by classes deriving from MFrameToolSupporter.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.