CCMObjectPool Class Reference
class CCMObjectPool : public CBase
|
Object pool to hold destination implementations and connetion method implementations
The get and remove functions must be used in pairs
Nested Classes and Structures
Constructor & Destructor Documentation
CCMObjectPool(CCmManagerImpl &)
~CCMObjectPool()
~CCMObjectPool
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConnMethodUpdatedL(CCmPluginBaseEng *)
This is called after the new cm have been updated This function updates the Id field
CreateConnectionMethodL(TUint32, TCmPluginInitParam &)
Creates cm and places it into the pool.
CreateConnectionMethodL(TUint32, TCmPluginInitParam &, TUint32)
Creates cm and places it into the pool.
CreateConnectionMethodL(CCmPluginBaseEng *)
Creates cm and places it into the pool.
CreateDestinationL(const TDesC &, TUint32)
Creates a destination if it does not exist.
Parameters
const
TDesC
& aName
|
- name of the destination requested
|
TUint32
aDestId
|
- predefined id for the destination
|
DestinationUpdated(CCmDestinationImpl *)
This is called after the new destination have been updated This function updates the iDestinationId field in the
TObjectPoolDestinationItem
GetConnectionMethodL(TUint32, CCmDestinationImpl *)
Returns a pointer to an allready existing connecton method
GetDestinationL(TUint32)
If the destinaton impl is in the pool returns a pointer to it. If the destinaton impl is not in the pool creates it.
Parameters
TUint32
aDestinationId
|
- ID of the destination requested
|
GetDestinationL(const TDesC &)
If the destinaton impl is in the pool returns a pointer to it. If the destinaton impl is not in the pool creates it.
Parameters
const
TDesC
& aName
|
- name of the destination requested
|
InsertConnectionMethodL(CCmPluginBaseEng *)
Insert cm and places it into the pool. API doesn't use
CCmPluginBase
. So, nothing returns
RemoveConnectionMethodL(CCmPluginBase *)
Removes a connection method impl from the object pool.
RemoveConnectionMethodL(CCmPluginBaseEng *)
Removes a connection method impl from the object pool.
RemoveDestination(CCmDestinationImpl *)
Removes a destination impl from the object pool.
RemoveDestination(CCmDestinationData *)
Removes a destination data from the object pool.
Member Data Documentation
CCmManagerImpl & iCmManagerImpl
RArray< TObjectPoolCMItem > iConnectionMethodArray
RArray< TObjectPoolDestinationItem > iDestinationArray
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.