CPEVideoCallHandling Class Reference

class CPEVideoCallHandling : public CBase

Handles video call related events from phone engine

CallHandlingGsm.lib
Since
Series60_4.0

Inherits from

  • CPEVideoCallHandling
Public Member Functions
~CPEVideoCallHandling()
TInt AnswerCall()
TInt CallTerminatedError(const TInt)
TBool ConnectedCalls()
TBool DataPortInUse(TInt)
TInt DialCall(const TPEPhoneNumber &, TInt &)
TInt GetCallDuration(TTimeIntervalSeconds &, TInt)
TInt GetCallInfo(RMobileCall::TMobileCallInfoV3 &, TInt)
TPEState GetCallState(TInt)
TInt GetNumberOfCalls()
voidHandleInternalMessage(TInt)
TInt HangUp(TInt)
voidInitCall(MCCECall &)
TBool IsMultimedia(TInt)
TBool IsPhoneNumberAvailable(const TInt)
CPEVideoCallHandling *NewL(MPEMessageSender &, MPEPhoneModelInternal &, CCCE &, CPECallArrayOwner &)
voidNotifySystemCallStateChanged(MEngineMonitor::TPEMessagesFromPhoneEngine, TInt)
TInt RejectCall()
TInt ReleaseAll()
TInt ReplaceActive(TInt)
TInt ResumeCall(TInt)
voidSendErrorMessage(const TInt, const TInt)
voidSendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine, const TInt)
voidSendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine, const TName &)
voidStartUp()
TInt SwapCalls()
TInt TerminateAllConnections()
CPESingleCall *VideoCallById(TInt)
CPESingleCall *VideoCallByState(TPEState)
TName &VideoCallName(const TInt)
Private Member Functions
CPEVideoCallHandling(MPEMessageSender &, MPEPhoneModelInternal &, CCCE &, CPECallArrayOwner &)
voidConstructL()
CPESingleCall *OpenNewCallL(const TPEPhoneNumber &)
TInt ReleaseCallObject(const TInt)
voidSetCallParams(TInt)
CPESingleCall *VideoCallByName(const TName &)
CPESingleCall *VideoCallByState(const TPEState)
TBool VideoCallInState(const TPEState &)
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()
Private Attributes
CPECallArrayOwner &iCallArrayOwner
CCCECallParameters *iCallOpenParams
CCCE &iConvergedCallEngine
TName iDataCallName
MPEDataStore &iDataStore
CPEGprsTermination *iGprsInterface
MPEPhoneModelInternal &iModel
MPEMessageSender &iOwner
TBool iRestoreCauseVTCallReject

Constructor & Destructor Documentation

CPEVideoCallHandling(MPEMessageSender &, MPEPhoneModelInternal &, CCCE &, CPECallArrayOwner &)

CPEVideoCallHandling(MPEMessageSender &aOwner,
MPEPhoneModelInternal &aModel,
CCCE &aConvergedCallEngine,
CPECallArrayOwner &aCallArrayOwner
)[private]

C++ default constructor

Parameters

MPEMessageSender & aOwner
MPEPhoneModelInternal & aModel
CCCE & aConvergedCallEngine
CPECallArrayOwner & aCallArrayOwner

~CPEVideoCallHandling()

~CPEVideoCallHandling()[virtual]

Destructor

Member Functions Documentation

AnswerCall()

TInt AnswerCall()

Makes answer request.

CallTerminatedError(const TInt)

TInt CallTerminatedError(const TIntaCallId)

Returns call terminated error

Parameters

const TInt aCallId

ConnectedCalls()

TBool ConnectedCalls()

Checks if there are any connected calls

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private

DataPortInUse(TInt)

TBool DataPortInUse(TIntaCallId)const

Checks if the call has reserved serial communications data port for use

Parameters

TInt aCallId

DialCall(const TPEPhoneNumber &, TInt &)

TInt DialCall(const TPEPhoneNumber &aNumber,
TInt &aCallId
)

Creates dialing request.

Parameters

const TPEPhoneNumber & aNumber
TInt & aCallId

GetCallDuration(TTimeIntervalSeconds &, TInt)

TInt GetCallDuration(TTimeIntervalSeconds &aDuration,
TIntaCallId
)

Returns call duration time

Parameters

TTimeIntervalSeconds & aDurationthe duration value of the call
TInt aCallId

GetCallInfo(RMobileCall::TMobileCallInfoV3 &, TInt)

TInt GetCallInfo(RMobileCall::TMobileCallInfoV3 &aCallInfo,
TIntaCallId
)

Returns information of the data call

Parameters

RMobileCall::TMobileCallInfoV3 & aCallInfo
TInt aCallId

GetCallState(TInt)

TPEState GetCallState(TIntaCallId)

Get the call state , call identification number

Parameters

TInt aCallId

GetNumberOfCalls()

TInt GetNumberOfCalls()

Returns the number of non-idle data calls

HandleInternalMessage(TInt)

voidHandleInternalMessage(TIntaMessage)

Reroutes call messages.

Parameters

TInt aMessagespecifies the event that has taken place

HangUp(TInt)

TInt HangUp(TIntaCallId)

Makes HangUp request.

Parameters

TInt aCallId

InitCall(MCCECall &)

voidInitCall(MCCECall &aCall)

Initializes a single video call

Parameters

MCCECall & aCallhandle to converged call engine call object

IsMultimedia(TInt)

TBool IsMultimedia(TIntaCallId)const

Checks if the data call is a multimedia call

Parameters

TInt aCallId

IsPhoneNumberAvailable(const TInt)

TBool IsPhoneNumberAvailable(const TIntaCallId)

Checks is phonenumber available

Parameters

const TInt aCallId

NewL(MPEMessageSender &, MPEPhoneModelInternal &, CCCE &, CPECallArrayOwner &)

CPEVideoCallHandling *NewL(MPEMessageSender &aOwner,
MPEPhoneModelInternal &aModel,
CCCE &aConvergedCallEngine,
CPECallArrayOwner &aCallArrayOwner
)[static]

Two-phased constructor

Parameters

MPEMessageSender & aOwner
MPEPhoneModelInternal & aModel
CCCE & aConvergedCallEngine
CPECallArrayOwner & aCallArrayOwner

NotifySystemCallStateChanged(MEngineMonitor::TPEMessagesFromPhoneEngine, TInt)

voidNotifySystemCallStateChanged(MEngineMonitor::TPEMessagesFromPhoneEngineaMessage,
TIntaCallId
)

Notifies system for changes to the call state.

OpenNewCallL(const TPEPhoneNumber &)

CPESingleCall *OpenNewCallL(const TPEPhoneNumber &aNumber)[private]

Create new CPESingleCall object to CPECallArrayOwner and open new MCCECall ojcte to CCE.

Parameters

const TPEPhoneNumber & aNumber

RejectCall()

TInt RejectCall()

Makes reject request.

ReleaseAll()

TInt ReleaseAll()

Makes HangUp requests for all calls

ReleaseCallObject(const TInt)

TInt ReleaseCallObject(const TIntaCallId)[private]

Delete's call object and reset's datastore.

Parameters

const TInt aCallId

ReplaceActive(TInt)

TInt ReplaceActive(TIntaCallId)

Replace active video call with a waiting video call NOT SUPPORTED AS OF 5.1

Parameters

TInt aCallId

ResumeCall(TInt)

TInt ResumeCall(TIntaCallId)

Makes resume request to the Multimode ETel

Parameters

TInt aCallId

SendErrorMessage(const TInt, const TInt)

voidSendErrorMessage(const TIntaCallId,
const TIntaErrorCode
)

Reroutes error message to Phone Engine, usable by call objects

Parameters

const TInt aCallIdIdentification number of the call.
const TInt aErrorCode

SendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine, const TInt)

voidSendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngineaMessage,
const TIntaCallId
)

Overrides CPEDataCallHandling::SendMessage to provide internal handling for gsm events

Parameters

const MEngineMonitor::TPEMessagesFromPhoneEngine aMessage
const TInt aCallId

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

voidSendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngineaMessage,
const TName &aName
)

Reroutes call messages

Parameters

const MEngineMonitor::TPEMessagesFromPhoneEngine aMessageThe message code of the message
const TName & aNameName of call fill be maped to call id

SetCallParams(TInt)

voidSetCallParams(TIntaCallId)[private]

SetCallParams.

Parameters

TInt aCallId

StartUp()

voidStartUp()

Starts monitoring incoming data calls

SwapCalls()

TInt SwapCalls()

Swaps connected and held calls

TerminateAllConnections()

TInt TerminateAllConnections()

Makes terminate all connection request.

VideoCallById(TInt)

CPESingleCall *VideoCallById(TIntaCallId)

Video Call By call id

Parameters

TInt aCallId

VideoCallByName(const TName &)

CPESingleCall *VideoCallByName(const TName &aName)[private]

Returns data call object by name

Parameters

const TName & aName

VideoCallByState(TPEState)

CPESingleCall *VideoCallByState(TPEStateaState)

Video Call By State

Parameters

TPEState aState

VideoCallByState(const TPEState)

CPESingleCall *VideoCallByState(const TPEStateaState)const [private]

Returns data call object by state

Parameters

const TPEState aState

VideoCallInState(const TPEState &)

TBool VideoCallInState(const TPEState &aState)const [private]

Checks if there are any data calls in the specified state

Parameters

const TPEState & aState

VideoCallName(const TInt)

TName &VideoCallName(const TIntaCallId)

Finds data call name given the call id

Parameters

const TInt aCallId

Member Data Documentation

CPECallArrayOwner & iCallArrayOwner

CPECallArrayOwner &iCallArrayOwner[private]

CCCECallParameters * iCallOpenParams

CCCECallParameters *iCallOpenParams[private]

CCCE & iConvergedCallEngine

CCCE &iConvergedCallEngine[private]

TName iDataCallName

TName iDataCallName[private]

MPEDataStore & iDataStore

MPEDataStore &iDataStore[private]

CPEGprsTermination * iGprsInterface

CPEGprsTermination *iGprsInterface[private]

MPEPhoneModelInternal & iModel

MPEPhoneModelInternal &iModel[private]

MPEMessageSender & iOwner

MPEMessageSender &iOwner[private]

TBool iRestoreCauseVTCallReject

TBool iRestoreCauseVTCallReject[private]