CVccGsmSignalLevelHandler Class Reference

class CVccGsmSignalLevelHandler : public CVccSignalLevelHandler

VCC GSM signal level handler.

        void CExampleClass::ConstructL()
      {
      //Scan time for low and high 5 sec, low strength -85, high -70 dBm
      TSignalLevelParams params = { 5e6, 5e6, 85, 70 };

      //
      iGsmHandler = CVccGsmSignalLevelHandler::NewL( *this, params );
      }

  void CExampleClass::StartMonitoringL()
      {
      // Start monitoring gsm signal levels.
      iGsmHandler->StartL();
      }

  void CExampleClass::StopMonitoringL()
      {
      // Stop monitoring.
      iGsmHandler->StopL();
      }

  // Called when signal level changes.
  void CExampleClass::SignalLevelL(
      const CVccSignalLevelHandler* aHandlerInstance,
      TInt32 aSignalStrength,
      TSignalStrengthClass aClass )
      {
      if ( iGsmHandler == aHandlerInstance )
          {
          // GSM signal changed, do whatever is needed
          MakeHandoverDecision( aSignalStrength, aClass );
          }
      }
       
vcchotrigger.dll
Since
S60 v3.2

Inherits from

Public Member Functions
~CVccGsmSignalLevelHandler ()
CVccGsmSignalLevelHandler * NewL ( MVccSignalLevelObserver &, const TSignalLevelParams &)
CVccGsmSignalLevelHandler * NewLC ( MVccSignalLevelObserver &, const TSignalLevelParams &)
Private Member Functions
CVccGsmSignalLevelHandler ( MVccSignalLevelObserver &, const TSignalLevelParams &)
void CancelGetStrength ()
void ConstructL ()
void DisableNotifications ()
void EnableNotificationsL ()
void GetStrength ()
void GsmStrengthChanged ( TInt32 )
void NotifyChanges ( TInt32 , MVccSignalLevelObserver::TSignalStrengthClass )
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::DoCancel()
CVccSignalLevelHandler::SetParams(const TSignalLevelParams &)
CVccSignalLevelHandler::StartL()
CVccSignalLevelHandler::Stop()
CVccSignalLevelHandler::StrengthChanged()
CVccSignalLevelHandler::~CVccSignalLevelHandler()
Inherited Enumerations
CActive:TPriority
CVccSignalLevelHandler:TOperation
CVccSignalLevelHandler:TStrengthState
Private Attributes
TInt8 iBar
RTelServer iEtelServer
CVccGsmNotifications * iGsmNotifications
RMobilePhone iPhone
Inherited Attributes
CActive::iStatus
CVccSignalLevelHandler::iNotificationsOn
CVccSignalLevelHandler::iObserver
CVccSignalLevelHandler::iOperation
CVccSignalLevelHandler::iParams
CVccSignalLevelHandler::iState
CVccSignalLevelHandler::iStrength

Constructor & Destructor Documentation

CVccGsmSignalLevelHandler(MVccSignalLevelObserver &, const TSignalLevelParams &)

CVccGsmSignalLevelHandler ( MVccSignalLevelObserver & aObserver,
const TSignalLevelParams & aParams
) [private]

C++ constructor

Parameters

MVccSignalLevelObserver & aObserver Reference to signal level observer
const TSignalLevelParams & aParams Reference to signal level parameters

~CVccGsmSignalLevelHandler()

~CVccGsmSignalLevelHandler ( ) [virtual]

Destructor.

Member Functions Documentation

CancelGetStrength()

void CancelGetStrength ( ) [private, virtual]

ConstructL()

void ConstructL ( ) [private]

Symbian second-phase constructor

DisableNotifications()

void DisableNotifications ( ) [private, virtual]

EnableNotificationsL()

void EnableNotificationsL ( ) [private, virtual]

GetStrength()

void GetStrength ( ) [private, virtual]

GsmStrengthChanged(TInt32)

void GsmStrengthChanged ( TInt32 aStrength ) [private]

Parameters

TInt32 aStrength

NewL(MVccSignalLevelObserver &, const TSignalLevelParams &)

CVccGsmSignalLevelHandler * NewL ( MVccSignalLevelObserver & aObserver,
const TSignalLevelParams & aParams
) [static]

Two-phased constructor.

Parameters

MVccSignalLevelObserver & aObserver Observer of this signal handler
const TSignalLevelParams & aParams Parameters for signal monitoring

NewLC(MVccSignalLevelObserver &, const TSignalLevelParams &)

CVccGsmSignalLevelHandler * NewLC ( MVccSignalLevelObserver & aObserver,
const TSignalLevelParams & aParams
) [static]

Two-phased constructor.

Parameters

MVccSignalLevelObserver & aObserver Observer of this signal handler
const TSignalLevelParams & aParams Parameters for signal monitoring

NotifyChanges(TInt32, MVccSignalLevelObserver::TSignalStrengthClass)

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

Member Data Documentation

TInt8 iBar

TInt8 iBar [private]

Value of the GSM indication bar

RTelServer iEtelServer

RTelServer iEtelServer [private]

Etel server Own.

CVccGsmNotifications * iGsmNotifications

CVccGsmNotifications * iGsmNotifications [private]

Gsm signal level notifier Own.

RMobilePhone iPhone

RMobilePhone iPhone [private]

Phone based functionality Own.