Class: TSystemWindowInterest

Declaration: WindowNotification.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TInterest

Inherited By:

None.

Purpose:

TSystemWindowInterest is used to register an interest in a specific system window for notification.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TSystemWindowInterest::TSystemWindowInterest

  1. TSystemWindowInterest (MNotifier *, const TToken & theChange, const TLayerableReference & theWindow)
  2. TSystemWindowInterest (const TSystemWindowInterest &)
  3. TSystemWindowInterest ()

Interface Category:

API.

Purpose:

  1. General use constructor.
  2. Copy constructor.
  3. Default constructor. This constructor is for streaming only.

Calling Context:

  1. Constructor used to create an interest in a window, using a notifier, and to specify an event that the caller is interested in.
  2. Called to copy an object.
  3. Called by the stream-in operators.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSystemWindowInterest::~TSystemWindowInterest

virtual ~ TSystemWindowInterest ()

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

TSystemWindowInterest & operator =(const TSystemWindowInterest &)

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: TSystemWindowInterest::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: TSystemWindowInterest::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: TSystemWindowInterest::GetWindow

TLayerableReference GetWindow () const

Interface Category:

API.

Purpose:

Gets the window from which this interest is interested in receiving notifications.

Calling Context:

Called from a notification receiver function to get the window that generated the notification.

Parameters:

Return Value:

Returns an object representing the window that generated the notification.

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.