Class: TNotifyingDisplay

Declaration: Display.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TDisplay, MRemoteCaller, MRemoteCallerNotifier

Inherited By:

None.

Purpose:

Gets a reference to the display screen. Capable of notifying client when screen changes configuration.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TNotifyingDisplay::TNotifyingDisplay

TNotifyingDisplay ()

Interface Category:

API.

Purpose:

Default constructor.

Calling Context:

Called by the stream-in operators and directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TNotifyingDisplay::~TNotifyingDisplay

virtual ~ TNotifyingDisplay ()

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: TNotifyingDisplay::CreateChangeInterest

TInterest * CreateChangeInterest () const

Interface Category:

API.

Purpose:

Creates an interest for notification of screen configuration changes.

Calling Context:

Called by client to create an interest to register for notification with.

Parameters:

Return Value:

A pointer to a TInterest.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

The TNotifyingDisplay must be alive within the scope that the client wishes notification during. As the notification is sent through this class, if it goes out of scope, no notification will be received.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.