Class: TLinkedScenePort

Declaration: GrafPort.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TLinkedGrafPort

Inherited By:

None.

Purpose:

TLinkedScenePort is a concrete class, derived from TLinkedGrafPort, that concatenates a scene state with a parent port. The TLinkedScenePort constructors take an argument that specifies a scene state. When a new scene state is used, an identity 3-D model matrix is set up to ensure the correct behavior when nested scene states are used.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

The parent port must exist as long as the child port exists.

Member Function: TLinkedScenePort::TLinkedScenePort

  1. TLinkedScenePort (TGrafPort * referencedParentPort, TLinkableClippingSceneState * referencedSceneState)
  2. TLinkedScenePort (TGrafPort * referencedParentPort, TLinkableSceneState * referencedSceneState)

Interface Category:

API.

Purpose:

  1. Constructs a new TLinkedClipPort with the specified TGrafPort as its parent, concatenating the specified clipping scene state with the parent port's state.
  2. Constructs a new TLinkedClipPort with the specified TGrafPort as its parent, concatenating the specified scene state with the parent port's state.

Calling Context:

  1. Call this function directly.
  2. Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLinkedScenePort::~TLinkedScenePort

virtual ~ TLinkedScenePort ()

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: TLinkedScenePort::GetState

virtual const TGrafState * GetState () const

Interface Category:

API.

Purpose:

Returns a pointer to a TGrafState object that represents the concatenated graphic state of this object.

Calling Context:

Do not call this function directly. This function is designed to be called by internal classes of the Graphics system (most notably, TGrafStateAccessor).

Parameters:

Return Value:

Returns a constant pointer to the concatenated graphic 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.