CCCECallContainer Class Reference
class CCCECallContainer : public CBase
|
Container
This object contains normal calls, emergency call and conference call. Also Dtmf and extension interfaces are located here.
Multicall situations are also handled here.
Nested Classes and Structures
Public Member Functions
|
|
~CCCECallContainer
()
|
void
|
AirTimeDurationStart
(
CCCECall
*)
|
void
|
AirTimeDurationStop
(
CCCECall
*)
|
void
|
AirTimeDurationSwap
(const
CCPCall::TCallType
)
|
MCCEObserver
*
|
CCEObserver
()
|
MCCECallInfo
*
|
CallInfo
(
TInt
)
|
CCCEConferenceCall
&
|
ConferenceCall
()
|
CCCEConferenceCall
&
|
ConferenceCallL
(const
MCCEConferenceCallObserver
&)
|
TInt
|
CountCalls
(
TUid
)
|
TInt
|
CountCsCalls
(
TUid
)
|
CCCEDtmf
&
|
DtmfInterfaceL
(const
MCCEDtmfObserver
&)
|
MCCECall
&
|
EmergencyCall
(const
MCCECallObserver
&)
|
MCCECallInfo
*
|
EmergencyCallInfo
()
|
void
|
ErrorOccurred
(
CCCECall
*,
TCCPError
)
|
MCCEExtensionInterface
&
|
ExtensionInterfaceL
(const
MCCEExtensionObserver
&)
|
TInt
|
GetActiveOrConnectingCalls
(
RPointerArray
<
MCCECallInfo
> &)
|
void
|
GetAirTimeDuration
(
TTimeIntervalSeconds
&,
TTimeIntervalSeconds
&)
|
TBool
|
GetCSInfo
(
CSInfo
&)
|
CCCECall
*
|
GetCall
(
TInt
)
|
CCCECall
*
|
GetCall
(
CCPCall::TCallState
,
CCCECall
*)
|
CCCECall
*
|
GetCall
(const
MCCPCall
*)
|
TInt
|
GetCall
(
TUid
,
RPointerArray
<
CCCECall
> &)
|
TBool
|
GetLifeTime
(
TDes8
&)
|
CCCECall
*
|
GetNextFreeCall
()
|
void
|
HandleCallStatusChange
(
CCPCall::TCallState
,
CCCECall
*,
CCECallEnums::TNotifyType
)
|
void
|
HandleConferenceStatusChange
(
MCCEConferenceCallObserver::TCCEConferenceCallState
)
|
void
|
HandleEmergencyCallStatusChange
(
CCECallEnums::TNotifyType
)
|
TInt
|
MaxNumberOfCalls
()
|
CCCECallContainer
*
|
NewL
(
MCCEObserver
&)
|
MCCECall
&
|
OpenNewCallL
(const
TDesC
&, const
CCCECallParameters
&, const
MCCECallObserver
&)
|
TInt
|
ReleaseCall
(
MCCPCall
&, const
TUid
)
|
TInt
|
ReleaseCall
(
MCCPCall
&)
|
void
|
ReleaseCallInfoCallId
(
TInt
)
|
void
|
ReserveCallInfoCallId
(
TInt
)
|
void
|
SetObserver
(
MCCEObserver
&,
MCCESsObserver
&)
|
MCCESsObserver
*
|
SsObserver
()
|
void
|
TerminateAllButRingingAndQueuedCalls
()
|
void
|
TerminateAllCalls
()
|
void
|
TerminateAllVoIPCalls
()
|
Constructor & Destructor Documentation
CCCECallContainer(MCCEObserver &)
~CCCECallContainer()
~CCCECallContainer
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AirTimeDurationStart(CCCECall *)
void
|
AirTimeDurationStart
|
(
|
CCCECall
*
|
aCall
|
)
|
const
|
Start airtime duration timer
Parameters
CCCECall
* aCall
|
CCCECall is used for checking call type
|
AirTimeDurationStop(CCCECall *)
void
|
AirTimeDurationStop
|
(
|
CCCECall
*
|
aCall
|
)
|
const
|
Stop airtime duration timer
Parameters
CCCECall
* aCall
|
CCCECall is used for checking call type
|
AirTimeDurationSwap(const CCPCall::TCallType)
void
|
AirTimeDurationSwap
|
(
|
const
CCPCall::TCallType
|
aNewCallType
|
)
|
|
Switch Air Duration timer, is needed for handover
Stop current timer and starts another one. New timer is initialized with the same value that old timer had when it was stopped
Parameters
const
CCPCall::TCallType
aNewCallType
|
|
CCEObserver()
Get CCE observer
-
Since
-
S60 v3.2
ConferenceCall()
Returns reference to conferencecall
ConferenceCallL(const MCCEConferenceCallObserver &)
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Leaving stuff in constructor
CountCalls(TUid)
TInt
|
CountCalls
|
(
|
TUid
|
aImplementationUid
|
)
|
const
|
Counts calls of specified type
CountCsCalls(TUid)
TInt
|
CountCsCalls
|
(
|
TUid
|
aImplementationUid
|
)
|
const
|
Counts calls of specified type Check implementation UID and call type so that call provided by CS plugin
CreateCallDataArraysL()
void
|
CreateCallDataArraysL
|
(
|
)
|
[private]
|
DoReleaseCalls()
void
|
DoReleaseCalls
|
(
|
)
|
[private]
|
Clear the array of calls to be released
DtmfInterfaceL(const MCCEDtmfObserver &)
EmergencyCall(const MCCECallObserver &)
ErrorOccurred(CCCECall *, TCCPError)
void
|
ErrorOccurred
|
(
|
CCCECall
*
|
aCall,
|
|
TCCPError
|
aError
|
|
)
|
|
Parameters
CCCECall
* aCall
|
CCCECall failed
|
TCCPError
aError
|
error occured
|
ExtensionInterfaceL(const MCCEExtensionObserver &)
GetActiveOrConnectingCalls(RPointerArray< MCCECallInfo > &)
Checks if there is any connected, connecting or dialling calls
GetAirTimeDuration(TTimeIntervalSeconds &, TTimeIntervalSeconds &)
GetCSInfo(CSInfo &)
Get CS specific misc info from CS plugin.
-
Since
-
S60 v3.2
GetCall(TInt)
Get call with specific id.
Parameters
TInt
aCallId
|
Specifies which call is returned
|
GetCall(CCPCall::TCallState, CCCECall *)
CCCECall
*
|
GetCall
|
(
|
CCPCall::TCallState
|
aCallStatus,
|
|
CCCECall
*
|
aSkippedCall
|
|
)
|
const
|
Get call with specific state, Skip given call
Parameters
CCPCall::TCallState
aCallStatus
|
Specified callstatus.
|
CCCECall
* aSkippedCall
|
Skip this call
|
GetCall(const MCCPCall *)
Get call which owns specific
MCCPCall
. If specified call is NULL return next free call
Parameters
const
MCCPCall
* aMCCPCall
|
Call to be found.
|
GetCall(TUid, RPointerArray< CCCECall > &)
Get call array of specific type
Parameters
TUid
aImplementationUid
|
Specifies calltype to be found
|
RPointerArray
<
CCCECall
> & aCallArray
|
Calls are inserted in this array
|
GetCallWithActiveRequest(CCCECall *)
Gets call with active request, skip call which is given as param
GetLifeTime(TDes8 &)
Get life time info from CS plugin.
-
Since
-
S60 v3.2
Parameters
TDes8
& aLifeTimeInfo
|
Life time info.
|
GetNextFreeCall()
Get call which isnt in use.
GetNonConferenceCall()
CCCECall
*
|
GetNonConferenceCall
|
(
|
)
|
const [private]
|
Gets call which isnt part of conference
HandleCallStatusChange(CCPCall::TCallState, CCCECall *, CCECallEnums::TNotifyType)
void
|
HandleCallStatusChange
|
(
|
CCPCall::TCallState
|
aStatus,
|
|
CCCECall
*
|
aCall,
|
|
CCECallEnums::TNotifyType
|
aNotify
|
|
)
|
|
This is called when call status is changed.
Parameters
CCPCall::TCallState
aStatus
|
New call state
|
CCCECall
* aCall
|
Pointer to call which is changed Type of notify
|
CCECallEnums::TNotifyType
aNotify
|
|
HandleConferenceStatusChange(MCCEConferenceCallObserver::TCCEConferenceCallState)
This is called when conference status is changed.
HandleEmergencyCallStatusChange(CCECallEnums::TNotifyType)
void
|
HandleEmergencyCallStatusChange
|
(
|
CCECallEnums::TNotifyType
|
aNotify
|
)
|
|
Indication from emergency call about status change.
Parameters
CCECallEnums::TNotifyType
aNotify
|
Type of notify.
|
IsCsPlugin(CCCECall *, TBool)
Tells if cs plugin is used in current call
MaxNumberOfCalls()
TInt
|
MaxNumberOfCalls
|
(
|
)
|
const
|
OpenNewCallL(const TDesC &, const CCCECallParameters &, const MCCECallObserver &)
ReleaseCall(MCCPCall &, const TUid)
ReleaseCallInfoCallId(TInt)
void
|
ReleaseCallInfoCallId
|
(
|
TInt
|
aCallId
|
)
|
|
This is called from
cccecall.cpp
when it is removed from use.
Parameters
TInt
aCallId
|
CallId to be released
|
ReleaseCalls(TAny *)
TInt
|
ReleaseCalls
|
(
|
TAny
*
|
aCallContainer
|
)
|
[private, static]
|
This is called when call(s) is(are) scheduled to be released
ReserveCallInfoCallId(TInt)
void
|
ReserveCallInfoCallId
|
(
|
TInt
|
aCallId
|
)
|
|
This is called from
cccecall.cpp
when it is taken in use.
Parameters
TInt
aCallId
|
CallId to be reserved
|
ScheduleReleaseCall(MCCPCall &, const TUid)
void
|
ScheduleReleaseCall
|
(
|
MCCPCall
&
|
aCalltoRelease,
|
|
const
TUid
|
aUid
|
|
)
|
[private]
|
Add a call to release list
SetObserver(MCCEObserver &, MCCESsObserver &)
SsObserver()
Get ss observer
-
Since
-
S60 v3.2
TerminateAllButRingingAndQueuedCalls()
void
|
TerminateAllButRingingAndQueuedCalls
|
(
|
)
|
|
Create room to incoming emergency
TerminateAllCalls()
void
|
TerminateAllCalls
|
(
|
)
|
|
TerminateAllVoIPCalls()
void
|
TerminateAllVoIPCalls
|
(
|
)
|
|
Member Data Documentation
CCCEDurationTimer * iCSDuration
CCCEDurationTimer *
|
iCSDuration
|
[private]
|
CArrayPtrFlat< CCCECall > * iCallArray
Array of call objects Own
TFixedArray< TInt, KCCECallObjects > iCallInfoCallId
Table is filled so that call info callid 0 is used by callid in table index 0 etc.
CCCECallInfoMediator * iCallStateMediator
CCCECallInfoMediator *
|
iCallStateMediator
|
[private]
|
RArray< TCallReleaseEntry > iCallstoRelease
CCCEConferenceCall * iConferenceCall
Conference call object Own
CCCEEmergencyCall * iEmergencyCall
CCCEEmergencyCall *
|
iEmergencyCall
|
[private]
|
Emergency call object Own
CCCEExtension * iExtension
CCCEExtension *
|
iExtension
|
[private]
|
Extension interface logic Own
MCCEObserver * iMCCEObserver
MCCESsObserver * iMCCESsObserver
CCCEDurationTimer * iPSDuration
CCCEDurationTimer *
|
iPSDuration
|
[private]
|
CCCEPluginManager * iPluginManager
CCCEPluginManager *
|
iPluginManager
|
[private]
|
Pluginmanager, manages plugin loading Own
CCCETransferController * iTransferController
CCCETransferController *
|
iTransferController
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.