CVccWlanSignalLevelHandler Class Reference

class CVccWlanSignalLevelHandler : public CVccSignalLevelHandler

WLAN signal level observer

        TSignalLevelParams params = { 8e6, 8e6, 80, 40 };

  CMyClass::ConstructL()
      {
      iSignalLevelHandler = CVccWlanSignalLevelHandler::NewL( *this, params );
      iSignalLevelHandler->StartL();
      }

  CMyClass::StopMonitoring()
      {
      iSignalLevelHandler->Stop();
      }

  CMyClass::SetNewParametersAndStartL()
      {
      TSignalLevelParams params = { 8e6, 10e6, 80, 20 };

      iSignalLevelHandler->SetParams( params );

      // Start using new parameters
      iSignalLevelHandler->StartL();
      }

  CMyClass::~CMyClass()
      {
      delete iSignalLevelHandler;
      }


  CMyClass::WlanSignalChanged(
      TInt32 aRss,
      TSignalRssClass aRssClass )
      {
      // Signal level changed. Must do something
      if ( aRssClass == ESignalClassWeak )
          {
          // Do handover if the signal is very weak
          if ( aRss > EReallyBadSignalLevel )
              {
              }
          }
      }
       
vcchotrigger.dll
Since
S60 v3.2

Inherits from

Public Member Functions
~CVccWlanSignalLevelHandler ()
CVccWlanSignalLevelHandler * NewL ( MVccSignalLevelObserver &, const TSignalLevelParams &, CVccEngPsProperty &)
CVccWlanSignalLevelHandler * NewLC ( MVccSignalLevelObserver &, const TSignalLevelParams &, CVccEngPsProperty &)
void SetManualHoDone ( TBool )
Private Member Functions
CVccWlanSignalLevelHandler ( MVccSignalLevelObserver &, const TSignalLevelParams &, CVccEngPsProperty &)
void BssidChanged ( TWlanBssid &)
void CancelGetStrength ()
void ConstructL ()
void DisableNotifications ()
void DoCancel ()
void EnableNotificationsL ()
void GetStrength ()
void NotifyChanges ( TInt32 , MVccSignalLevelObserver::TSignalStrengthClass )
void OldNetworksLost ()
void RssChanged ( TWlanRssClass , TUint )
void RunL ()
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
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()
CTimer::After(TTimeIntervalMicroSeconds32)
CTimer::At(const TTime &)
CTimer::AtUTC(const TTime &)
CTimer::CTimer(TInt)
CTimer::HighRes(TTimeIntervalMicroSeconds32)
CTimer::Inactivity(TTimeIntervalSeconds)
CTimer::Lock(TTimerLockSpec)
CTimer::~CTimer()
CVccSignalLevelHandler::CVccSignalLevelHandler(MVccSignalLevelObserver &,const TSignalLevelParams &)
CVccSignalLevelHandler::SetParams(const TSignalLevelParams &)
CVccSignalLevelHandler::StartL()
CVccSignalLevelHandler::Stop()
CVccSignalLevelHandler::StrengthChanged()
CVccSignalLevelHandler::~CVccSignalLevelHandler()
Inherited Enumerations
CActive:TPriority
CVccSignalLevelHandler:TOperation
CVccSignalLevelHandler:TStrengthState
Private Attributes
TBool iManualHoDone
CVccEngPsProperty & iVccPsp
CWlanMgmtClient * iWlanMgmt
Inherited Attributes
CActive::iStatus
CVccSignalLevelHandler::iNotificationsOn
CVccSignalLevelHandler::iObserver
CVccSignalLevelHandler::iOperation
CVccSignalLevelHandler::iParams
CVccSignalLevelHandler::iState
CVccSignalLevelHandler::iStrength

Constructor & Destructor Documentation

CVccWlanSignalLevelHandler(MVccSignalLevelObserver &, const TSignalLevelParams &, CVccEngPsProperty &)

CVccWlanSignalLevelHandler ( MVccSignalLevelObserver & aObserver,
const TSignalLevelParams & aParams,
CVccEngPsProperty & aPsProperty
) [private]

C++ constructor

Since
S60 3.2

Parameters

MVccSignalLevelObserver & aObserver Observer which will be notified upon signal changes.
const TSignalLevelParams & aParams Parameters for the timer and signal levels.
CVccEngPsProperty & aPsProperty

~CVccWlanSignalLevelHandler()

~CVccWlanSignalLevelHandler ( ) [virtual]

Destructor.

Member Functions Documentation

BssidChanged(TWlanBssid &)

void BssidChanged ( TWlanBssid & aNewBSSID ) [private]

Parameters

TWlanBssid & aNewBSSID

CancelGetStrength()

void CancelGetStrength ( ) [private, virtual]

ConstructL()

void ConstructL ( ) [private]

Symbian second-phase constructor

Since
S60 3.2

DisableNotifications()

void DisableNotifications ( ) [private, virtual]

DoCancel()

void DoCancel ( ) [private, virtual]

EnableNotificationsL()

void EnableNotificationsL ( ) [private, virtual]

GetStrength()

void GetStrength ( ) [private, virtual]

NewL(MVccSignalLevelObserver &, const TSignalLevelParams &, CVccEngPsProperty &)

CVccWlanSignalLevelHandler * NewL ( MVccSignalLevelObserver & aObserver,
const TSignalLevelParams & aParams,
CVccEngPsProperty & aPsProperty
) [static]

Two-phased constructor.

Parameters

MVccSignalLevelObserver & aObserver Observer which will be notified upon signal changes.
const TSignalLevelParams & aParams Parameters for the timer and signal levels.
CVccEngPsProperty & aPsProperty

NewLC(MVccSignalLevelObserver &, const TSignalLevelParams &, CVccEngPsProperty &)

CVccWlanSignalLevelHandler * NewLC ( MVccSignalLevelObserver & aObserver,
const TSignalLevelParams & aParams,
CVccEngPsProperty & aPsProperty
) [static]

Two-phased constructor.

Parameters

MVccSignalLevelObserver & aObserver Observer which will be notified upon signal changes.
const TSignalLevelParams & aParams Parameters for the timer and signal levels.
CVccEngPsProperty & aPsProperty

NotifyChanges(TInt32, MVccSignalLevelObserver::TSignalStrengthClass)

void NotifyChanges ( TInt32 aSignalStrength,
MVccSignalLevelObserver::TSignalStrengthClass aClass
) [private, virtual]

OldNetworksLost()

void OldNetworksLost ( ) [private]

RssChanged(TWlanRssClass, TUint)

void RssChanged ( TWlanRssClass aRssClass,
TUint aRss
) [private]

Parameters

TWlanRssClass aRssClass
TUint aRss

RunL()

void RunL ( ) [private, virtual]

Overriding this because WLAN signal level handler needs to observe the signal level more frequently than GSM Signal Level Handler

SetManualHoDone(TBool)

void SetManualHoDone ( TBool aValue )

for telling WLAN Signal Level Handler that manual HO is done or not done

Parameters

TBool aValue

Member Data Documentation

TBool iManualHoDone

TBool iManualHoDone [private]

indicates is manual HO done or not

CVccEngPsProperty & iVccPsp

CVccEngPsProperty & iVccPsp [private]

for informing the states

CWlanMgmtClient * iWlanMgmt

CWlanMgmtClient * iWlanMgmt [private]

WLAN management client. Own.