CPESingleCallObserver Class Reference

class CPESingleCallObserver : public CPECall
Create call handling requests to Call Command object CallHandling.lib
Since
Series60_4.0

Inherits from

Public Member Functions
MCCECall &Call()
IMPORT_C voidCallCapsChanged(const MCCECallObserver::TCCECallControlCaps)
IMPORT_C voidCallDurationChanged(const TTimeIntervalSeconds)
IMPORT_C voidCallEventOccurred(const MCCECallObserver::TCCECallEvent)
IMPORT_C voidCallStateChanged(const CCPCall::TCallState)
IMPORT_C voidCallStateChangedWithInband(const CCPCall::TCallState)
IMPORT_C voidErrorOccurred(const TCCPError)
const CDesC8Array *ForwardAddressChoices()
voidGetCallControlCaps(MCCECallObserver::TCCECallControlCaps &)
voidGetCallDuration(TTimeIntervalSeconds &)
IMPORT_C voidHandleTransfer(const TBool, const TDesC &)
voidSetCall(MCCECall &)
voidSetMissedCall(TBool)
const TPEPhoneNumber &UnattendedTransferTarget()
Protected Member Functions
CPESingleCallObserver(MPEMessageSender &)
~CPESingleCallObserver()
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::SendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine)
CPECall::SetCallId(const TInt)
CPECall::SetCallState(const TPEState)
CPECall::~CPECall()
Protected Attributes
MCCECall *iCall
MCCECallObserver::TCCECallControlCaps iControlCaps
TPEPhoneNumber iDialledNumber
TTimeIntervalSeconds iDuration
TPEPhoneNumber iTransferTarget
Inherited Attributes
CPECall::iCallId
CPECall::iCallState
CPECall::iErrorCode
CPECall::iOwner

Constructor & Destructor Documentation

CPESingleCallObserver(MPEMessageSender &)

CPESingleCallObserver(MPEMessageSender &aOwner)[protected]

C++ default constructor.

Parameters

MPEMessageSender & aOwner

~CPESingleCallObserver()

~CPESingleCallObserver()[protected, virtual]

Destructor.

Member Functions Documentation

Call()

MCCECall &Call()

Returns the reference to the call object handle. Handle is owned by a derived object.

CallCapsChanged(const MCCECallObserver::TCCECallControlCaps)

IMPORT_C voidCallCapsChanged(const MCCECallObserver::TCCECallControlCapsaCaps)

Notifies observer about the changes in call control caps.

Since
S60 v3.2

Parameters

const MCCECallObserver::TCCECallControlCaps aCapsContains updated call control capability flags return none

CallDurationChanged(const TTimeIntervalSeconds)

IMPORT_C voidCallDurationChanged(const TTimeIntervalSecondsaDuration)

Notifies observer the change in call duration.

Since
S60 v3.2

Parameters

const TTimeIntervalSeconds aDurationDuration of the call in seconds return none

CallEventOccurred(const MCCECallObserver::TCCECallEvent)

IMPORT_C voidCallEventOccurred(const MCCECallObserver::TCCECallEventaEvent)

An event for the call has occurred. TODO: the observer need to verify event correcness.

Since
S60 v3.2

Parameters

const MCCECallObserver::TCCECallEvent aEventOccurred call event return none

CallStateChanged(const CCPCall::TCallState)

IMPORT_C voidCallStateChanged(const CCPCall::TCallStateaState)

Call state notificfation. TODO: The observer need to verify the correctness of given state. CCE will do at least basic call state change checking but also the client needs to verify the correctness.

Since
S60 v3.2

Parameters

const CCPCall::TCallState aStateNew state of the call return none

CallStateChangedWithInband(const CCPCall::TCallState)

IMPORT_C voidCallStateChangedWithInband(const CCPCall::TCallStateaState)
The state of the call has changed with inband tone, meaning network is not playing the tone relating to the state.
Since
S60 3.2

Parameters

const CCPCall::TCallState aStateCall state.

ErrorOccurred(const TCCPError)

IMPORT_C voidErrorOccurred(const TCCPErroraError)

Call errors are notified using this interface.

Since
S60 v3.2

Parameters

const TCCPError aErrorOccurred error as integer, return none

ForwardAddressChoices()

const CDesC8Array *ForwardAddressChoices()const

Returns array of possible addresses from the received call forward request or NULL if addresses are not available.

GetCallControlCaps(MCCECallObserver::TCCECallControlCaps &)

voidGetCallControlCaps(MCCECallObserver::TCCECallControlCaps &aCallControlCaps)const

Returns call control capabilities

Parameters

MCCECallObserver::TCCECallControlCaps & aCallControlCapscall control capabilities

GetCallDuration(TTimeIntervalSeconds &)

voidGetCallDuration(TTimeIntervalSeconds &aDuration)

Returns call duration time

Parameters

TTimeIntervalSeconds & aDurationthe duration value of the call

HandleTransfer(const TBool, const TDesC &)

IMPORT_C voidHandleTransfer(const TBoolaAttended,
const TDesC &aDestination
)

Notifies observer about transfer made by remote end

Since
S60 v3.2

Parameters

const TBool aAttendedETrue: if transfer type is attended, EFalse: type is unattended
const TDesC & aDestinationAddress where the call is to be transferred. Given as received in CCE observer needs to verify the address, e.g. it can be KNullDesC. TODO anonymous transfer target - quess cannot be occurring? A-B -> B-C, C has requested anonymity in network???

SetCall(MCCECall &)

voidSetCall(MCCECall &aCall)

Sets the reference to the call object handle. Handle is owned by a derived object.

Parameters

MCCECall & aCall

SetMissedCall(TBool)

voidSetMissedCall(TBoolaMissed)[pure virtual]

Sets Missed call indicator.

Parameters

TBool aMissed

UnattendedTransferTarget()

const TPEPhoneNumber &UnattendedTransferTarget()const

Returns transfer target from last received unattended transfer request.

Member Data Documentation

MCCECall * iCall

MCCECall *iCall[protected]

MCCECallObserver::TCCECallControlCaps iControlCaps

MCCECallObserver::TCCECallControlCaps iControlCaps[protected]

TPEPhoneNumber iDialledNumber

TPEPhoneNumber iDialledNumber[protected]

TTimeIntervalSeconds iDuration

TTimeIntervalSeconds iDuration[protected]

TPEPhoneNumber iTransferTarget

TPEPhoneNumber iTransferTarget[protected]

Transfer target from previous last unattended transfer reqeust.