CVccHoTrigger Class Reference

class CVccHoTrigger : public CBase

This class handles the triggering of the handover from one network to another.

   CMyClass::ConstructL()
       {
       iHoTrigger = CVccHoTrigger::NewL();
       }

   CMyClass::FunctionL()
       {
       iHoTrigger->Start();
       }

   CMyClass::DomainChanged()
       {
       // Use swapped the domain of an active call
       iHoTrigger->SetCurrentDomain( iActiveCallDomain );
       }

   CMyClass::CallPutToHold()
       {
       // Stop all network monitoring.
       iHoTrigger->Stop();
       }

   CMyClass::CallActivated()
       {
       // Start all network monitors
       iHoTrigger->Start();
       }

   CMyClass::~CMyClass()
       {
       delete iHoTrigger;
       }
vcchotrigger.lib
Since
S60 v3.2

Inherits from

Public Member Functions
~CVccHoTrigger()
voidCchServiceStatusChanged(TServiceStatus)
voidGsmSignalChanged(TInt32, TSignalStrengthClass)
IMPORT_C voidHoAllowed()
IMPORT_C voidHoNotAllowedL()
IMPORT_C voidManualHoCallReleased()
IMPORT_C voidManualHoCallStarted()
IMPORT_C CVccHoTrigger *NewL()
IMPORT_C voidReadHoAllowedWhenCsOriginatedSettingL()
IMPORT_C voidSetCurrentDomainType(TCallDomainType)
IMPORT_C voidSetImmediateDomainTransfer(TBool)
IMPORT_C voidSetPreferredDomainType(TVccHoPolicyPreferredDomain)
IMPORT_C voidStart(CVccPerformer &, TBool)
IMPORT_C voidStop()
IMPORT_C voidStop(CVccPerformer &)
voidWlanSignalChanged(TInt32, TSignalStrengthClass)
Private Member Functions
CVccHoTrigger()
voidConstructL()
TBool DoImmediateHo()
TBool ServicesAvailable()
voidTriggerHo()
voidUpdatePsKeysL()
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()
Public Member Enumerations
enumTCallDomainType { ECallDomainTypePS, ECallDomainTypeCS }
Private Attributes
CVccCchMonitor *iCchMonitor
MVccCchObserver::TServiceStatus iCchServiceStatus
TInt iCsSignalLevel
TCallDomainType iDomainType
CVccEngPsProperty *iEngPsProperty
TSignalStrengthClassiGsmClass
CVccGsmSignalLevelHandler *iGsmSignalLevelHandler
TBool iHoAllowedIfCsOriginated
TBool iHoNotAllowed
CVccHoPolicyReader *iHoPolicyReader
TBool iManualHoDone
TVccHoPolicy iPolicy
TSignalStrengthClassiPreviousGsmClass
TSignalStrengthClassiPreviousWlanClass
CVccUiPsProperty *iProperty
TBool iStarted
CVccPerformer *iWhoStartedMe
TSignalStrengthClassiWlanClass
CVccWlanSignalLevelHandler *iWlanSignalLevelHandler

Constructor & Destructor Documentation

CVccHoTrigger()

CVccHoTrigger()[private]

C++ constructor

Since
S60 v3.2

~CVccHoTrigger()

~CVccHoTrigger()[virtual]

Destructor.

Member Functions Documentation

CchServiceStatusChanged(TServiceStatus)

voidCchServiceStatusChanged(TServiceStatusaStatus)

MVccCchMonitorObserver::CchServiceStatusChanged

Parameters

TServiceStatus aStatus

ConstructL()

voidConstructL()[private]

Symbian second-phase constructor

Since
S60 v3.2

DoImmediateHo()

TBool DoImmediateHo()[private]

Initiate immediate ho.

Since
S60 v3.2

GsmSignalChanged(TInt32, TSignalStrengthClass)

voidGsmSignalChanged(TInt32aSignalStrength,
TSignalStrengthClassaClass
)

Parameters

TInt32 aSignalStrength
TSignalStrengthClass aClass

HoAllowed()

IMPORT_C voidHoAllowed()

After conference call HO is allowed again

Since
S60 3.2

HoNotAllowedL()

IMPORT_C voidHoNotAllowedL()

During conference call HO is not allowed

Since
S60 3.2

ManualHoCallReleased()

IMPORT_C voidManualHoCallReleased()

After manual handover call has been released, automatic handovers can be made again.

Since
S60 3.2

ManualHoCallStarted()

IMPORT_C voidManualHoCallStarted()

When manual handover is started no automatic handovers should be made.

Since
S60 3.2

NewL()

IMPORT_C CVccHoTrigger *NewL()[static]

Two-phased constructor.

ReadHoAllowedWhenCsOriginatedSettingL()

IMPORT_C voidReadHoAllowedWhenCsOriginatedSettingL()
Reads the settings to get the info if ho is allowed when cs originated call
Since
s60 3.2

ServicesAvailable()

TBool ServicesAvailable()[private]

Check if PS or CS are available (to do handover).

Since
S60 v3.2

SetCurrentDomainType(TCallDomainType)

IMPORT_C voidSetCurrentDomainType(TCallDomainTypeaDomainType)

Set the current domain of the active call

Since
S60 v3.2

Parameters

TCallDomainType aDomainTypeis the domain of the current (active) call.

SetImmediateDomainTransfer(TBool)

IMPORT_C voidSetImmediateDomainTransfer(TBoolaImmediateDT)

Set immediate domain transfer setting

Since
S60 v3.2

Parameters

TBool aImmediateDT

SetPreferredDomainType(TVccHoPolicyPreferredDomain)

IMPORT_C voidSetPreferredDomainType(TVccHoPolicyPreferredDomainaDomainType)

Set the preferred domain of the active call

Since
S60 v3.2

Parameters

TVccHoPolicyPreferredDomain aDomainTypeis the call s preferred domain type.

Start(CVccPerformer &, TBool)

IMPORT_C voidStart(CVccPerformer &aWhoStartedMe,
TBoolaCsOriginated
)

Start all network monitors

Since
S60 v3.2

Parameters

CVccPerformer & aWhoStartedMe
TBool aCsOriginated

Stop()

IMPORT_C voidStop()

Stop all network monitors

Since
S60 v3.2

Stop(CVccPerformer &)

IMPORT_C voidStop(CVccPerformer &aStopper)

Stop all network monitors

Since
S60 v3.2

Parameters

CVccPerformer & aStopper

TriggerHo()

voidTriggerHo()[private]

Initiates the actual handover if its ok to start ho.

Since
S60 v3.2

UpdatePsKeysL()

voidUpdatePsKeysL()[private]

Update (write) service status state to P&S.

Since
S60 v3.2

WlanSignalChanged(TInt32, TSignalStrengthClass)

voidWlanSignalChanged(TInt32aSignalStrength,
TSignalStrengthClassaClass
)

Parameters

TInt32 aSignalStrength
TSignalStrengthClass aClass

Member Enumerations Documentation

Enum TCallDomainType

Domain types

Enumerators

ECallDomainTypePS

PS domain

ECallDomainTypeCS

CS domain

Member Data Documentation

CVccCchMonitor * iCchMonitor

CVccCchMonitor *iCchMonitor[private]

CCH monitor. Own

MVccCchObserver::TServiceStatus iCchServiceStatus

MVccCchObserver::TServiceStatus iCchServiceStatus[private]

CCH status (PS service availability)

TInt iCsSignalLevel

TInt iCsSignalLevel[private]

CS status (i.e. signal level)

TCallDomainType iDomainType

TCallDomainType iDomainType[private]

Call domain type

CVccEngPsProperty * iEngPsProperty

CVccEngPsProperty *iEngPsProperty[private]

PS property writer to write TVccHoStatus values Own.

TSignalStrengthClass iGsmClass

TSignalStrengthClassiGsmClass[private]

GSM signal class

CVccGsmSignalLevelHandler * iGsmSignalLevelHandler

CVccGsmSignalLevelHandler *iGsmSignalLevelHandler[private]

VCC GSM signal level observer Own.

TBool iHoAllowedIfCsOriginated

TBool iHoAllowedIfCsOriginated[private]

TBool iHoNotAllowed

TBool iHoNotAllowed[private]

Ho allowed or not (conference, video, data, multimedia sharing)

CVccHoPolicyReader * iHoPolicyReader

CVccHoPolicyReader *iHoPolicyReader[private]

CenRep reader for VCC HO policy Own.

TBool iManualHoDone

TBool iManualHoDone[private]

Has manual ho been made

TVccHoPolicy iPolicy

TVccHoPolicy iPolicy[private]

VCC HO policy

TSignalStrengthClass iPreviousGsmClass

TSignalStrengthClassiPreviousGsmClass[private]

Previous GSM signal class

TSignalStrengthClass iPreviousWlanClass

TSignalStrengthClassiPreviousWlanClass[private]

Previous WLAN signal class.

CVccUiPsProperty * iProperty

CVccUiPsProperty *iProperty[private]

VCC P&S key manager for UI side Own.

TBool iStarted

TBool iStarted[private]

Are we stopped or active (i.e. monitoring)

CVccPerformer * iWhoStartedMe

CVccPerformer *iWhoStartedMe[private]

Performer that started trigger Not own.

TSignalStrengthClass iWlanClass

TSignalStrengthClassiWlanClass[private]

WLAN signal class.

CVccWlanSignalLevelHandler * iWlanSignalLevelHandler

CVccWlanSignalLevelHandler *iWlanSignalLevelHandler[private]

VCC Wlan signal level observer Own.