CSensrvPropertyQueue Class Reference

class CSensrvPropertyQueue : public CBase

Property queue. This class ensures that queue and queued items (TSensrvProperty) are allocated from same heap.

Since
S60 5.0

Inherits from

  • CSensrvPropertyQueue

Nested Classes and Structures

Constructor & Destructor Documentation

CSensrvPropertyQueue()

CSensrvPropertyQueue()[private]

C++ constructor

~CSensrvPropertyQueue()

~CSensrvPropertyQueue()[virtual]

Destructor.

Member Functions Documentation

Append(const TSensrvProperty &)

TInt Append(const TSensrvProperty &aProperty)

Adds a copy of a property to the the queue.

Since
S60 5.0

Parameters

const TSensrvProperty & aPropertyThe property to be added.

ConstructL()

voidConstructL()[private]

2nd phase of construction

Since
S60 5.0

First()

TSensrvProperty *First()

Gets pointer to first property from queue.

Since
S60 5.0

IsEmpty()

TBool IsEmpty()[inline]

Checks if queue is empty

Since
S60 5.0

NewL()

CSensrvPropertyQueue *NewL()[static]

Two phase constructor.

RemoveAll()

voidRemoveAll()

Removes and deletes all properties.

Since
S60 5.0

RemoveFirst()

voidRemoveFirst()

Removes and deletes first property from queue.

Since
S60 5.0

Member Data Documentation

RHeap * iHeap

RHeap *iHeap[private]

Heap where the queue resides. Transactions must reside in the same heap. Not own.

TSglQueIter< TLinkablePropertyPtr > iPropertyPtrIter

TSglQueIter< TLinkablePropertyPtr >iPropertyPtrIter[private]

Iterator for property queue

TSglQue< TLinkablePropertyPtr > iPropertyPtrList

TSglQue< TLinkablePropertyPtr >iPropertyPtrList[private]

Holds queued properties. Queued objects are owned.