| <!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>pvlogger_accessories.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> <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> |
| <hr><h1>pvlogger_accessories.h</h1><a href="pvlogger__accessories_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef PVLOGGER_ACCESSORIES_H_INCLUDED</span> |
| 00002 <span class="preprocessor"></span><span class="preprocessor">#define PVLOGGER_ACCESSORIES_H_INCLUDED</span> |
| 00003 <span class="preprocessor"></span> |
| 00004 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span> |
| 00005 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span> |
| 00006 <span class="preprocessor">#endif</span> |
| 00007 <span class="preprocessor"></span> |
| 00008 <span class="preprocessor">#ifndef PVLOGGER_H_INCLUDED</span> |
| 00009 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="pvlogger_8h.html">pvlogger.h</a>"</span> |
| 00010 <span class="preprocessor">#endif</span> |
| 00011 <span class="preprocessor"></span> |
| <a name="l00017"></a><a class="code" href="classPVLoggerLayout.html">00017</a> <span class="keyword">class </span><a class="code" href="classPVLoggerLayout.html">PVLoggerLayout</a> |
| 00018 { |
| 00019 <span class="keyword">public</span>: |
| <a name="l00020"></a><a class="code" href="classPVLoggerLayout.html#s0">00020</a> <span class="keyword">typedef</span> <a class="code" href="classPVLogger.html#s1">PVLogger::message_id_type</a> <a class="code" href="classPVLoggerLayout.html#s0">message_id_type</a>; |
| 00021 |
| <a name="l00022"></a><a class="code" href="classPVLoggerLayout.html#a0">00022</a> <span class="keyword">virtual</span> <a class="code" href="classPVLoggerLayout.html#a0">~PVLoggerLayout</a>() {} |
| 00023 |
| 00029 <span class="keyword">virtual</span> int32 <a class="code" href="classPVLoggerLayout.html#a1">FormatString</a>(<span class="keywordtype">char</span>* formatBuf, int32 formatBufSize, |
| 00030 <a class="code" href="classPVLoggerLayout.html#s0">message_id_type</a> msgID, <span class="keyword">const</span> <span class="keywordtype">char</span> * fmt, |
| 00031 va_list va) = 0; |
| 00032 |
| 00038 <span class="keyword">virtual</span> int32 <a class="code" href="classPVLoggerLayout.html#a2">FormatOpaqueMessage</a>(<span class="keywordtype">char</span>* formatBuf, int32 formatBufSize, |
| 00039 <a class="code" href="classPVLoggerLayout.html#s0">message_id_type</a> msgID, int32 numPairs, |
| 00040 va_list va) = 0; |
| 00041 }; |
| 00042 |
| <a name="l00048"></a><a class="code" href="classPVLoggerFilter.html">00048</a> <span class="keyword">class </span><a class="code" href="classPVLoggerFilter.html">PVLoggerFilter</a> |
| 00049 { |
| 00050 <span class="keyword">public</span>: |
| <a name="l00051"></a><a class="code" href="classPVLoggerFilter.html#a0">00051</a> <span class="keyword">virtual</span> <a class="code" href="classPVLoggerFilter.html#a0">~PVLoggerFilter</a>() {} |
| 00052 |
| <a name="l00053"></a><a class="code" href="classPVLoggerFilter.html#s0">00053</a> <span class="keyword">typedef</span> <a class="code" href="classPVLogger.html#s1">PVLogger::message_id_type</a> <a class="code" href="classPVLoggerFilter.html#s0">message_id_type</a>; |
| <a name="l00054"></a><a class="code" href="classPVLoggerFilter.html#s1">00054</a> <span class="keyword">typedef</span> <a class="code" href="classPVLogger.html#s0">PVLogger::log_level_type</a> <a class="code" href="classPVLoggerFilter.html#s1">log_level_type</a>; |
| <a name="l00055"></a><a class="code" href="classPVLoggerFilter.html#s2">00055</a> <span class="keyword">typedef</span> <a class="code" href="classPVLogger.html#s2">PVLogger::filter_status_type</a> <a class="code" href="classPVLoggerFilter.html#s2">filter_status_type</a>; |
| 00056 |
| 00057 <span class="keyword">virtual</span> <a class="code" href="classPVLoggerFilter.html#s2">filter_status_type</a> <a class="code" href="classPVLoggerFilter.html#a1">FilterString</a>(<span class="keywordtype">char</span>* tag, <a class="code" href="classPVLoggerFilter.html#s0">message_id_type</a> msgID, <a class="code" href="classPVLoggerFilter.html#s1">log_level_type</a> level) = 0; |
| 00058 <span class="keyword">virtual</span> <a class="code" href="classPVLoggerFilter.html#s2">filter_status_type</a> <a class="code" href="classPVLoggerFilter.html#a2">FilterOpaqueMessge</a>(<span class="keywordtype">char</span>* tag, <a class="code" href="classPVLoggerFilter.html#s0">message_id_type</a> msgID, <a class="code" href="classPVLoggerFilter.html#s1">log_level_type</a> level) = 0; |
| <a name="l00059"></a><a class="code" href="pvlogger__accessories_8h.html#a0">00059</a> }; |
| <a name="l00060"></a><a class="code" href="pvlogger__accessories_8h.html#a1">00060</a> |
| <a name="l00061"></a><a class="code" href="pvlogger__accessories_8h.html#a2">00061</a> <span class="keyword">const</span> <a class="code" href="classPVLoggerFilter.html#s2">PVLoggerFilter::filter_status_type</a> <a class="code" href="pvlogger__accessories_8h.html#a0">PVLOGGER_FILTER_ACCEPT</a> = 1; |
| 00062 <span class="keyword">const</span> <a class="code" href="classPVLoggerFilter.html#s2">PVLoggerFilter::filter_status_type</a> <a class="code" href="pvlogger__accessories_8h.html#a1">PVLOGGER_FILTER_REJECT</a> = 2; |
| 00063 <span class="keyword">const</span> <a class="code" href="classPVLoggerFilter.html#s2">PVLoggerFilter::filter_status_type</a> <a class="code" href="pvlogger__accessories_8h.html#a2">PVLOGGER_FILTER_NEUTRAL</a> = 3; |
| 00064 |
| 00068 <span class="keyword">class </span><a class="code" href="classAllPassFilter.html">AllPassFilter</a> : <span class="keyword">public</span> <a class="code" href="classPVLoggerFilter.html">PVLoggerFilter</a> |
| <a name="l00069"></a><a class="code" href="classAllPassFilter.html#s0">00069</a> { |
| <a name="l00070"></a><a class="code" href="classAllPassFilter.html#s1">00070</a> <span class="keyword">public</span>: |
| <a name="l00071"></a><a class="code" href="classAllPassFilter.html#s2">00071</a> <span class="keyword">typedef</span> <a class="code" href="classPVLoggerFilter.html#s0">PVLoggerFilter::message_id_type</a> <a class="code" href="classAllPassFilter.html#s0">message_id_type</a>; |
| 00072 <span class="keyword">typedef</span> <a class="code" href="classPVLoggerFilter.html#s1">PVLoggerFilter::log_level_type</a> <a class="code" href="classAllPassFilter.html#s1">log_level_type</a>; |
| <a name="l00073"></a><a class="code" href="classAllPassFilter.html#a0">00073</a> <span class="keyword">typedef</span> <a class="code" href="classPVLoggerFilter.html#s2">PVLoggerFilter::filter_status_type</a> <a class="code" href="classAllPassFilter.html#s2">filter_status_type</a>; |
| <a name="l00074"></a><a class="code" href="classAllPassFilter.html#a1">00074</a> |
| 00075 <a class="code" href="classAllPassFilter.html#a0">AllPassFilter</a>() {}; |
| <a name="l00076"></a><a class="code" href="classAllPassFilter.html#a2">00076</a> <span class="keyword">virtual</span> <a class="code" href="classAllPassFilter.html#a1">~AllPassFilter</a>() {}; |
| 00077 |
| 00078 <a class="code" href="classAllPassFilter.html#s2">filter_status_type</a> <a class="code" href="classAllPassFilter.html#a2">FilterString</a>(<span class="keywordtype">char</span>* tag, <a class="code" href="classAllPassFilter.html#s0">message_id_type</a> msgID, <a class="code" href="classAllPassFilter.html#s1">log_level_type</a> level) |
| 00079 { |
| 00080 <a class="code" href="group__osclbase.html#a89">OSCL_UNUSED_ARG</a>(tag); |
| 00081 <a class="code" href="group__osclbase.html#a89">OSCL_UNUSED_ARG</a>(msgID); |
| 00082 <a class="code" href="group__osclbase.html#a89">OSCL_UNUSED_ARG</a>(level); |
| <a name="l00083"></a><a class="code" href="classAllPassFilter.html#a3">00083</a> <span class="keywordflow">return</span> (PVLOGGER_FILTER_ACCEPT); |
| 00084 }; |
| 00085 <a class="code" href="classAllPassFilter.html#s2">filter_status_type</a> <a class="code" href="classAllPassFilter.html#a3">FilterOpaqueMessge</a>(<span class="keywordtype">char</span>* tag, <a class="code" href="classAllPassFilter.html#s0">message_id_type</a> msgID, <a class="code" href="classAllPassFilter.html#s1">log_level_type</a> level) |
| 00086 { |
| 00087 <a class="code" href="group__osclbase.html#a89">OSCL_UNUSED_ARG</a>(tag); |
| 00088 <a class="code" href="group__osclbase.html#a89">OSCL_UNUSED_ARG</a>(msgID); |
| 00089 <a class="code" href="group__osclbase.html#a89">OSCL_UNUSED_ARG</a>(level); |
| 00090 <span class="keywordflow">return</span> (PVLOGGER_FILTER_ACCEPT); |
| 00091 }; |
| 00092 }; |
| 00093 |
| 00099 <span class="keyword">class </span><a class="code" href="classPVLoggerAppender.html">PVLoggerAppender</a> |
| <a name="l00100"></a><a class="code" href="classPVLoggerAppender.html#s0">00100</a> { |
| 00101 <span class="keyword">public</span>: |
| <a name="l00102"></a><a class="code" href="classPVLoggerAppender.html#a0">00102</a> <span class="keyword">typedef</span> <a class="code" href="classPVLogger.html#s1">PVLogger::message_id_type</a> <a class="code" href="classPVLoggerAppender.html#s0">message_id_type</a>; |
| 00103 |
| 00104 <span class="keyword">virtual</span> <a class="code" href="classPVLoggerAppender.html#a0">~PVLoggerAppender</a>() {} |
| 00105 |
| 00106 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classPVLoggerAppender.html#a1">AppendString</a>(<a class="code" href="classPVLoggerAppender.html#s0">message_id_type</a> msgID, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, va_list va) = 0; |
| 00107 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classPVLoggerAppender.html#a2">AppendBuffers</a>(<a class="code" href="classPVLoggerAppender.html#s0">message_id_type</a> msgID, int32 numPairs, va_list va) = 0; |
| 00108 }; |
| 00109 |
| 00110 |
| 00111 <span class="preprocessor">#endif</span> |
| 00112 <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> |