CPESingleCall Class Reference

class CPESingleCall : public CPESingleCallObserver
Create call handling requests to Call Command object CallHandling.lib
Since
Series60_5.0

Inherits from

Public Member Functions
~CPESingleCall ()
TInt AcceptUnattendedTransfer ()
TInt Answer ()
void Deflect (const RMobilePhone::TMobileAddress &, const RMobileCall::TMobileCallDeflect &)
TInt Dial (const RMobileCall::TTelNumberC &)
void DialEmergency (const TPEPhoneNumber &)
void DisableFDNCheck ()
TInt ForwardCallToAddress ( TInt )
TInt GetCallInfo ( RMobileCall::TMobileCallInfoV3 &)
TInt GetMissedCall ( TBool &)
TInt HangUp ()
TInt Hold ()
TBool IsSecureCall ()
CPESingleCall * NewL ( MPEMessageSender &)
TInt RejectUnattendedTransfer ()
TInt Resume ()
TBool SecureSpecified ()
void SendMessage (const MEngineMonitor::TPEMessagesFromPhoneEngine )
void SetMissedCall ( TBool )
TInt Swap ()
TCCPTone Tone ()
void Transfer (const TDesC &)
TInt UnattendedTransfer (const TDesC &)
Private Member Functions
CPESingleCall ( MPEMessageSender &)
void ConstructL ()
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()
CPECall::CPECall(MPEMessageSender &)
CPECall::GetCallId()const
CPECall::GetCallState()const
CPECall::GetErrorCode(TInt &)const
CPECall::SendErrorMessage(const TInt)
CPECall::SetCallId(const TInt)
CPECall::SetCallState(const TPEState)
CPECall::~CPECall()
CPESingleCallObserver::CPESingleCallObserver(MPEMessageSender &)
CPESingleCallObserver::Call()
CPESingleCallObserver::CallCapsChanged(const MCCECallObserver::TCCECallControlCaps)
CPESingleCallObserver::CallDurationChanged(const TTimeIntervalSeconds)
CPESingleCallObserver::CallEventOccurred(const MCCECallObserver::TCCECallEvent)
CPESingleCallObserver::CallStateChanged(const CCPCall::TCallState)
CPESingleCallObserver::CallStateChangedWithInband(const CCPCall::TCallState)
CPESingleCallObserver::ErrorOccurred(const TCCPError)
CPESingleCallObserver::ForwardAddressChoices()const
CPESingleCallObserver::GetCallControlCaps(MCCECallObserver::TCCECallControlCaps &)const
CPESingleCallObserver::GetCallDuration(TTimeIntervalSeconds &)
CPESingleCallObserver::HandleTransfer(const TBool,const TDesC &)
CPESingleCallObserver::SetCall(MCCECall &)
CPESingleCallObserver::UnattendedTransferTarget()const
CPESingleCallObserver::~CPESingleCallObserver()
Protected Attributes
RMobileCall::TMobileCallInfoV3 iCallInfo
TBool iMissedCall
RTelServer::TPhoneInfo iPhoneInfo
Inherited Attributes
CPECall::iCallId
CPECall::iCallState
CPECall::iErrorCode
CPECall::iOwner
CPESingleCallObserver::iCall
CPESingleCallObserver::iControlCaps
CPESingleCallObserver::iDialledNumber
CPESingleCallObserver::iDuration
CPESingleCallObserver::iTransferTarget

Constructor & Destructor Documentation

CPESingleCall(MPEMessageSender &)

CPESingleCall ( MPEMessageSender & aOwner ) [private]

C++ default constructor.

Parameters

MPEMessageSender & aOwner

~CPESingleCall()

~CPESingleCall ( )

Destructor.

Member Functions Documentation

AcceptUnattendedTransfer()

TInt AcceptUnattendedTransfer ( )

Accepts unattended transfer request.

Answer()

TInt Answer ( )

Creates answer request to data call command object

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

Deflect(const RMobilePhone::TMobileAddress &, const RMobileCall::TMobileCallDeflect &)

void Deflect ( const RMobilePhone::TMobileAddress & aMobileAddress,
const RMobileCall::TMobileCallDeflect & aDeflectType
)

Creates deflect request to cce call object

Parameters

const RMobilePhone::TMobileAddress & aMobileAddress the address of the remote party
const RMobileCall::TMobileCallDeflect & aDeflectType determinates the destination of the deflected call.

Dial(const RMobileCall::TTelNumberC &)

TInt Dial ( const RMobileCall::TTelNumberC & aNumber ) [virtual]

Creates dial request to call command object

Parameters

const RMobileCall::TTelNumberC & aNumber remote number

DialEmergency(const TPEPhoneNumber &)

void DialEmergency ( const TPEPhoneNumber & aEmergencyNumber )

Creates emergency dial request to cce call object

Parameters

const TPEPhoneNumber & aEmergencyNumber an emergency number to dial

DisableFDNCheck()

void DisableFDNCheck ( )

Disables FDN checking for SIM ATK originated calls

ForwardCallToAddress(TInt)

TInt ForwardCallToAddress ( TInt aIndex )

Starts call forwarding to selected address.

Parameters

TInt aIndex Address index.

GetCallInfo(RMobileCall::TMobileCallInfoV3 &)

TInt GetCallInfo ( RMobileCall::TMobileCallInfoV3 & aCallInfo )

Offers call parameters

Parameters

RMobileCall::TMobileCallInfoV3 & aCallInfo the current call information.

GetMissedCall(TBool &)

TInt GetMissedCall ( TBool & aMissedCall ) const

Gets Missed call indicator.

Parameters

TBool & aMissedCall

HangUp()

TInt HangUp ( )

Creates hangup request to cce call object

Hold()

TInt Hold ( )

Gets call control caps

IsSecureCall()

TBool IsSecureCall ( ) const

Get call's secure status.

NewL(MPEMessageSender &)

CPESingleCall * NewL ( MPEMessageSender & aOwner ) [static]

Two-phased constructor.

Parameters

MPEMessageSender & aOwner

RejectUnattendedTransfer()

TInt RejectUnattendedTransfer ( )

Rejects unattended transfer request.

Resume()

TInt Resume ( )

Creates resume request to cce call object

SecureSpecified()

TBool SecureSpecified ( ) const

Get call's secure specified status.

SendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine)

void SendMessage ( const MEngineMonitor::TPEMessagesFromPhoneEngine aMessage ) [virtual]

Reroutes call messages from other objects to CPEPhoneData object.

SetMissedCall(TBool)

void SetMissedCall ( TBool aMissed ) [virtual]

Sets Missed call indicator.

Parameters

TBool aMissed

Swap()

TInt Swap ( )

Creates swap request to cce call object

Tone()

TCCPTone Tone ( )

Returns the inband tone needed to play in state transition

Transfer(const TDesC &)

void Transfer ( const TDesC & aTransferTarget )

Creates transfer request to cce call object

Parameters

const TDesC & aTransferTarget

UnattendedTransfer(const TDesC &)

TInt UnattendedTransfer ( const TDesC & aTransferTo ) const

Creates unattended transfer request to cce call object

Parameters

const TDesC & aTransferTo Target address of the transfer

Member Data Documentation

RMobileCall::TMobileCallInfoV3 iCallInfo

RMobileCall::TMobileCallInfoV3 iCallInfo [protected]

TBool iMissedCall

TBool iMissedCall [protected]

RTelServer::TPhoneInfo iPhoneInfo

RTelServer::TPhoneInfo iPhoneInfo [protected]