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
void AddObserverL (const MCCPCallObserver &, MCCPCall &)
TInt Answer ( MCCPCall &)
void CallCapsChanged ( CVccPerformer &, const TUint32 , MCCPCall *)
void CallEventOccurred ( CVccPerformer &, const MCCPCallObserver::TCCPCallEvent , MCCPCall *)
void CallStateChanged ( CVccPerformer &, const MCCPCallObserver::TCCPCallState , MCCPCall *)
void CallStateChangedWithInband ( 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 &)
void ErrorOccurred ( 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 ()
void NoFDNCheck ( 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 &)
void SetParameters (const CCCPCallParameters &)
MCCPCallObserver::TCCPCallState State (const MCCPCall &)
TInt Swap ( MCCPCall &)
TInt SwitchAlternatingCall ( MCCPCSCall &)
void SwitchL ( 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 &)

void AddObserverL ( 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 & aObserver Observer
MCCPCall & aCall Reference to a call object

Answer(MCCPCall &)

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

Parameters

MCCPCall & aCall Reference to a call object

CallCapsChanged(CVccPerformer &, const TUint32, MCCPCall *)

void CallCapsChanged ( CVccPerformer & aContext,
const TUint32 aCapsFlags,
MCCPCall * aCall
) [virtual]
Notifies changed call capabilities.
Since
S60 3.2

Parameters

CVccPerformer & aContext Reference to Performer object
const TUint32 aCapsFlags New capabilities for the call
MCCPCall * aCall Reference to a call object

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

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

Parameters

CVccPerformer & aContext Reference to Performer object
const MCCPCallObserver::TCCPCallEvent aEvent Occurred event.
MCCPCall * aCall Reference to a call object

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

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

Parameters

CVccPerformer & aContext Reference to Performer object
const MCCPCallObserver::TCCPCallState aState Call state.
MCCPCall * aCall Reference to a call object

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

void CallStateChangedWithInband ( CVccPerformer & aContext,
const MCCPCallObserver::TCCPCallState aState,
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 & aContext Reference to Performer object
const MCCPCallObserver::TCCPCallState aState Call state.
MCCPCall * aCall Reference to a call object

Cancel(MCCPCall &)

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

Parameters

MCCPCall & aCall Reference 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 & aCall Reference to a call object

Dial(MCCPCall &)

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

Parameters

MCCPCall & aCall Reference 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 & aCallParams The call parameters used by the TSY (a TCallParamsPckg object)
MCCPCSCall & aCall Reference 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 & aCall Reference to a call object

ErrorOccurred(CVccPerformer &, const TCCPError, MCCPCall *)

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

Parameters

CVccPerformer & aContext Reference to Performer object
const TCCPError aError Error code.
MCCPCall * aCall Reference 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 & aCallInfo TMobileCallInfoV3
const MCCPCSCall & aCall Reference 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 & aCaps TMobileCallDataCapsV1
const MCCPCSCall & aCall Reference to a call object

HangUp(CVccPerformer &, MCCPCall &)

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

Parameters

CVccPerformer & aContext Reference to a Performer object
MCCPCall & aCall Reference to a call object

Hold(MCCPCall &)

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

Parameters

MCCPCall & aCall Reference 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 & aCall Reference 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 & aCall Reference 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 & aCall Reference 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 & aCall Reference to a call object

Name()

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

NoFDNCheck(MCCPCSCall &)

void NoFDNCheck ( 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 & aCall Reference 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 & aCall Reference to a call object

Queue(MCCPCall &)

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

Parameters

MCCPCall & aCall Reference to a call object

Reject(MCCPCall &)

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

Parameters

MCCPCall & aCall Reference to a call object

ReleaseCall(MCCPCall &, RPointerArray< CConvergedCallProvider > &)

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

Parameters

MCCPCall & aCall Call to be removed
RPointerArray < CConvergedCallProvider > & aProvs Reference to call provider array

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

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

Parameters

CVccPerformer & aContext Reference to Performer object
MCCPCall & aCall Reference to a call object
TVccState & aState Next call state
TUint aHoValue Was 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 & aCall Reference 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 & aObserver Observer
MCCPCall & aCall Reference to a call object

Resume(MCCPCall &)

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

Parameters

MCCPCall & aCall Reference to a call object

Ringing(MCCPCall &)

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

Parameters

MCCPCall & aCall Reference 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 &)

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

Parameters

const CCCPCallParameters & aNewParams New 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 & aCall Reference 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 & aCall Reference 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 & aCall Reference to a call object

SwitchL(CVccPerformer &)

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

Parameters

CVccPerformer & aContext Reference 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 & aCall Reference to a call object