blob: 3af04f4eda4af517cca1f73cf1a42a4f8a9fedc0 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>oscl_registry_serv_impl.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.18 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
<hr><h1>oscl_registry_serv_impl.h</h1><a href="oscl__registry__serv__impl_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- c++ -*-</span>
00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
00003
00004 <span class="comment">// Oscl Registry Serv Impl</span>
00005
00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
00007
00019 <span class="preprocessor">#ifndef OSCL_REGISTRY_SERV_IMPL_H_INCLUDED</span>
00020 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_REGISTRY_SERV_IMPL_H_INCLUDED</span>
00021 <span class="preprocessor"></span>
00022 <span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span>
00023 <span class="preprocessor">#include "<a class="code" href="osclconfig__proc_8h.html">osclconfig_proc.h</a>"</span>
00024
00025 <span class="preprocessor">#include "<a class="code" href="oscl__registry__types_8h.html">oscl_registry_types.h</a>"</span>
00026
00031 <span class="preprocessor">#include "<a class="code" href="oscl__string_8h.html">oscl_string.h</a>"</span>
00032 <span class="preprocessor">#include "<a class="code" href="oscl__vector_8h.html">oscl_vector.h</a>"</span>
00033 <span class="preprocessor">#include "<a class="code" href="oscl__mem_8h.html">oscl_mem.h</a>"</span>
00034
<a name="l00038"></a><a class="code" href="classOsclComponentRegistryElement.html">00038</a> <span class="keyword">class </span><a class="code" href="classOsclComponentRegistryElement.html">OsclComponentRegistryElement</a>
00039 {
00040 <span class="keyword">public</span>:
00041 <a class="code" href="classOsclComponentRegistryElement.html#a0">OsclComponentRegistryElement</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&amp;, <a class="code" href="group__osclutil.html#a0">OsclComponentFactory</a>);
00042 <a class="code" href="classOsclComponentRegistryElement.html#a0">OsclComponentRegistryElement</a>(<span class="keyword">const</span> <a class="code" href="classOsclComponentRegistryElement.html">OsclComponentRegistryElement</a>&amp;);
00043 <a class="code" href="classOsclComponentRegistryElement.html">OsclComponentRegistryElement</a>&amp; <a class="code" href="classOsclComponentRegistryElement.html#a2">operator=</a>(<span class="keyword">const</span> <a class="code" href="classOsclComponentRegistryElement.html">OsclComponentRegistryElement</a>&amp; src);
00044 <a class="code" href="classOsclComponentRegistryElement.html#a3">~OsclComponentRegistryElement</a>();
00045
00046 <span class="keywordtype">bool</span> <a class="code" href="classOsclComponentRegistryElement.html#a4">Match</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&amp; aStr, <span class="keywordtype">bool</span> aExact);
00047
<a name="l00048"></a><a class="code" href="classOsclComponentRegistryElement.html#m0">00048</a> <a class="code" href="classOSCL__String.html">OSCL_String</a>* <a class="code" href="classOsclComponentRegistryElement.html#m0">iId</a>;<span class="comment">//use a pointer here instead of a container for efficiency</span>
00049 <span class="comment">//since this element is used in an oscl vector.</span>
<a name="l00050"></a><a class="code" href="classOsclComponentRegistryElement.html#m1">00050</a> <a class="code" href="group__osclutil.html#a0">OsclComponentFactory</a> <a class="code" href="classOsclComponentRegistryElement.html#m1">iFactory</a>;
<a name="l00051"></a><a class="code" href="classOsclComponentRegistryElement.html#m2">00051</a> uint32 <a class="code" href="classOsclComponentRegistryElement.html#m2">iComponentId</a>;
00052 };
00053
00054
<a name="l00058"></a><a class="code" href="classOsclComponentRegistryData.html">00058</a> <span class="keyword">class </span><a class="code" href="classOsclComponentRegistryData.html">OsclComponentRegistryData</a>
00059 {
00060 <span class="keyword">public</span>:
00061 <a class="code" href="classOsclComponentRegistryElement.html">OsclComponentRegistryElement</a>* <a class="code" href="classOsclComponentRegistryData.html#a0">Find</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&amp;, <span class="keywordtype">bool</span> aExact);
<a name="l00062"></a><a class="code" href="classOsclComponentRegistryData.html#m0">00062</a> <a class="code" href="classOscl__Vector.html">Oscl_Vector&lt;OsclComponentRegistryElement, OsclMemAllocator&gt;</a> <a class="code" href="classOsclComponentRegistryData.html#m0">iVec</a>;
00063 };
00064
00068 <span class="preprocessor">#include "<a class="code" href="oscl__mutex_8h.html">oscl_mutex.h</a>"</span>
<a name="l00069"></a><a class="code" href="classOsclComponentRegistry.html">00069</a> <span class="keyword">class </span><a class="code" href="classOsclComponentRegistry.html">OsclComponentRegistry</a>
00070 {
00071 <span class="keyword">public</span>:
00072 <a class="code" href="classOsclComponentRegistry.html#a0">OsclComponentRegistry</a>();
00073 <a class="code" href="classOsclComponentRegistry.html#a1">~OsclComponentRegistry</a>();
00074 int32 <a class="code" href="classOsclComponentRegistry.html#a2">Register</a>(uint32&amp; aId, <a class="code" href="classOSCL__String.html">OSCL_String</a>&amp;, <a class="code" href="group__osclutil.html#a0">OsclComponentFactory</a>);
00075 int32 <a class="code" href="classOsclComponentRegistry.html#a3">Unregister</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&amp;);
00076 int32 <a class="code" href="classOsclComponentRegistry.html#a3">Unregister</a>(uint32);
00077 <a class="code" href="group__osclutil.html#a0">OsclComponentFactory</a> <a class="code" href="classOsclComponentRegistry.html#a5">FindExact</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&amp;);
00078 <span class="keywordtype">void</span> <a class="code" href="classOsclComponentRegistry.html#a6">FindHierarchical</a>(<a class="code" href="classOSCL__String.html">OSCL_String</a>&amp; , <a class="code" href="classOscl__Vector.html">Oscl_Vector&lt;OsclRegistryAccessElement, OsclMemAllocator&gt;</a>&amp;);
00079 <span class="keywordtype">void</span> <a class="code" href="classOsclComponentRegistry.html#a7">OpenSession</a>();
00080 <span class="keywordtype">void</span> <a class="code" href="classOsclComponentRegistry.html#a8">CloseSession</a>();
00081
<a name="l00082"></a><a class="code" href="classOsclComponentRegistry.html#m0">00082</a> <a class="code" href="classOsclComponentRegistryData.html">OsclComponentRegistryData</a> <a class="code" href="classOsclComponentRegistry.html#m0">iData</a>;
<a name="l00083"></a><a class="code" href="classOsclComponentRegistry.html#m1">00083</a> <a class="code" href="classOsclMutex.html">OsclMutex</a> <a class="code" href="classOsclComponentRegistry.html#m1">iMutex</a>;
00084
<a name="l00085"></a><a class="code" href="classOsclComponentRegistry.html#m2">00085</a> uint32 <a class="code" href="classOsclComponentRegistry.html#m2">iComponentIdCounter</a>;
00086
<a name="l00087"></a><a class="code" href="classOsclComponentRegistry.html#m3">00087</a> uint32 <a class="code" href="classOsclComponentRegistry.html#m3">iNumSessions</a>;
00088 };
00089
00090
00091 <span class="preprocessor">#endif //OSCL_REGISTRY_IMPL_H_INCLUDED</span>
00092 <span class="preprocessor"></span>
</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
</small></address>
</body>
</html>