Class: TTelephoneConferenceFeatureControl

Declaration: TelephonyClasses.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TTelephoneLineFeatureControl

Inherited By:

None.

Purpose:

The standard feature control derived class for the conference feature.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Can be derived to modify behavior for a specific telephony environment. The interface protocol itself should not be modified.

Concurrency:

Multithread safe. Not intended to be shared across address spaces.

Resource Use:

This class depends on the existence of the telephone line handle that created it. Attempting to access one of these objects after the demise of its parent line handle might result in an exception being thrown.

Member Function: TTelephoneConferenceFeatureControl::~TTelephoneConferenceFeatureControl

virtual ~ TTelephoneConferenceFeatureControl ()

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:

Multithread safe. Not intended to be shared across address spaces.

Other Considerations:

Attempting to access one of these objects after the demise of its parent line handle results in an exception being thrown.

Member Function: TTelephoneConferenceFeatureControl::GetFeatureType

virtual void GetFeatureType (TTypeDescription &) const

Interface Category:

API.

Purpose:

Returns the standard conference feature type.

Calling Context:

Call directly to identify the type of feature for which this control is intended.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe. Not intended to be shared across address spaces.

Other Considerations:

Pure virtual member function.

Member Function: TTelephoneConferenceFeatureControl::CreateCallAndStartAddingToConference

virtual TTelephoneCallHandle * CreateCallAndStartAddingToConference (const TText & newNumber)

Interface Category:

API.

Purpose:

Initiates a conference starting with the currently active call or adds a new call to an existing conference and creates a call handle representing the new connection. The default implementation calls activate, then calls CreateAndPlaceCall on the associated telephone line handle, returning the resulting call handle.

Calling Context:

Call directly to access the conference feature.

Parameters:

Return Value:

Returns a pointer to a new call handle representing the call and its current status.

Exceptions:

Throws TTelephonyException if the feature fails to activate and the new call cannot be placed.

Concurrency:

Multithread safe. Not intended to be shared across address spaces.

Other Considerations:

The caller must assume responsibility for the storage referenced by the pointer returned.

Member Function: TTelephoneConferenceFeatureControl::FinishAddingToConference

virtual void FinishAddingToConference ()

Interface Category:

API.

Purpose:

Completes the ongoing conference operation. The default implementation makes a second call to Activate.

Calling Context:

Call directly to access the conference feature.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe. Not intended to be shared across address spaces.

Other Considerations:

None.

Member Function: TTelephoneConferenceFeatureControl::CancelAddingToConference

virtual void CancelAddingToConference ()

Interface Category:

API.

Purpose:

Terminates the call being added to the conference and retrieves the original call. The default implementation calls Deactivate.

Calling Context:

Call directly to access the conference feature.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe. Not intended to be shared across address spaces.

Other Considerations:

None.

Member Function: TTelephoneConferenceFeatureControl::Hash

virtual long Hash () const

Interface Category:

API.

Purpose:

Generates a hash value.

Calling Context:

Called by 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:

Multithread safe. Not intended to be shared across address spaces.

Other Considerations:

None.

Member Function: TTelephoneConferenceFeatureControl::operator<<=

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

Interface Category:

API.

Purpose:

Stream-in operator.

Calling Context:

Called by a line handle to stream in feature controls from a line.

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:

Multithread safe. Not intended to be shared across address spaces.

Other Considerations:

None.

Member Function: TTelephoneConferenceFeatureControl::operator>>=

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

Interface Category:

API.

Purpose:

Stream-out operator.

Calling Context:

Called by a line to stream out feature controls to a line handle.

Parameters:

Return Value:

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

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe. Not intended to be shared across address spaces.

Other Considerations:

None.

Member Function: TTelephoneConferenceFeatureControl::TTelephoneConferenceFeatureControl

  1. TTelephoneConferenceFeatureControl (const TTelephoneConferenceFeature &)
  2. TTelephoneConferenceFeatureControl (const TTelephoneConferenceFeatureControl &)
  3. TTelephoneConferenceFeatureControl ()

Interface Category:

API.

Purpose:

  1. Constructs a control for the specified feature instance. Its use is restricted to conference feature derived classes.
  2. Copy constructor. Its use is restricted to friends and derived classes.
  3. Default constructor. Its use is restricted to friends and derived classes.

Calling Context:

  1. Called by conference feature derived classes to construct an object.
  2. Only for internal use by Copy. Developers should treat as protected.
  3. Only for internal use by Resurrect. Developers should treat as protected.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe. Not intended to be shared across address spaces.

Other Considerations:

None.

Member Function: TTelephoneConferenceFeatureControl::operator=

TTelephoneConferenceFeatureControl & operator =(const TTelephoneConferenceFeatureControl &)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object. Its use is restricted to friends and derived classes.

Parameters:

Return Value:

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

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe. Not intended to be shared across address spaces.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.