1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3 <title>pvlogger_registry.h Source File</title> 4 <link href="doxygen.css" rel="stylesheet" type="text/css"> 5 </head><body> 6 <!-- Generated by Doxygen 1.2.18 --> 7 <center> 8 <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> 9 <hr><h1>pvlogger_registry.h</h1><a href="pvlogger__registry_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef PVLOGGER_REGISTRY_H_INCLUDED</span> 10 00002 <span class="preprocessor"></span><span class="preprocessor">#define PVLOGGER_REGISTRY_H_INCLUDED</span> 11 00003 <span class="preprocessor"></span> 12 00004 <span class="preprocessor">#ifndef PVLOGGER_H_INCLUDED</span> 13 00005 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="pvlogger_8h.html">pvlogger.h</a>"</span> 14 00006 <span class="preprocessor">#endif</span> 15 00007 <span class="preprocessor"></span> 16 00008 <span class="preprocessor">#ifndef OSCL_TAGTREE_H_INCLUDED</span> 17 00009 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__tagtree_8h.html">oscl_tagtree.h</a>"</span> 18 00010 <span class="preprocessor">#endif</span> 19 00011 <span class="preprocessor"></span> 20 <a name="l00025"></a><a class="code" href="classPVLoggerRegistry.html">00025</a> <span class="keyword">class </span><a class="code" href="classPVLoggerRegistry.html">PVLoggerRegistry</a> 21 00026 { 22 00027 <span class="keyword">public</span>: 23 00028 24 <a name="l00029"></a><a class="code" href="classPVLoggerRegistry.html#s0">00029</a> <span class="keyword">typedef</span> <a class="code" href="classPVLogger.html#s0">PVLogger::log_level_type</a> <a class="code" href="classPVLoggerRegistry.html#s0">log_level_type</a>; 25 <a name="l00030"></a><a class="code" href="classPVLoggerRegistry.html#s1">00030</a> <span class="keyword">typedef</span> <a class="code" href="class__OsclBasicAllocator.html">PVLogger::alloc_type</a> <a class="code" href="class__OsclBasicAllocator.html">alloc_type</a>; 26 00031 27 00036 OSCL_IMPORT_REF <span class="keyword">static</span> <a class="code" href="classPVLoggerRegistry.html">PVLoggerRegistry</a>* <a class="code" href="classPVLoggerRegistry.html#d0">GetPVLoggerRegistry</a>(); 28 00037 29 00042 OSCL_IMPORT_REF <a class="code" href="classPVLoggerRegistry.html#a0">PVLoggerRegistry</a>(); 30 00043 31 00048 OSCL_IMPORT_REF <span class="keyword">virtual</span> <a class="code" href="classPVLoggerRegistry.html#a1">~PVLoggerRegistry</a>(); 32 00049 33 00062 OSCL_IMPORT_REF <a class="code" href="classPVLogger.html">PVLogger</a> *<a class="code" href="classPVLoggerRegistry.html#a2">GetPVLoggerObject</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* tagIn); 34 00063 35 00074 OSCL_IMPORT_REF <a class="code" href="classPVLogger.html">PVLogger</a> *<a class="code" href="classPVLoggerRegistry.html#a3">CreatePVLogger</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* tagIn, <a class="code" href="classPVLoggerRegistry.html#s0">log_level_type</a> level, <span class="keywordtype">bool</span> oAppenderInheritance); 36 00075 37 00085 OSCL_IMPORT_REF <span class="keywordtype">bool</span> <a class="code" href="classPVLoggerRegistry.html#a4">SetNodeLogLevelExplicit</a>(<span class="keywordtype">char</span>* tagIn, <a class="code" href="classPVLoggerRegistry.html#s0">log_level_type</a> level); 38 00086 39 00096 OSCL_IMPORT_REF <span class="keywordtype">void</span> <a class="code" href="classPVLoggerRegistry.html#a4">SetNodeLogLevelExplicit</a>(<a class="code" href="classOscl__TagTree.html">Oscl_TagTree<PVLogger*, alloc_type></a>::node_type* node, <a class="code" href="classPVLoggerRegistry.html#s0">log_level_type</a> level); 40 00097 41 00098 <span class="keyword">private</span>: 42 00099 <span class="preprocessor">#if (PVLOGGER_ENABLE)</span> 43 00100 <span class="preprocessor"></span> <a class="code" href="classOscl__TAlloc.html">Oscl_TAlloc<PVLogger, alloc_type></a> _pvloggerAlloc; 44 00101 <a class="code" href="classOscl__TagTree.html">Oscl_TagTree<PVLogger*, alloc_type></a> _loggerTree; 45 00102 <span class="preprocessor">#endif</span> 46 00103 <span class="preprocessor"></span>}; 47 00104 48 00105 <span class="preprocessor">#endif // PVLOGGER_REGISTRY_H_INCLUDED</span> 49 00106 <span class="preprocessor"></span> 50 </pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 51 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 52 </small></address> 53 </body> 54 </html> 55