// $Revision: 1.5 $ // Copyright (C) 1995 Taligent, Inc. All rights reserved. #if 0 --------------------------------------------------------------------------- > Class: | TCurrentSelectionTarget > Taxonomy Category: | Documented Samples | GlobalSelectionTool > Interface Category: | Sample. > Inherits From: | TSelectionToolTarget > Inherited By: | None. > Purpose: | This target provides access to the current selection for a model. > Instantiation: | Allocate on the heap or the stack. > Deriving Classes: | None. > Concurrency: | _Not_ multithread safe. > Resource Use: | No special requirements. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TCurrentSelectionTarget::TCurrentSelectionTarget ; | TCurrentSelectionTarget (MSelectionMapping * mapping, MFeedbacker * feedbacker, MGUIBundle * bundle) > Interface Category: | Sample. > Purpose: | Constructor for derived classes. > Calling Context: | Called from derived class constructors. > Parameters: = MFeedbacker * feedbacker -The feedbacker used by the target. = MSelectionMapping * mapping -The mapping used by the target. = MGUIBundle * bundle -The MGUIBundle for the model. > Return Value: | None. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TCurrentSelectionTarget::~ TCurrentSelectionTarget ; | virtual ~ TCurrentSelectionTarget () > 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: TCurrentSelectionTarget::GetSelection ; | virtual TModelSelection * GetSelection () const > Interface Category: | Sample. > Purpose: | Copies the current selection. > Calling Context: | Called by a tool. > Parameters: = Takes no parameters. > Return Value: | A copy of the current selection. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TCurrentSelectionTarget::AdoptSelection ; | void AdoptSelection (TModelSelection * selection) > Interface Category: | Sample. > Purpose: | Sets the new current selection. > Calling Context: | Called by a tool. > Parameters: = TModelSelection * selection -The new selection. > Return Value: | None. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif