Class: TDamageNotification

Declaration: WindowNotification.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TNotification

Inherited By:

None.

Purpose:

Used to notify clients that a window has damage that must be repaired. Because of the way this particular notification is sent, it can only be received by the same address space that created the TSystemWindow.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TDamageNotification::TDamageNotification

  1. TDamageNotification ()
  2. TDamageNotification (const TDamageNotification & other)
  3. TDamageNotification (TInterest & theChange, const TGArea & theArea)

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

virtual ~ TDamageNotification ()

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

TDamageNotification & operator =(const TDamageNotification & 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: TDamageNotification::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: TDamageNotification::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: TDamageNotification::GetDamageArea

TGArea GetDamageArea () const

Interface Category:

API.

Purpose:

Gets the area that is damaged and needs redrawing.

Calling Context:

Called by the notification client to get the area to redraw.

Parameters:

Return Value:

Returns the damaged area.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

Because of the way this particular notification is sent, it can only be received by the same address space that created the TSystemWindow.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.