Class: TParentDeletedNotification

Declaration: WindowNotification.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TNotification

Inherited By:

None.

Purpose:

TParentDeletedNotification is used to notify interested clients when the parent layer of a window or layer is deleted.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TParentDeletedNotification::TParentDeletedNotification

  1. TParentDeletedNotification ()
  2. TParentDeletedNotification (const TParentDeletedNotification & other)
  3. TParentDeletedNotification (TInterest & theChange, const TLayerableReference & theWindow)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.
  3. General use constructor.

Calling Context:

  1. Called by the stream-in operators.
  2. Called to copy an object.
  3. Called by the Window server before sending the notification.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TParentDeletedNotification::~TParentDeletedNotification

virtual ~ TParentDeletedNotification ()

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: TParentDeletedNotification::operator=

TParentDeletedNotification & operator =(const TParentDeletedNotification & other)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

Parameters:

Return Value:

A non-const reference to the left-hand side object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TParentDeletedNotification::operator>>=

virtual TStream & operator >>=(TStream &) const

Interface Category:

API.

Purpose:

Stream-out operator.

Calling Context:

Called to stream out data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself out to.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TParentDeletedNotification::operator<<=

virtual TStream & operator <<= (TStream &)

Interface Category:

API.

Purpose:

Stream-in operator.

Calling Context:

Called to stream in data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself in from.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TParentDeletedNotification::GetOldParent

TLayerableReference GetOldParent ()

Interface Category:

API.

Purpose:

Gets the parent layer that has been deleted.

Calling Context:

Called by the client receiving the notification to get the old parent, which is the parent layer that was deleted.

Parameters:

Return Value:

Returns an object representing the deleted layer .

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.