Factories::CFactoryContainer Class Reference
class Factories::CFactoryContainer : public CBase |
Factory Factory Container class is used to store factory objects of a specific type. It provides basic functionality to find, add and remove factories.
Inherits from
- Factories::CFactoryContainer
Constructor & Destructor Documentation
CFactoryContainer()
IMPORT_C | CFactoryContainer | ( | ) | [protected, explicit] |
~CFactoryContainer()
IMPORT_C | ~CFactoryContainer | ( | ) | |
Destructor - cleanup Factories (delete them all)
Member Functions Documentation
AddL(CFactoryBase &)
Add a factory to this container
FetchNodeInterfaceControlL(TInt)
Iterates through all the held factories and asks them whether they implment the requested interface. As factory containers are not meant to be derived from, this implementation is an accepted deviation from the original semantics of FetchNodeInterfaceControlL.
Parameters
TInt aInterfaceId | The id of the requested interface extension. |
FindFactory(TUid)
Search this factory container for a factory with a matching id
Parameters
TUid aFactoryUid | Id of the factory the caller wishes to find |
FindObject(MFactoryQuery &)
RegisterNotifierL(TUid, const IFactoryNotify &)
Registers a callback for factory container notification
- Exceptions
-
Leaves |
with KErrArgument if the factory specified by aFactoryId is not found
|
IConnectionFactoryNotify
Parameters
TUid aFactoryUid | The Id of the factory that will be registered |
const IFactoryNotify & aFactoryNotify | The IConnectionFactoryNotify object that implements the callback |
Member Data Documentation
RPointerArray< CFactoryBase > iFactories
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.