CPEConferenceCall Class Reference

class CPEConferenceCall : public CPECall

This class handles Conference Calls. It forwards events and messages to CPECallHandling class and uses Converged Call Engine interface to pass requests and receive event indications.

CallHandling.lib
Since
Series60_4.0

Inherits from

Public Member Functions
~CPEConferenceCall ()
void AddCallL ( MCCECall &)
MCCEConferenceCallObserver::TCCEConferenceCallCaps CallCaps ()
IMPORT_C void CallCapsChanged (const MCCEConferenceCallObserver::TCCEConferenceCallCaps )
void CallDurationChanged (const TTimeIntervalSeconds )
IMPORT_C void CallEventOccurred (const MCCEConferenceCallObserver::TCCEConferenceCallEvent , MCCECall *)
IMPORT_C void CallStateChanged (const MCCEConferenceCallObserver::TCCEConferenceCallState )
TInt EnumerateCalls ()
IMPORT_C void ErrorOccurred ( TCCPConferenceCallError )
void GetCallDuration ( TTimeIntervalSeconds &)
void GetConferenceMemberName ( TName &)
void GoOneToOneL ( MCCECall &)
TInt HangUp ()
IMPORT_C CPEConferenceCall * NewL ( MPEMessageSender &, CCCE &)
IMPORT_C CPEConferenceCall * NewL ( MPEMessageSender &, MCCEConferenceCall &)
void SendMessage (const MEngineMonitor::TPEMessagesFromPhoneEngine )
void SendMessage (const MEngineMonitor::TPEMessagesFromPhoneEngine , const TName &)
TInt Swap ()
Protected Member Functions
CPEConferenceCall ( MPEMessageSender &, MCCEConferenceCall &)
void ConstructL ( CCCE &)
void ConstructL ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CPECall::CPECall(MPEMessageSender &)
CPECall::GetCallId()const
CPECall::GetCallState()const
CPECall::GetErrorCode(TInt &)const
CPECall::SendErrorMessage(const TInt)
CPECall::SetCallId(const TInt)
CPECall::SetCallState(const TPEState)
CPECall::~CPECall()
Protected Attributes
TName iCallName
MCCEConferenceCallObserver::TCCEConferenceCallCaps iCaps
MCCEConferenceCall * iConferenceCall
TTimeIntervalSeconds iDuration
TTimeIntervalSeconds iLastConferenceDuration
Inherited Attributes
CPECall::iCallId
CPECall::iCallState
CPECall::iErrorCode
CPECall::iOwner

Constructor & Destructor Documentation

CPEConferenceCall(MPEMessageSender &, MCCEConferenceCall &)

CPEConferenceCall ( MPEMessageSender & aOwner,
MCCEConferenceCall & aCall
) [protected]

C++ default constructor.

Parameters

MPEMessageSender & aOwner
MCCEConferenceCall & aCall

~CPEConferenceCall()

~CPEConferenceCall ( ) [virtual]

Destructor.

Member Functions Documentation

AddCallL(MCCECall &)

void AddCallL ( MCCECall & aCall )

Adds new member to Conference Call

Parameters

MCCECall & aCall the new call to be added

CallCaps()

MCCEConferenceCallObserver::TCCEConferenceCallCaps CallCaps ( )

Returns conference call capabilities

CallCapsChanged(const MCCEConferenceCallObserver::TCCEConferenceCallCaps)

IMPORT_C void CallCapsChanged ( const MCCEConferenceCallObserver::TCCEConferenceCallCaps aCaps )

Conference capabilities have changed.

Parameters

const MCCEConferenceCallObserver::TCCEConferenceCallCaps aCaps Updated call control capabilities

CallDurationChanged(const TTimeIntervalSeconds)

void CallDurationChanged ( const TTimeIntervalSeconds aDuration )

CallDurationChanged

Parameters

const TTimeIntervalSeconds aDuration

CallEventOccurred(const MCCEConferenceCallObserver::TCCEConferenceCallEvent, MCCECall *)

IMPORT_C void CallEventOccurred ( const MCCEConferenceCallObserver::TCCEConferenceCallEvent aEvent,
MCCECall * aReferredCall = NULL
)

A ConferenceCall event has occurred.

Parameters

const MCCEConferenceCallObserver::TCCEConferenceCallEvent aEvent Occurred event.
MCCECall * aReferredCall = NULL Pointer to call that the event refers to. Used e.g. for MCCEConferenceCall::AddCallL and MCCEConferenceCall::RemoveCallL Default value is NULL.

CallStateChanged(const MCCEConferenceCallObserver::TCCEConferenceCallState)

IMPORT_C void CallStateChanged ( const MCCEConferenceCallObserver::TCCEConferenceCallState aState )

Conference state has changed.

ConstructL(CCCE &)

void ConstructL ( CCCE & aConvergedCallEngine ) [protected]

By default Symbian 2nd phase constructor is private.

Parameters

CCCE & aConvergedCallEngine

ConstructL()

void ConstructL ( ) [protected]

By default Symbian 2nd phase constructor is private.

EnumerateCalls()

TInt EnumerateCalls ( )

Calls MMEtel's syncronic method to find out the count of Conference members

ErrorOccurred(TCCPConferenceCallError)

IMPORT_C void ErrorOccurred ( TCCPConferenceCallError aError )

An error has occurred regarding the conference.

Parameters

TCCPConferenceCallError aError Occurred error code.

GetCallDuration(TTimeIntervalSeconds &)

void GetCallDuration ( TTimeIntervalSeconds & aDuration )

Returns Conference duration

Parameters

TTimeIntervalSeconds & aDuration

GetConferenceMemberName(TName &)

void GetConferenceMemberName ( TName & aCallName ) const
Returns that members name, which was added to or removed from Conference Call
Since
Series60_4.0

Parameters

TName & aCallName In this parameter is returned the TName information of member

GoOneToOneL(MCCECall &)

void GoOneToOneL ( MCCECall & aCall )

Go one to one

Parameters

MCCECall & aCall

HangUp()

TInt HangUp ( )

Creates hangup request to call command object

NewL(MPEMessageSender &, CCCE &)

IMPORT_C CPEConferenceCall * NewL ( MPEMessageSender & aOwner,
CCCE & aConvergedCallEngine
) [static]

Two-phased constructor.

Parameters

MPEMessageSender & aOwner
CCCE & aConvergedCallEngine

NewL(MPEMessageSender &, MCCEConferenceCall &)

IMPORT_C CPEConferenceCall * NewL ( MPEMessageSender & aOwner,
MCCEConferenceCall & aCall
) [static]

Two-phased constructor. Conference call is made outof telephony control

Parameters

MPEMessageSender & aOwner
MCCEConferenceCall & aCall

SendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine)

void SendMessage ( const MEngineMonitor::TPEMessagesFromPhoneEngine aMessage ) [virtual]

Forwards message given as parameter to Phone Engine object

Parameters

const MEngineMonitor::TPEMessagesFromPhoneEngine aMessage is the message to be forwarded

SendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine, const TName &)

void SendMessage ( const MEngineMonitor::TPEMessagesFromPhoneEngine aMessage,
const TName & aName
) [virtual]

Forwards message given as parameter to Phone Engine object

Parameters

const MEngineMonitor::TPEMessagesFromPhoneEngine aMessage is the message to be forwarded
const TName & aName

Swap()

TInt Swap ( )

Swaps Conference Call between Active and Held states

Member Data Documentation

TName iCallName

TName iCallName [protected]

MCCEConferenceCallObserver::TCCEConferenceCallCaps iCaps

MCCEConferenceCallObserver::TCCEConferenceCallCaps iCaps [protected]

MCCEConferenceCall * iConferenceCall

MCCEConferenceCall * iConferenceCall [protected]

TTimeIntervalSeconds iDuration

TTimeIntervalSeconds iDuration [protected]

TTimeIntervalSeconds iLastConferenceDuration

TTimeIntervalSeconds iLastConferenceDuration [protected]