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()
voidAddCallL(MCCECall &)
MCCEConferenceCallObserver::TCCEConferenceCallCaps CallCaps()
IMPORT_C voidCallCapsChanged(const MCCEConferenceCallObserver::TCCEConferenceCallCaps)
voidCallDurationChanged(const TTimeIntervalSeconds)
IMPORT_C voidCallEventOccurred(const MCCEConferenceCallObserver::TCCEConferenceCallEvent, MCCECall *)
IMPORT_C voidCallStateChanged(const MCCEConferenceCallObserver::TCCEConferenceCallState)
TInt EnumerateCalls()
IMPORT_C voidErrorOccurred(TCCPConferenceCallError)
voidGetCallDuration(TTimeIntervalSeconds &)
voidGetConferenceMemberName(TName &)
voidGoOneToOneL(MCCECall &)
TInt HangUp()
IMPORT_C CPEConferenceCall *NewL(MPEMessageSender &, CCCE &)
IMPORT_C CPEConferenceCall *NewL(MPEMessageSender &, MCCEConferenceCall &)
voidSendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine)
voidSendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine, const TName &)
TInt Swap()
Protected Member Functions
CPEConferenceCall(MPEMessageSender &, MCCEConferenceCall &)
voidConstructL(CCCE &)
voidConstructL()
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 &)

voidAddCallL(MCCECall &aCall)

Adds new member to Conference Call

Parameters

MCCECall & aCallthe new call to be added

CallCaps()

MCCEConferenceCallObserver::TCCEConferenceCallCaps CallCaps()

Returns conference call capabilities

CallCapsChanged(const MCCEConferenceCallObserver::TCCEConferenceCallCaps)

IMPORT_C voidCallCapsChanged(const MCCEConferenceCallObserver::TCCEConferenceCallCapsaCaps)

Conference capabilities have changed.

Parameters

const MCCEConferenceCallObserver::TCCEConferenceCallCaps aCapsUpdated call control capabilities

CallDurationChanged(const TTimeIntervalSeconds)

voidCallDurationChanged(const TTimeIntervalSecondsaDuration)

CallDurationChanged

Parameters

const TTimeIntervalSeconds aDuration

CallEventOccurred(const MCCEConferenceCallObserver::TCCEConferenceCallEvent, MCCECall *)

IMPORT_C voidCallEventOccurred(const MCCEConferenceCallObserver::TCCEConferenceCallEventaEvent,
MCCECall *aReferredCall = NULL
)

A ConferenceCall event has occurred.

Parameters

const MCCEConferenceCallObserver::TCCEConferenceCallEvent aEventOccurred event.
MCCECall * aReferredCall = NULLPointer 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 voidCallStateChanged(const MCCEConferenceCallObserver::TCCEConferenceCallStateaState)

Conference state has changed.

ConstructL(CCCE &)

voidConstructL(CCCE &aConvergedCallEngine)[protected]

By default Symbian 2nd phase constructor is private.

Parameters

CCCE & aConvergedCallEngine

ConstructL()

voidConstructL()[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 voidErrorOccurred(TCCPConferenceCallErroraError)

An error has occurred regarding the conference.

Parameters

TCCPConferenceCallError aErrorOccurred error code.

GetCallDuration(TTimeIntervalSeconds &)

voidGetCallDuration(TTimeIntervalSeconds &aDuration)

Returns Conference duration

Parameters

TTimeIntervalSeconds & aDuration

GetConferenceMemberName(TName &)

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

Parameters

TName & aCallNameIn this parameter is returned the TName information of member

GoOneToOneL(MCCECall &)

voidGoOneToOneL(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)

voidSendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngineaMessage)[virtual]

Forwards message given as parameter to Phone Engine object

Parameters

const MEngineMonitor::TPEMessagesFromPhoneEngine aMessageis the message to be forwarded

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

voidSendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngineaMessage,
const TName &aName
)[virtual]

Forwards message given as parameter to Phone Engine object

Parameters

const MEngineMonitor::TPEMessagesFromPhoneEngine aMessageis 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]