TSensrvTailIndexItem Class Reference

class TSensrvTailIndexItem

Listener tail index item. Also stores data lost count for that listener.

Since
S60 5.0

Constructor & Destructor Documentation

TSensrvTailIndexItem(CSensrvChannelListener *)

TSensrvTailIndexItem ( CSensrvChannelListener * aListener ) [inline]

Parameters

CSensrvChannelListener * aListener

Member Data Documentation

TBool iConditionDataAvailable

TBool iConditionDataAvailable

Indicates if listener has unevaluated data. Needed to separate between no data and data starting from head index, as in both cases tail will be at head index.

TInt iConditionTailIndex

TInt iConditionTailIndex

Tail index to buffer, indicating the next valid data for condition listening. If tail index is same as buffer head index, then there is no valid data.

TBool iDataAvailable

TBool iDataAvailable

Indicates if listener has unread data. Needed to separate between no data and data starting from head index, as in both cases tail will be at head index.

TInt iDataLostCount

TInt iDataLostCount

Number of data items lost to buffer overwrite since last time data was read by this listener.

TInt iDataTailIndex

TInt iDataTailIndex

Tail index to buffer, indicating the next valid data for data listening. If tail index is same as buffer head index, then there is no valid data.

CSensrvChannelListener * iListener

CSensrvChannelListener * iListener

Listener for which this index is. Not own.