Class: TTelephoneHandsetConfigurationData

Declaration: TelephonyClasses.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

MCollectible

Inherited By:

None.

Purpose:

A lightweight class that contains basic information about the configuration of a particular telephone handset. Specifically, it contains a set of configuration data objects for the telephone lines to which the handset can be connected.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

It is not anticipated that this class will need to be derived.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TTelephoneHandsetConfigurationData::TTelephoneHandsetConfigurationData

  1. TTelephoneHandsetConfigurationData (const TCollectionOf<TTelephoneLineConfigurationData> & connectibleLineConfigurations)
  2. TTelephoneHandsetConfigurationData (const TTelephoneLineConfigurationData & connectibleLineConfiguration)
  3. TTelephoneHandsetConfigurationData (const TTelephoneHandsetConfigurationData &)
  4. TTelephoneHandsetConfigurationData ()

Interface Category:

API.

Purpose:

  1. Creates a TTelephoneHandsetConfigurationData object for a handset that can be connected to multiple lines.
  2. Creates a TTelephoneHandsetConfigurationData object for a handset that can be connected to a single line.
  3. Copy constructor.
  4. Default constructor.

Calling Context:

  1. Call directly at construction.
  2. Call directly at construction.
  3. Call directly to copy an object.
  4. Call directly for streaming and assignment only.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TTelephoneHandsetConfigurationData::~TTelephoneHandsetConfigurationData

virtual ~ TTelephoneHandsetConfigurationData ()

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

TTelephoneHandsetConfigurationData & operator =(const TTelephoneHandsetConfigurationData &)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Call directly 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: TTelephoneHandsetConfigurationData::CreateConnectibleLineConfigurations

virtual void CreateConnectibleLineConfigurations (TCollectionOf<TTelephoneLineConfigurationData> & connectibleLineConfigurations) const

Interface Category:

API.

Purpose:

Creates a collection of configuration data objects for the telephone lines to which the handset can be connected.

Calling Context:

Called by TTelephoneHandset, TTelephoneHandsetHandle, the handset server, and directly by any client who needs a list of configuration data objects for the connectible lines.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

The caller must assume the storage responsibility for the configuration objects contained in the collection parameter.

Member Function: TTelephoneHandsetConfigurationData::Hash

virtual long Hash () const

Interface Category:

API.

Purpose:

Generates a hash value.

Calling Context:

Called by the Collection classes to generate a hash value.

Parameters:

Return Value:

The numeric value of the hash.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TTelephoneHandsetConfigurationData::operator<<=

virtual TStream & operator <<= (TStream & fromWhere)

Interface Category:

API.

Purpose:

Stream-in operator.

Calling Context:

Call directly to stream in data.

Parameters:

Return Value:

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

Exceptions:

Throws TInvalidVersionError if the versions don't match.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TTelephoneHandsetConfigurationData::operator>>=

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

Interface Category:

API.

Purpose:

Stream-out operator.

Calling Context:

Call directly 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.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.