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()

void DoCancel ( ) [private, virtual]

cancellation of an outstanding request.

EmptyQueue()

void EmptyQueue ( )

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

InitL(CPcCardControlEngine *)

void InitL ( CPcCardControlEngine * aParent ) [private]

Add the newly created object to an object container.

Parameters

CPcCardControlEngine * aParent Pointer to the parent CPcCardControlEngine class.

NewL(CPcCardControlEngine *)

CPcCardSender * NewL ( CPcCardControlEngine * aParent ) [static]

Standard CActive construction.

Parameters

CPcCardControlEngine * aParent Pointer to the parent CPcCardControlEngine class.

RunL()

void RunL ( ) [private, virtual]

Write completion from the LDD. Pseudo transmit interrupt handler

Send(CIOBuffer *)

TInt Send ( CIOBuffer * aBuffer )

Writes the data to buffer.

Parameters

CIOBuffer * aBuffer The 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]