TVccState Class Reference

class TVccState

The base class for VCC state machine implementation. Contains default implementations for the functions.

vccperformer.dll
Since
S60 3.2
Public Member Functions
voidAddObserverL(const MCCPCallObserver &, MCCPCall &)
TInt Answer(MCCPCall &)
voidCallCapsChanged(CVccPerformer &, const TUint32, MCCPCall *)
voidCallEventOccurred(CVccPerformer &, const MCCPCallObserver::TCCPCallEvent, MCCPCall *)
voidCallStateChanged(CVccPerformer &, const MCCPCallObserver::TCCPCallState, MCCPCall *)
voidCallStateChangedWithInband(CVccPerformer &, const MCCPCallObserver::TCCPCallState, MCCPCall *)
TInt Cancel(MCCPCall &)
MCCPCallObserver::TCCPCallControlCaps Caps(const MCCPCall &)
TInt Dial(MCCPCall &)
TInt Dial(const TDesC8 &, MCCPCSCall &)
const TDesC &DialledParty(const MCCPCall &)
voidErrorOccurred(CVccPerformer &, const TCCPError, MCCPCall *)
TInt GetMobileCallInfo(TDes8 &, const MCCPCSCall &)
TInt GetMobileDataCallCaps(TDes8 &, const MCCPCSCall &)
TInt HangUp(CVccPerformer &, MCCPCall &)
TInt Hold(MCCPCall &)
TBool IsCallForwarded(const MCCPCall &)
TBool IsMobileOriginated(const MCCPCall &)
TBool IsSecured(const MCCPCall &)
TBool LogDialedNumber(const MCCPCSCall &)
TUint Name()
voidNoFDNCheck(MCCPCSCall &)
const CCCPCallParameters &Parameters(const MCCPCall &)
TInt Queue(MCCPCall &)
TInt Reject(MCCPCall &)
TInt ReleaseCall(MCCPCall &, RPointerArray< CConvergedCallProvider > &)
const TDesC &RemoteParty(const MCCPCall &)
TInt RemoveObserver(const MCCPCallObserver &, MCCPCall &)
TInt Resume(MCCPCall &)
TInt Ringing(MCCPCall &)
TBool SecureSpecified(const MCCPCall &)
voidSetParameters(const CCCPCallParameters &)
MCCPCallObserver::TCCPCallState State(const MCCPCall &)
TInt Swap(MCCPCall &)
TInt SwitchAlternatingCall(MCCPCSCall &)
voidSwitchL(CVccPerformer &)
TCCPTone Tone(const MCCPCall &)
Protected Member Functions
TVccState()
TInt ReleaseCall(CVccPerformer &, MCCPCall &, TVccState &, TUint)

Constructor & Destructor Documentation

TVccState()

TVccState()[protected]

C++ Constructor

Member Functions Documentation

AddObserverL(const MCCPCallObserver &, MCCPCall &)

voidAddObserverL(const MCCPCallObserver &aObserver,
MCCPCall &aCall
)[virtual]
Adds a new observer for MCCECall object. Called in MT call case. In MO case observer will be given at call construction. Plug-in dependent feature if duplicates or more than one observers are allowed or not. Currently CCE will set only one observer.
Since
S60 v3.2
leave
system error if observer adding fails

Parameters

const MCCPCallObserver & aObserverObserver
MCCPCall & aCallReference to a call object

Answer(MCCPCall &)

TInt Answer(MCCPCall &aCall)[virtual]
Answers to an incoming call.
Since
S60 3.2

Parameters

MCCPCall & aCallReference to a call object

CallCapsChanged(CVccPerformer &, const TUint32, MCCPCall *)

voidCallCapsChanged(CVccPerformer &aContext,
const TUint32aCapsFlags,
MCCPCall *aCall
)[virtual]
Notifies changed call capabilities.
Since
S60 3.2

Parameters

CVccPerformer & aContextReference to Performer object
const TUint32 aCapsFlagsNew capabilities for the call
MCCPCall * aCallReference to a call object

CallEventOccurred(CVccPerformer &, const MCCPCallObserver::TCCPCallEvent, MCCPCall *)

voidCallEventOccurred(CVccPerformer &aContext,
const MCCPCallObserver::TCCPCallEventaEvent,
MCCPCall *aCall
)[virtual]
An event has occurred concerning a specific call.
Since
S60 3.2

Parameters

CVccPerformer & aContextReference to Performer object
const MCCPCallObserver::TCCPCallEvent aEventOccurred event.
MCCPCall * aCallReference to a call object

CallStateChanged(CVccPerformer &, const MCCPCallObserver::TCCPCallState, MCCPCall *)

voidCallStateChanged(CVccPerformer &aContext,
const MCCPCallObserver::TCCPCallStateaState,
MCCPCall *aCall
)[virtual]
The state of the call has changed.
Since
S60 3.2

Parameters

CVccPerformer & aContextReference to Performer object
const MCCPCallObserver::TCCPCallState aStateCall state.
MCCPCall * aCallReference to a call object

CallStateChangedWithInband(CVccPerformer &, const MCCPCallObserver::TCCPCallState, MCCPCall *)

voidCallStateChangedWithInband(CVccPerformer &aContext,
const MCCPCallObserver::TCCPCallStateaState,
MCCPCall *aCall
)[virtual]
The state of the call has changed with inband tone, meaning network is playing the tone relating to the state.
Since
S60 3.2

Parameters

CVccPerformer & aContextReference to Performer object
const MCCPCallObserver::TCCPCallState aStateCall state.
MCCPCall * aCallReference to a call object

Cancel(MCCPCall &)

TInt Cancel(MCCPCall &aCall)[virtual]
Cancels the ongoing request
Since
S60 3.2

Parameters

MCCPCall & aCallReference to a call object

Caps(const MCCPCall &)

MCCPCallObserver::TCCPCallControlCaps Caps(const MCCPCall &aCall)const [virtual]
Returns call control caps for this call. This tells for CCE what call can currently do.
Since
S60 3.2

Parameters

const MCCPCall & aCallReference to a call object

Dial(MCCPCall &)

TInt Dial(MCCPCall &aCall)[virtual]
Starts dialing to recipient
Since
S60 3.2

Parameters

MCCPCall & aCallReference to a call object

Dial(const TDesC8 &, MCCPCSCall &)

TInt Dial(const TDesC8 &aCallParams,
MCCPCSCall &aCall
)[virtual]
Starts dialing to recipient
Since
S60 3.2
Pre-condition
Call state is MCCPCallObserver::ECCPStateIdle and call type is MO.
Since
S60 3.2

Parameters

const TDesC8 & aCallParamsThe call parameters used by the TSY (a TCallParamsPckg object)
MCCPCSCall & aCallReference to a call object

DialledParty(const MCCPCall &)

const TDesC &DialledParty(const MCCPCall &aCall)const [virtual]
Returns the dialled party information.
Since
S60 3.2

Parameters

const MCCPCall & aCallReference to a call object

ErrorOccurred(CVccPerformer &, const TCCPError, MCCPCall *)

voidErrorOccurred(CVccPerformer &aContext,
const TCCPErroraError,
MCCPCall *aCall
)[virtual]
An error has occurred concerning a specific call.
Since
S60 3.2

Parameters

CVccPerformer & aContextReference to Performer object
const TCCPError aErrorError code.
MCCPCall * aCallReference to a call object

GetMobileCallInfo(TDes8 &, const MCCPCSCall &)

TInt GetMobileCallInfo(TDes8 &aCallInfo,
const MCCPCSCall &aCall
)const [virtual]
Returns call information
Since
S60 3.2

Parameters

TDes8 & aCallInfoTMobileCallInfoV3
const MCCPCSCall & aCallReference to a call object

GetMobileDataCallCaps(TDes8 &, const MCCPCSCall &)

TInt GetMobileDataCallCaps(TDes8 &aCaps,
const MCCPCSCall &aCall
)const [virtual]
Gets the calls data call capabilities
Since
S60 3.2

Parameters

TDes8 & aCapsTMobileCallDataCapsV1
const MCCPCSCall & aCallReference to a call object

HangUp(CVccPerformer &, MCCPCall &)

TInt HangUp(CVccPerformer &aContext,
MCCPCall &aCall
)[virtual]
Ends an ongoing call.
Since
S60 3.2

Parameters

CVccPerformer & aContextReference to a Performer object
MCCPCall & aCallReference to a call object

Hold(MCCPCall &)

TInt Hold(MCCPCall &aCall)[virtual]
Puts the specified call on hold.
Since
S60 3.2

Parameters

MCCPCall & aCallReference to a call object

IsCallForwarded(const MCCPCall &)

TBool IsCallForwarded(const MCCPCall &aCall)const [virtual]
Return boolean value if the incoming call is forwarded or not.
Since
S60 3.2

Parameters

const MCCPCall & aCallReference to a call object

IsMobileOriginated(const MCCPCall &)

TBool IsMobileOriginated(const MCCPCall &aCall)const [virtual]
Returns boolean value if the call is mobile originated or not.
Since
S60 3.2

Parameters

const MCCPCall & aCallReference to a call object

IsSecured(const MCCPCall &)

TBool IsSecured(const MCCPCall &aCall)const [virtual]
Get call's secure status.
Since
Series 60 3.2

Parameters

const MCCPCall & aCallReference to a call object

LogDialedNumber(const MCCPCSCall &)

TBool LogDialedNumber(const MCCPCSCall &aCall)const [virtual]
Log dialed number. SAT related, check if dialed number is to be logged or not.
Since
S60 3.2

Parameters

const MCCPCSCall & aCallReference to a call object

Name()

TUint Name()const [pure virtual]
Gets the state name.
Since
Series60 3.2

NoFDNCheck(MCCPCSCall &)

voidNoFDNCheck(MCCPCSCall &aCall)[virtual]
Instruct to do no FDN checking when dialling. Needs to be called before every dial for each call separately. If this method is not called at all default is to use FDN. Value will be reset to default when call goes back to disconnected state.
Since
S60 v3.2

Parameters

MCCPCSCall & aCallReference to a call object

Parameters(const MCCPCall &)

const CCCPCallParameters &Parameters(const MCCPCall &aCall)const [virtual]
Cet call parameters.
Since
S60 3.2

Parameters

const MCCPCall & aCallReference to a call object

Queue(MCCPCall &)

TInt Queue(MCCPCall &aCall)[virtual]
Reguests plug-in to queue the call.
Since
S60 3.2

Parameters

MCCPCall & aCallReference to a call object

Reject(MCCPCall &)

TInt Reject(MCCPCall &aCall)[virtual]
Rejects an incoming call.
Since
S60 3.2

Parameters

MCCPCall & aCallReference to a call object

ReleaseCall(MCCPCall &, RPointerArray< CConvergedCallProvider > &)

TInt ReleaseCall(MCCPCall &aCall,
RPointerArray< CConvergedCallProvider > &aProvs
)[virtual]
Releases call
Since
Series60 3.2

Parameters

MCCPCall & aCallCall to be removed
RPointerArray< CConvergedCallProvider > & aProvsReference to call provider array

ReleaseCall(CVccPerformer &, MCCPCall &, TVccState &, TUint)

TInt ReleaseCall(CVccPerformer &aContext,
MCCPCall &aCall,
TVccState &aState,
TUintaHoValue
)[protected]
Releases ongoing call.
Since
Series60 3.2

Parameters

CVccPerformer & aContextReference to Performer object
MCCPCall & aCallReference to a call object
TVccState & aStateNext call state
TUint aHoValueWas the handover succesfull or not succesfull

RemoteParty(const MCCPCall &)

const TDesC &RemoteParty(const MCCPCall &aCall)const [virtual]
Returns the remote party of the call.
Since
S60 3.2

Parameters

const MCCPCall & aCallReference to a call object

RemoveObserver(const MCCPCallObserver &, MCCPCall &)

TInt RemoveObserver(const MCCPCallObserver &aObserver,
MCCPCall &aCall
)[virtual]
Remove an observer.
Since
S60 v3.2

Parameters

const MCCPCallObserver & aObserverObserver
MCCPCall & aCallReference to a call object

Resume(MCCPCall &)

TInt Resume(MCCPCall &aCall)[virtual]
Resumes the call.
Since
S60 3.2

Parameters

MCCPCall & aCallReference to a call object

Ringing(MCCPCall &)

TInt Ringing(MCCPCall &aCall)[virtual]
Call is ringing
Since
S60 3.2

Parameters

MCCPCall & aCallReference to a call object

SecureSpecified(const MCCPCall &)

TBool SecureSpecified(const MCCPCall &aCall)const [virtual]
Return if call secure status is specified or not.
Since
Series 60 5.0

Parameters

const MCCPCall & aCall

SetParameters(const CCCPCallParameters &)

voidSetParameters(const CCCPCallParameters &aNewParams)[virtual]
Set call parameters.
Since
S60 3.2

Parameters

const CCCPCallParameters & aNewParamsNew call paramater information.

State(const MCCPCall &)

MCCPCallObserver::TCCPCallState State(const MCCPCall &aCall)const [virtual]
Returns the state of the call.
Since
S60 3.2

Parameters

const MCCPCall & aCallReference to a call object

Swap(MCCPCall &)

TInt Swap(MCCPCall &aCall)[virtual]
Swaps a connected call to its opposite state, either active or on hold
Since
S60 3.2

Parameters

MCCPCall & aCallReference to a call object

SwitchAlternatingCall(MCCPCSCall &)

TInt SwitchAlternatingCall(MCCPCSCall &aCall)[virtual]
Switch in the alternating call mode of an alternating call
Since
S60 3.2

Parameters

MCCPCSCall & aCallReference to a call object

SwitchL(CVccPerformer &)

voidSwitchL(CVccPerformer &aContext)[virtual]
Initiates a handover
Since
Series60 3.2
leave
Symbian error code in error case.

Parameters

CVccPerformer & aContextReference to Performer object

Tone(const MCCPCall &)

TCCPTone Tone(const MCCPCall &aCall)const [virtual]
Returns currently used tone for the call. Used in case tones are needed to be played. See defenition for TCCPTone.
Since
S60 3.2

Parameters

const MCCPCall & aCallReference to a call object