Main Page   Modules   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

OsclRegistryClient Class Reference
[OSCL Util]

#include <oscl_registry_client.h>

Inheritance diagram for OsclRegistryClient:

HeapBase _OsclHeapBase

Public Methods

OSCL_IMPORT_REF OsclRegistryClient ()
OSCL_IMPORT_REF ~OsclRegistryClient ()
OSCL_IMPORT_REF int32 Connect (bool aPerThread=false)
OSCL_IMPORT_REF int32 Register (OSCL_String &aComponentID, OsclComponentFactory aFactory)
OSCL_IMPORT_REF int32 UnRegister (OSCL_String &aComponentID)
OSCL_IMPORT_REF void Close ()

Constructor & Destructor Documentation

OSCL_IMPORT_REF OsclRegistryClient::OsclRegistryClient  
 

OSCL_IMPORT_REF OsclRegistryClient::~OsclRegistryClient  
 


Member Function Documentation

OSCL_IMPORT_REF void OsclRegistryClient::Close  
 

Close and cleanup. All components registered in this session are are automatically unregistered.

OSCL_IMPORT_REF int32 OsclRegistryClient::Connect bool    aPerThread = false
 

Create a session.

Parameters:
aPerThread:  Select per-thread registry instead of global registry.
Returns:
OsclErrNone on success.

OSCL_IMPORT_REF int32 OsclRegistryClient::Register OSCL_String   aComponentID,
OsclComponentFactory    aFactory
 

Register a component factory by registry ID and component ID.

Parameters:
aComponentID:  registry + component mime-string.
aFactory:  factory function pointer.
aParam:  component Create param.
Returns:
OsclErrNone on success.

OSCL_IMPORT_REF int32 OsclRegistryClient::UnRegister OSCL_String   aComponentID
 

Unregister a previously registered component.

Returns:
OsclErrNone on success.


The documentation for this class was generated from the following file:
OSCL API
Posting Version: OPENCORE_20090310