Class: TGUIViewStationeryFor

Declaration: GUICompoundDocument.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TGUIDefaultModelStationery

Inherited By:

None.

Purpose:

This template takes a view. The stationery creates a document with the root component containing a default copyable model. When a presentation is opened on the component, it creates a default presenter that creates an instance of the specified view class. Uses TGUIPresenterStateFor<TGUIPresenterFor<AView> >in its implementation.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Do not derive from this class; rather, derive from the basic TCompoundDocumentStationery instead.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TGUIViewStationeryFor::TGUIViewStationeryFor

  1. TGUIViewStationeryFor ()
  2. TGUIViewStationeryFor (const TGUIViewStationeryFor < AView > &)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Creates a new GUI view stationery object for the view specified.

Calling Context:

  1. Called by the stream-in operators.
  2. Called by the Presentation framework.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TGUIViewStationeryFor::~TGUIViewStationeryFor

virtual ~ TGUIViewStationeryFor ()

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: TGUIViewStationeryFor::CreateModelPresenterState

virtual TModelPresenterState * CreateModelPresenterState ()

Interface Category:

API.

Purpose:

Creates a TModelPresenterState appropriate for this object's view.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns the new model presenter state.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.