CHCICommandBase Class Reference

class CHCICommandBase : public CBase

This class defines the basis for specific HCI Commands that are to be sent over the HCI.

Any class that derives from this class must call the BaseConstructL() function during its NewL(), to ensure that the base class is fully initialised.

Inherits from

Constructor & Destructor Documentation

CHCICommandBase(THCIOpcode)

CHCICommandBase(THCIOpcodeaOpcode)[protected]

Parameters

THCIOpcode aOpcode

~CHCICommandBase()

~CHCICommandBase()

Member Functions Documentation

BaseConstructL()

voidBaseConstructL()[protected]

CreditsConsumed()

IMPORT_C TUintCreditsConsumed()const

ExpectsCommandCompleteEvent()

IMPORT_C TBoolExpectsCommandCompleteEvent()const

ExpectsCommandStatusEvent()

IMPORT_C TBoolExpectsCommandStatusEvent()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, pure virtual]

Parameters

CHctlCommandFrame & aCommandFrame

FormatCommand(CHctlCommandFrame &)

IMPORT_C voidFormatCommand(CHctlCommandFrame &aCommandFrame)

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

Opcode()

IMPORT_C THCIOpcodeOpcode()const

SetCreditsConsumed(TUint)

voidSetCreditsConsumed(TUintaConsumedCredits)[protected]

Parameters

TUint aConsumedCredits

SetExpectsCommandCompleteEvent(TBool)

voidSetExpectsCommandCompleteEvent(TBoolaExpectsCmdComplete)[protected]

Parameters

TBool aExpectsCmdComplete

SetExpectsCommandStatusEvent(TBool)

voidSetExpectsCommandStatusEvent(TBoolaExpectsCmdStatus)[protected]

Parameters

TBool aExpectsCmdStatus

Member Data Documentation

CHCICommandBaseExtension * iCommandBaseExtension

CHCICommandBaseExtension *iCommandBaseExtension[protected]

TUint iCreditsConsumed

TUint iCreditsConsumed[private]

TBool iExpectsCommandCompleteEvent

TBool iExpectsCommandCompleteEvent[private]

TBool iExpectsCommandStatusEvent

TBool iExpectsCommandStatusEvent[private]

THCIOpcode iOpcode

THCIOpcode iOpcode[protected]