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 ()
void CchServiceStatusChanged (TServiceStatus)
void GsmSignalChanged ( TInt32 , TSignalStrengthClass)
IMPORT_C void HoAllowed ()
IMPORT_C void HoNotAllowedL ()
IMPORT_C void ManualHoCallReleased ()
IMPORT_C void ManualHoCallStarted ()
IMPORT_C CVccHoTrigger * NewL ()
IMPORT_C void ReadHoAllowedWhenCsOriginatedSettingL ()
IMPORT_C void SetCurrentDomainType ( TCallDomainType )
IMPORT_C void SetImmediateDomainTransfer ( TBool )
IMPORT_C void SetPreferredDomainType ( TVccHoPolicyPreferredDomain )
IMPORT_C void Start ( CVccPerformer &, TBool )
IMPORT_C void Stop ()
IMPORT_C void Stop ( CVccPerformer &)
void WlanSignalChanged ( TInt32 , TSignalStrengthClass)
Private Member Functions
CVccHoTrigger ()
void ConstructL ()
TBool DoImmediateHo ()
TBool ServicesAvailable ()
void TriggerHo ()
void UpdatePsKeysL ()
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
enum TCallDomainType { ECallDomainTypePS , ECallDomainTypeCS }
Private Attributes
CVccCchMonitor * iCchMonitor
MVccCchObserver::TServiceStatus iCchServiceStatus
TInt iCsSignalLevel
TCallDomainType iDomainType
CVccEngPsProperty * iEngPsProperty
TSignalStrengthClass iGsmClass
CVccGsmSignalLevelHandler * iGsmSignalLevelHandler
TBool iHoAllowedIfCsOriginated
TBool iHoNotAllowed
CVccHoPolicyReader * iHoPolicyReader
TBool iManualHoDone
TVccHoPolicy iPolicy
TSignalStrengthClass iPreviousGsmClass
TSignalStrengthClass iPreviousWlanClass
CVccUiPsProperty * iProperty
TBool iStarted
CVccPerformer * iWhoStartedMe
TSignalStrengthClass iWlanClass
CVccWlanSignalLevelHandler * iWlanSignalLevelHandler

Constructor & Destructor Documentation

CVccHoTrigger()

CVccHoTrigger ( ) [private]

C++ constructor

Since
S60 v3.2

~CVccHoTrigger()

~CVccHoTrigger ( ) [virtual]

Destructor.

Member Functions Documentation

CchServiceStatusChanged(TServiceStatus)

void CchServiceStatusChanged ( TServiceStatus aStatus )

MVccCchMonitorObserver::CchServiceStatusChanged

Parameters

TServiceStatus aStatus

ConstructL()

void ConstructL ( ) [private]

Symbian second-phase constructor

Since
S60 v3.2

DoImmediateHo()

TBool DoImmediateHo ( ) [private]

Initiate immediate ho.

Since
S60 v3.2

GsmSignalChanged(TInt32, TSignalStrengthClass)

void GsmSignalChanged ( TInt32 aSignalStrength,
TSignalStrengthClass aClass
)

Parameters

TInt32 aSignalStrength
TSignalStrengthClass aClass

HoAllowed()

IMPORT_C void HoAllowed ( )

After conference call HO is allowed again

Since
S60 3.2

HoNotAllowedL()

IMPORT_C void HoNotAllowedL ( )

During conference call HO is not allowed

Since
S60 3.2

ManualHoCallReleased()

IMPORT_C void ManualHoCallReleased ( )

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

Since
S60 3.2

ManualHoCallStarted()

IMPORT_C void ManualHoCallStarted ( )

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 void ReadHoAllowedWhenCsOriginatedSettingL ( )
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 void SetCurrentDomainType ( TCallDomainType aDomainType )

Set the current domain of the active call

Since
S60 v3.2

Parameters

TCallDomainType aDomainType is the domain of the current (active) call.

SetImmediateDomainTransfer(TBool)

IMPORT_C void SetImmediateDomainTransfer ( TBool aImmediateDT )

Set immediate domain transfer setting

Since
S60 v3.2

Parameters

TBool aImmediateDT

SetPreferredDomainType(TVccHoPolicyPreferredDomain)

IMPORT_C void SetPreferredDomainType ( TVccHoPolicyPreferredDomain aDomainType )

Set the preferred domain of the active call

Since
S60 v3.2

Parameters

TVccHoPolicyPreferredDomain aDomainType is the call s preferred domain type.

Start(CVccPerformer &, TBool)

IMPORT_C void Start ( CVccPerformer & aWhoStartedMe,
TBool aCsOriginated
)

Start all network monitors

Since
S60 v3.2

Parameters

CVccPerformer & aWhoStartedMe
TBool aCsOriginated

Stop()

IMPORT_C void Stop ( )

Stop all network monitors

Since
S60 v3.2

Stop(CVccPerformer &)

IMPORT_C void Stop ( CVccPerformer & aStopper )

Stop all network monitors

Since
S60 v3.2

Parameters

CVccPerformer & aStopper

TriggerHo()

void TriggerHo ( ) [private]

Initiates the actual handover if its ok to start ho.

Since
S60 v3.2

UpdatePsKeysL()

void UpdatePsKeysL ( ) [private]

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

Since
S60 v3.2

WlanSignalChanged(TInt32, TSignalStrengthClass)

void WlanSignalChanged ( TInt32 aSignalStrength,
TSignalStrengthClass aClass
)

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

TSignalStrengthClass iGsmClass [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

TSignalStrengthClass iPreviousGsmClass [private]

Previous GSM signal class

TSignalStrengthClass iPreviousWlanClass

TSignalStrengthClass iPreviousWlanClass [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

TSignalStrengthClass iWlanClass [private]

WLAN signal class.

CVccWlanSignalLevelHandler * iWlanSignalLevelHandler

CVccWlanSignalLevelHandler * iWlanSignalLevelHandler [private]

VCC Wlan signal level observer Own.