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

# OsclSingletonRegistry Class Reference

`#include <oscl_singleton.h>`

## Static Public Methods
OSCL_IMPORT_REF OsclAny * | getInstance (uint32 ID, int32 &error)
OSCL_IMPORT_REF void | registerInstance (OsclAny *ptr, uint32 ID, int32 &error)
OSCL_IMPORT_REF OsclAny * | lockAndGetInstance (uint32 ID, int32 &error)
OSCL_IMPORT_REF void | registerInstanceAndUnlock (OsclAny *ptr, uint32 ID, int32 &error)
## Friends
class | OsclBase

## Member Function Documentation

OSCL_IMPORT_REF OsclAny* OsclSingletonRegistry::getInstance | ( | uint32 | ID,
|  | int32 & | error
| ) | `[static]`

OSCL_IMPORT_REF OsclAny* OsclSingletonRegistry::lockAndGetInstance | ( | uint32 | ID,
|  | int32 & | error
| ) | `[static]`

OSCL_IMPORT_REF void OsclSingletonRegistry::registerInstance | ( | OsclAny * | ptr,
|  | uint32 | ID,
|  | int32 & | error
| ) | `[static]`

OSCL_IMPORT_REF void OsclSingletonRegistry::registerInstanceAndUnlock | ( | OsclAny * | ptr,
|  | uint32 | ID,
|  | int32 & | error
| ) | `[static]`

## Friends And Related Function Documentation

friend class OsclBase`[friend]`

The documentation for this class was generated from the following file:

- oscl_singleton.h