CSwitchRoleCommand Class Reference

class CSwitchRoleCommand

This class represents the SwitchRole HCI Command

Constructor & Destructor Documentation

CSwitchRoleCommand(const TBTDevAddr &, TUint8)

CSwitchRoleCommand ( const TBTDevAddr & aBDADDR,
TUint8 aRole
) [private]

Parameters

const TBTDevAddr & aBDADDR
TUint8 aRole

CSwitchRoleCommand()

CSwitchRoleCommand ( ) [private]

~CSwitchRoleCommand()

~CSwitchRoleCommand ( )

Member Functions Documentation

BDADDR()

IMPORT_C TBTDevAddr BDADDR ( ) const

Extension_(TUint, TAny *&, TAny *)

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

Parameters

TUint aExtensionId
TAny *& aInterface
TAny * aData

Format(CHctlCommandFrame &)

void Format ( CHctlCommandFrame & aCommandFrame ) const [private, virtual]

Parameters

CHctlCommandFrame & aCommandFrame

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

void Match ( 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,
TUint8 aRole
) [static]

Parameters

const TBTDevAddr & aBDADDR
TUint8 aRole

NewL()

IMPORT_C CSwitchRoleCommand * NewL ( ) [static]

Reset(const TBTDevAddr &, TUint8)

IMPORT_C void Reset ( const TBTDevAddr & aBDADDR,
TUint8 aRole
)

Parameters

const TBTDevAddr & aBDADDR
TUint8 aRole

Role()

IMPORT_C TUint8 Role ( ) const

Member Data Documentation

TBTDevAddr iBDADDR

TBTDevAddr iBDADDR [private]

TUint8 iRole

TUint8 iRole [private]