CSwitchRoleCommand Class Reference

class CSwitchRoleCommand

This class represents the SwitchRole HCI Command

Public Member Functions
~CSwitchRoleCommand()
IMPORT_C TBTDevAddrBDADDR()
TInt Extension_(TUint, TAny *&, TAny *)
voidMatch(const THCIEventBase &, TBool &, TBool &, TBool &)
IMPORT_C CSwitchRoleCommand *NewL(const TBTDevAddr &, TUint8)
IMPORT_C CSwitchRoleCommand *NewL()
IMPORT_C voidReset(const TBTDevAddr &, TUint8)
IMPORT_C TUint8Role()
Private Member Functions
CSwitchRoleCommand(const TBTDevAddr &, TUint8)
CSwitchRoleCommand()
voidFormat(CHctlCommandFrame &)
Private Attributes
TBTDevAddr iBDADDR
TUint8 iRole

Constructor & Destructor Documentation

CSwitchRoleCommand(const TBTDevAddr &, TUint8)

CSwitchRoleCommand(const TBTDevAddr &aBDADDR,
TUint8aRole
)[private]

Parameters

const TBTDevAddr & aBDADDR
TUint8 aRole

CSwitchRoleCommand()

CSwitchRoleCommand()[private]

~CSwitchRoleCommand()

~CSwitchRoleCommand()

Member Functions Documentation

BDADDR()

IMPORT_C TBTDevAddrBDADDR()const

Extension_(TUint, TAny *&, TAny *)

TInt Extension_(TUintaExtensionId,
TAny *&aInterface,
TAny *aData
)[virtual]

Parameters

TUint aExtensionId
TAny *& aInterface
TAny * aData

Format(CHctlCommandFrame &)

voidFormat(CHctlCommandFrame &aCommandFrame)const [private, virtual]

Parameters

CHctlCommandFrame & aCommandFrame

Match(const THCIEventBase &, TBool &, TBool &, TBool &)

voidMatch(const THCIEventBase &aEvent,
TBool &aMatchesCmd,
TBool &aConcludesCmd,
TBool &aContinueMatching
)const [virtual]

Parameters

const THCIEventBase & aEvent
TBool & aMatchesCmd
TBool & aConcludesCmd
TBool & aContinueMatching

NewL(const TBTDevAddr &, TUint8)

IMPORT_C CSwitchRoleCommand *NewL(const TBTDevAddr &aBDADDR,
TUint8aRole
)[static]

Parameters

const TBTDevAddr & aBDADDR
TUint8 aRole

NewL()

IMPORT_C CSwitchRoleCommand *NewL()[static]

Reset(const TBTDevAddr &, TUint8)

IMPORT_C voidReset(const TBTDevAddr &aBDADDR,
TUint8aRole
)

Parameters

const TBTDevAddr & aBDADDR
TUint8 aRole

Role()

IMPORT_C TUint8Role()const

Member Data Documentation

TBTDevAddr iBDADDR

TBTDevAddr iBDADDR[private]

TUint8 iRole

TUint8 iRole[private]