// $Revision: 1.4 $ // Copyright (C) 1995 Taligent, Inc. All rights reserved. #if 0 --------------------------------------------------------------------------- > Class: | TViewerStationery > Taxonomy Category: | Documented Samples | Stock Browser > Interface Category: | Sample. > Inherits From: | TDocumentComponentStationery > Inherited By: | None. > Purpose: | Creates a document component that makes up a Stock Viewer. > Instantiation: | Allocate on the heap or the stack. Typical allocation is on the heap. > Deriving Classes: | No special instruction. > Concurrency: | _Not_ multithread safe. > Resource Use: | No special requirements. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TViewerStationery::TViewerStationery ; | 1. TViewerStationery () | 2. TViewerStationery (const TViewerStationery & source) > Interface Category: | Sample. > Purpose: | 1. Default constructor. | 2. Copy constructor. > Calling Context: | 1. Called by derived classes and to construct an object. | 2. Called to copy an object. > Parameters: = 1. Takes no parameters. = 2. const TViewerStationery & source -The object to copy. > Return Value: | None. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TViewerStationery::~ TViewerStationery ; | virtual ~ TViewerStationery () > Interface Category: | Sample. > Purpose: | Destructor. > Calling Context: | Called to destroy an object. > Parameters: = Takes no parameters. > Return Value: | None. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TViewerStationery::CreateModel ; | virtual TModel * CreateModel () > Interface Category: | Sample. > Purpose: | Creates a TAtomicModelOn< TStockData > object and initializes it with sample stock data. > Calling Context: | Called by the base class, TDocumentComponentStationery. > Parameters: = Takes no parameters. > Return Value: | A pointer to a TAtomicModelOn< TStockData > object. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TViewerStationery::CreateModelPresenterState ; | virtual TModelPresenterState * CreateModelPresenterState () > Interface Category: | Sample. > Purpose: | Creates a TViewerPresenterState object and initializes it with a default graph constructor object. > Calling Context: | Called by the base class, TDocumentComponentStationery. > Parameters: = Takes no parameters. > Return Value: | A pointer to a TViewerPresenterState object. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TViewerStationery::CreateDefaultStockData ; | virtual TStockData * CreateDefaultStockData () const > Interface Category: | Sample. > Purpose: | Creates sample stock data so that the Stock Viewer opens with default contents. > Calling Context: | Called by CreateModel. > Parameters: = Takes no parameters. > Return Value: | A pointer to a TStockData object containing sample data. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TViewerStationery::CreateDefaultStockGraphConstructor ; | virtual TStockGraphConstructor * CreateDefaultStockGraphConstructor () const > Interface Category: | Sample. > Purpose: | Creates a default graph constructor object that determines how to display stock data. > Calling Context: | Called by CreateModelPresenterState. > Parameters: = Takes no parameters. > Return Value: | A pointer to a TStockGraphConstructor object. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif