• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_accessories.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> &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>
9<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>
1000002 <span class="preprocessor"></span><span class="preprocessor">#define PVLOGGER_ACCESSORIES_H_INCLUDED</span>
1100003 <span class="preprocessor"></span>
1200004 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span>
1300005 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span>
1400006 <span class="preprocessor">#endif</span>
1500007 <span class="preprocessor"></span>
1600008 <span class="preprocessor">#ifndef PVLOGGER_H_INCLUDED</span>
1700009 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="pvlogger_8h.html">pvlogger.h</a>"</span>
1800010 <span class="preprocessor">#endif</span>
1900011 <span class="preprocessor"></span>
20<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>
2100018 {
2200019     <span class="keyword">public</span>:
23<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>;
2400021
25<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>() {}
2600023
2700029         <span class="keyword">virtual</span> int32 <a class="code" href="classPVLoggerLayout.html#a1">FormatString</a>(<span class="keywordtype">char</span>* formatBuf, int32 formatBufSize,
2800030                                    <a class="code" href="classPVLoggerLayout.html#s0">message_id_type</a> msgID, <span class="keyword">const</span> <span class="keywordtype">char</span> * fmt,
2900031                                    va_list va) = 0;
3000032
3100038         <span class="keyword">virtual</span> int32 <a class="code" href="classPVLoggerLayout.html#a2">FormatOpaqueMessage</a>(<span class="keywordtype">char</span>* formatBuf, int32 formatBufSize,
3200039                                           <a class="code" href="classPVLoggerLayout.html#s0">message_id_type</a> msgID, int32 numPairs,
3300040                                           va_list va) = 0;
3400041 };
3500042
36<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>
3700049 {
3800050     <span class="keyword">public</span>:
39<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>() {}
4000052
41<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>;
42<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>;
43<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>;
4400056
4500057         <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;
4600058         <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;
47<a name="l00059"></a><a class="code" href="pvlogger__accessories_8h.html#a0">00059</a> };
48<a name="l00060"></a><a class="code" href="pvlogger__accessories_8h.html#a1">00060</a>
49<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;
5000062 <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;
5100063 <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;
5200064
5300068 <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>
54<a name="l00069"></a><a class="code" href="classAllPassFilter.html#s0">00069</a> {
55<a name="l00070"></a><a class="code" href="classAllPassFilter.html#s1">00070</a>     <span class="keyword">public</span>:
56<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>;
5700072         <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>;
58<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>;
59<a name="l00074"></a><a class="code" href="classAllPassFilter.html#a1">00074</a>
6000075         <a class="code" href="classAllPassFilter.html#a0">AllPassFilter</a>() {};
61<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>() {};
6200077
6300078         <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)
6400079         {
6500080             <a class="code" href="group__osclbase.html#a89">OSCL_UNUSED_ARG</a>(tag);
6600081             <a class="code" href="group__osclbase.html#a89">OSCL_UNUSED_ARG</a>(msgID);
6700082             <a class="code" href="group__osclbase.html#a89">OSCL_UNUSED_ARG</a>(level);
68<a name="l00083"></a><a class="code" href="classAllPassFilter.html#a3">00083</a>             <span class="keywordflow">return</span> (PVLOGGER_FILTER_ACCEPT);
6900084         };
7000085         <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)
7100086         {
7200087             <a class="code" href="group__osclbase.html#a89">OSCL_UNUSED_ARG</a>(tag);
7300088             <a class="code" href="group__osclbase.html#a89">OSCL_UNUSED_ARG</a>(msgID);
7400089             <a class="code" href="group__osclbase.html#a89">OSCL_UNUSED_ARG</a>(level);
7500090             <span class="keywordflow">return</span> (PVLOGGER_FILTER_ACCEPT);
7600091         };
7700092 };
7800093
7900099 <span class="keyword">class </span><a class="code" href="classPVLoggerAppender.html">PVLoggerAppender</a>
80<a name="l00100"></a><a class="code" href="classPVLoggerAppender.html#s0">00100</a> {
8100101     <span class="keyword">public</span>:
82<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>;
8300103
8400104         <span class="keyword">virtual</span> <a class="code" href="classPVLoggerAppender.html#a0">~PVLoggerAppender</a>() {}
8500105
8600106         <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;
8700107         <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;
8800108 };
8900109
9000110
9100111 <span class="preprocessor">#endif</span>
9200112 <span class="preprocessor"></span>
93</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
94<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
95</small></address>
96</body>
97</html>
98