CPsetCli Class Reference

class CPsetCli : public CActive
CPsetCli class is calling line identification restriction SS handler. phonesettings.lib
Since
1.0

Inherits from

Public Member Functions
~CPsetCli ()
IMPORT_C void CancelAll ()
IMPORT_C void GetClipModeL ()
IMPORT_C void GetClirModeL ()
IMPORT_C void GetCnapL ()
IMPORT_C void GetColpModeL ()
IMPORT_C void GetColrModeL ()
IMPORT_C CPsetCli * NewL ( RMobilePhone &, MPsetCliObserver &)
IMPORT_C void SetRequestObserver ( MPsetRequestObserver *)
Private Member Functions
CPsetCli ( RMobilePhone &)
void CleanupLeavePushL ()
void DoCancel ()
void DoHandleLeave ( TAny *)
void HandleLeave ()
void IssueRequestL ( RMobilePhone::TMobilePhoneIdService )
void RequestCompleted (const TInt &)
void RunL ()
void SetObserver ( MPsetCliObserver &)
void SetRequestStatus ( RMobilePhone::TMobilePhoneIdService )
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()
Public Member Enumerations
enum TPsetClirSetting { EPsetClirPreset  = -1, EPsetClirActive  = 1, EPsetClirInactive  = 0 }
Inherited Enumerations
CActive:TPriority
Private Attributes
MPsetCliObserver * iObserver
RMobilePhone & iPhone
MPsetRequestObserver * iReqObserver
RMobilePhone::TMobilePhoneIdService iRequestedService
RMobilePhone::TMobilePhoneIdServiceStatus iServiceStatus
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CPsetCli(RMobilePhone &)

CPsetCli ( RMobilePhone & aPhone ) [private]

Parameters

RMobilePhone & aPhone

~CPsetCli()

IMPORT_C ~CPsetCli ( )

Destructor.

Member Functions Documentation

CancelAll()

IMPORT_C void CancelAll ( )

MPsetCli::CancelAll Can leave, but due to inheritance not an L-function.

CleanupLeavePushL()

void CleanupLeavePushL ( ) [private]

DoCancel()

void DoCancel ( ) [private, virtual]

Implements cancellation of an outstanding request.

This function is called as part of the active object's Cancel() .

It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.

DoCancel() must not wait for event completion; this is handled by Cancel() .

CActive::Cancel

DoHandleLeave(TAny *)

void DoHandleLeave ( TAny * aAny ) [private, static]

Parameters

TAny * aAny

GetClipModeL()

IMPORT_C void GetClipModeL ( )

MPsetCli::GetClipModeL Can leave, but due to inheritance not an L-function.

GetClirModeL()

IMPORT_C void GetClirModeL ( )

MPsetCli::GetClirModeL Can leave, but due to inheritance not an L-function.

GetCnapL()

IMPORT_C void GetCnapL ( )

GetColpModeL()

IMPORT_C void GetColpModeL ( )

MPsetCli::GetColpModeL Can leave, but due to inheritance not an L-function.

GetColrModeL()

IMPORT_C void GetColrModeL ( )

MPsetCli::GetColrModeL Can leave, but due to inheritance not an L-function.

HandleLeave()

void HandleLeave ( ) [private]

IssueRequestL(RMobilePhone::TMobilePhoneIdService)

void IssueRequestL ( RMobilePhone::TMobilePhoneIdService aService ) [private]

Parameters

RMobilePhone::TMobilePhoneIdService aService

NewL(RMobilePhone &, MPsetCliObserver &)

IMPORT_C CPsetCli * NewL ( RMobilePhone & aPhone,
MPsetCliObserver & aObserver
) [static]

Symbian OS 2-phase constructor.

Parameters

RMobilePhone & aPhone Provides client access to mobile phone functionality provided by TSY.
MPsetCliObserver & aObserver Observer for CLI.

RequestCompleted(const TInt &)

void RequestCompleted ( const TInt & aError ) [private]

Parameters

const TInt & aError

RunL()

void RunL ( ) [private, virtual]

Handles an active object's request completion event.

A derived class must provide an implementation to handle the completed request. If appropriate, it may issue another request.

The function is called by the active scheduler when a request completion event occurs, i.e. after the active scheduler's WaitForAnyRequest() function completes.

Before calling this active object's RunL() function, the active scheduler has:

1. decided that this is the highest priority active object with a completed request

2. marked this active object's request as complete (i.e. the request is no longer outstanding)

RunL() runs under a trap harness in the active scheduler. If it leaves, then the active scheduler calls RunError() to handle the leave.

Note that once the active scheduler's Start() function has been called, all user code is run under one of the program's active object's RunL() or RunError() functions.

CActiveScheduler::Start CActiveScheduler::Error CActiveScheduler::WaitForAnyRequest TRAPD

SetObserver(MPsetCliObserver &)

void SetObserver ( MPsetCliObserver & aObserver ) [private]

Parameters

MPsetCliObserver & aObserver

SetRequestObserver(MPsetRequestObserver *)

IMPORT_C void SetRequestObserver ( MPsetRequestObserver * aObs )

Parameters

MPsetRequestObserver * aObs

SetRequestStatus(RMobilePhone::TMobilePhoneIdService)

void SetRequestStatus ( RMobilePhone::TMobilePhoneIdService aStatus ) [private]

Parameters

RMobilePhone::TMobilePhoneIdService aStatus

Member Enumerations Documentation

Enum TPsetClirSetting

Enumerators

EPsetClirPreset = -1
EPsetClirActive = 1
EPsetClirInactive = 0

Member Data Documentation

MPsetCliObserver * iObserver

MPsetCliObserver * iObserver [private]

RMobilePhone & iPhone

RMobilePhone & iPhone [private]

MPsetRequestObserver * iReqObserver

MPsetRequestObserver * iReqObserver [private]

RMobilePhone::TMobilePhoneIdService iRequestedService

RMobilePhone::TMobilePhoneIdService iRequestedService [private]

RMobilePhone::TMobilePhoneIdServiceStatus iServiceStatus

RMobilePhone::TMobilePhoneIdServiceStatus iServiceStatus [private]