CPcCardSender Class Reference

class CPcCardSender : public CActive

Writer Active object class Queues buffers for transmit

Inherits from

Constructor & Destructor Documentation

CPcCardSender()

CPcCardSender()[private]

Constructor.

~CPcCardSender()

~CPcCardSender()

Destructor. Could be buffers on the transmit queue, free them as this class should be sole owner.

Member Functions Documentation

DoCancel()

voidDoCancel()[private, virtual]

cancellation of an outstanding request.

EmptyQueue()

voidEmptyQueue()

Free all queued buffers. Should be safe as this class owns them

InitL(CPcCardControlEngine *)

voidInitL(CPcCardControlEngine *aParent)[private]

Add the newly created object to an object container.

Parameters

CPcCardControlEngine * aParentPointer to the parent CPcCardControlEngine class.

NewL(CPcCardControlEngine *)

CPcCardSender *NewL(CPcCardControlEngine *aParent)[static]

Standard CActive construction.

Parameters

CPcCardControlEngine * aParentPointer to the parent CPcCardControlEngine class.

RunL()

voidRunL()[private, virtual]

Write completion from the LDD. Pseudo transmit interrupt handler

Send(CIOBuffer *)

TInt Send(CIOBuffer *aBuffer)

Writes the data to buffer.

Parameters

CIOBuffer * aBufferThe data to be send.

Member Data Documentation

CPcCardControlEngine * iParent

CPcCardControlEngine *iParent[private]

TInt iQueueLength

TInt iQueueLength[private]

TBool iStopSending

TBool iStopSending[private]

TSglQue< CIOBuffer > iTxQueue

TSglQue< CIOBuffer >iTxQueue[private]