Class: TLinkedBundlePort

Declaration: GrafPort.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TLinkedGrafPort

Inherited By:

None.

Purpose:

TLinkedBundlePort is a concrete class derived from TLinkedGrafPort. Its constructor takes a TGrafBundle argument, and concatenates this 2-D bundle with the parent's graphic state.

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: TLinkedBundlePort::TLinkedBundlePort

TLinkedBundlePort (TGrafPort * referencedParentPort, const TAttributeState * attributeState)

Interface Category:

API.

Purpose:

Constructs a new TLinkedBundlePort with the specified TGrafPort as its parent, concatenating the specified attribute with the parent port's state.

Calling Context:

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: TLinkedBundlePort::~TLinkedBundlePort

virtual ~ TLinkedBundlePort ()

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: TLinkedBundlePort::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. This function is designed to be called by internal classes of the Graphics system (most notably, TGrafStateAccessor).

Calling Context:

Do not call this function directly.

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:

Deriving classes must override this function.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.