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 ( THCIOpcode aOpcode ) [protected]

Parameters

THCIOpcode aOpcode

~CHCICommandBase()

~CHCICommandBase ( )

Member Functions Documentation

BaseConstructL()

void BaseConstructL ( ) [protected]

CreditsConsumed()

IMPORT_C TUint CreditsConsumed ( ) const

ExpectsCommandCompleteEvent()

IMPORT_C TBool ExpectsCommandCompleteEvent ( ) const

ExpectsCommandStatusEvent()

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

Parameters

CHctlCommandFrame & aCommandFrame

FormatCommand(CHctlCommandFrame &)

IMPORT_C void FormatCommand ( CHctlCommandFrame & aCommandFrame )

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

Opcode()

IMPORT_C THCIOpcode Opcode ( ) const

SetCreditsConsumed(TUint)

void SetCreditsConsumed ( TUint aConsumedCredits ) [protected]

Parameters

TUint aConsumedCredits

SetExpectsCommandCompleteEvent(TBool)

void SetExpectsCommandCompleteEvent ( TBool aExpectsCmdComplete ) [protected]

Parameters

TBool aExpectsCmdComplete

SetExpectsCommandStatusEvent(TBool)

void SetExpectsCommandStatusEvent ( TBool aExpectsCmdStatus ) [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]