COpenWfcStreamMap Class Reference
class COpenWfcStreamMap : public CBase |
Nested Classes and Structures
Constructor & Destructor Documentation
COpenWfcStreamMap()
COpenWfcStreamMap | ( | ) | [protected] |
COpenWfcStreamMap(const COpenWfcStreamMap &)
~COpenWfcStreamMap()
~COpenWfcStreamMap | ( | ) | [protected] |
Member Functions Documentation
AcquireL(const TSurfaceId &)
Look up a specified TSurfaceId key in the associative array and return a pointer to the corresponding to a native stream. The reference of the native stream is incremented by one. If no native stream is found a new native stream instance is created.
Parameters
const TSurfaceId & aSurfaceId | The TSurfaceId key to look up |
ConstructL()
void | ConstructL | ( | ) | [private] |
Symbian constructor used with two stage construction pattern
Count()
Query the number of elements stored in the stream hash map.
DeleteSingleton(TAny *)
TInt
| DeleteSingleton | ( | TAny * | aData | ) | [private, static] |
aData A pointer to the heap registered for this callback
Find(const TSurfaceId &)
Look up a specified TSurfaceId key in the associative array and return a pointer to the corresponding to a native stream. The reference counter of the native stream is incremented by one.
Parameters
const TSurfaceId & aSurfaceId | The TSurfaceId key to look up |
GetMainHeap()
IMPORT_C RHeap * | GetMainHeap | ( | ) | |
Returns a pointer to the main heap
HashFunction(const TSurfaceId &)
Parameters
const TSurfaceId & aHashKey | The 64-bit key to be hashed. |
InstanceL()
Returns a reference to the singleton instance.
LockDestroy(CSurfaceStream *)
Destroys the specified native stream IF the native stream reference counter is zero. The counter reference of the native stream is tested prior its destruction and if positive the destruction will not happen
RegisterScreenNotifications(TInt, TInt, TInt)
TInt
| RegisterScreenNotifications | ( | TInt | aScreenNum, |
| TInt | aPriority, |
| TInt | aInternalVersion |
| ) | |
Register a screen number for surface update notifications.
Parameters
TInt aScreenNum | The screen for which we enable the notification mechanism |
TInt aPriority | The internal version |
TInt aInternalVersion | |
RegisteredScreenNotifications(TInt)
Retieves the screen updater associate with the specified screen
Parameters
TInt aScreenNum | The screen number |
Reserve(TInt)
Expands the array to accommodate a specified number of key-value pairs. If the hash map already has enough space for the specified number of elements, no action is taken. Any elements already in the map are retained.
Parameters
TInt aExpand | The number of key-value pairs for which space should be allocated. |
SurfaceManager()
Returns a reference to the surface manager.
UnregisterScreenNotifications(TInt)
TInt
| UnregisterScreenNotifications | ( | TInt | aScreenNum | ) | |
Unregister the screen updater
Parameters
TInt aScreenNum | The screen number |
operator=(const COpenWfcStreamMap &)
Member Data Documentation
const TInt iInitialSize
const TInt | iInitialSize | [private, static] |
RHeap * iMainHeap
RHeap * | iMainHeap | [private] |
RHashMap< TSurfaceId, CSurfaceStream * > iMap
RFastLock
iMutex
Mutex used for controlling the access to the native streams map
RHashMap< TInt32, CExtensionContainer * > iRegisteredUpdaters
MSurfaceUpdateServerProvider * iSurfUpdateServ
RSurfaceManager
iSurfaceManager
COpenWfcStreamMap * pInstance
Singleton instance placeholder
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.