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

# OsclComponentRegistry Class Reference
[OSCL Util]

`#include <oscl_registry_serv_impl.h>`

## Public Methods
| OsclComponentRegistry ()
| ~OsclComponentRegistry ()
int32 | Register (uint32 &aId, OSCL_String &, OsclComponentFactory)
int32 | Unregister (OSCL_String &)
int32 | Unregister (uint32)
OsclComponentFactory | FindExact (OSCL_String &)
void | FindHierarchical (OSCL_String &, Oscl_Vector< OsclRegistryAccessElement, OsclMemAllocator > &)
void | OpenSession ()
void | CloseSession ()
## Data Fields
OsclComponentRegistryData | iData
OsclMutex | iMutex
uint32 | iComponentIdCounter
uint32 | iNumSessions

## Detailed Description

Thread-safe singleton registry object.

## Constructor & Destructor Documentation

OsclComponentRegistry::OsclComponentRegistry | ( |  | ) |

OsclComponentRegistry::~OsclComponentRegistry | ( |  | ) |

## Member Function Documentation

void OsclComponentRegistry::CloseSession | ( |  | ) |

OsclComponentFactory OsclComponentRegistry::FindExact | ( | OSCL_String & |  | ) |

void OsclComponentRegistry::FindHierarchical | ( | OSCL_String & | ,
|  | Oscl_Vector< OsclRegistryAccessElement, OsclMemAllocator > & |
| ) |

void OsclComponentRegistry::OpenSession | ( |  | ) |

int32 OsclComponentRegistry::Register | ( | uint32 & | aId,
|  | OSCL_String & | ,
|  | OsclComponentFactory |
| ) |

int32 OsclComponentRegistry::Unregister | ( | uint32 |  | ) |

int32 OsclComponentRegistry::Unregister | ( | OSCL_String & |  | ) |

## Field Documentation

uint32 OsclComponentRegistry::iComponentIdCounter

OsclComponentRegistryData OsclComponentRegistry::iData

OsclMutex OsclComponentRegistry::iMutex

uint32 OsclComponentRegistry::iNumSessions

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

- oscl_registry_serv_impl.h