1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
<html>
<head>
<title>Camstream: CamStream API documentation</title>
<link rel="stylesheet" href="../../tech.css" type="text/css">
</head>
<body>
<!-- Generated by Doxygen 1.3.7 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
<h1>TraceModule.h</h1><a href="_trace_module_8h.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 <span class="preprocessor">#ifndef TRACEMODULE_H</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define TRACEMODULE_H</span>
00003 <span class="preprocessor"></span>
00004 <span class="preprocessor">#include <qlistview.h></span>
00005 <span class="preprocessor">#include <qstring.h></span>
00006
00007 <span class="keyword">class </span><a class="code" href="class_c_trace_manager.html">CTraceManager</a>;
00008
<a name="l00009"></a><a class="code" href="class_c_trace_module.html">00009</a> <span class="keyword">class </span><a class="code" href="class_c_trace_module.html">CTraceModule</a>
00010 {
00011 <span class="keyword">private</span>:
00012 <a class="code" href="class_c_trace_manager.html">CTraceManager</a> *m_pManager;
00013 QString ModuleName;
00014 <span class="keywordtype">int</span> m_Level;
00015 <span class="keywordtype">char</span> LargeBuffer[2048];
00016
00017 <span class="keyword">public</span>:
00018 <a class="code" href="class_c_trace_module.html">CTraceModule</a>(<a class="code" href="class_c_trace_manager.html">CTraceManager</a> *mgr, <span class="keyword">const</span> QString &name, <span class="keywordtype">int</span> level);
00019
00020 QString <a class="code" href="class_c_trace_module.html#a1">GetName</a>() <span class="keyword">const</span>;
00021 <span class="keywordtype">int</span> <a class="code" href="class_c_trace_module.html#a2">GetLevel</a>() <span class="keyword">const</span>;
00022
00023 <span class="keywordtype">void</span> <a class="code" href="class_c_trace_module.html#a3">Enter</a>(<span class="keyword">const</span> QString &function_name);
00024 <span class="keywordtype">void</span> Enter(<span class="keyword">const</span> QString &file_name, <span class="keywordtype">int</span> line_number);
00025 <span class="keywordtype">void</span> <a class="code" href="class_c_trace_module.html#a5">Leave</a>(<span class="keyword">const</span> QString &function_name);
00026 <span class="keywordtype">void</span> Leave(<span class="keyword">const</span> QString &file_name, <span class="keywordtype">int</span> line_number);
00027 <span class="keywordtype">void</span> <a class="code" href="class_c_trace_module.html#a7">Log</a>(<span class="keywordtype">int</span> level, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...);
00028
00029 <span class="keyword">public</span> slots:
00030 <span class="keywordtype">void</span> <a class="code" href="class_c_trace_module.html#i0">IncLevel</a>();
00031 <span class="keywordtype">void</span> <a class="code" href="class_c_trace_module.html#i1">DecLevel</a>();
00032 <span class="keywordtype">void</span> <a class="code" href="class_c_trace_module.html#i2">SetLevel</a>(<span class="keywordtype">int</span>);
00033 };
00034
00035
00036
00037 <span class="preprocessor">#endif</span>
</div></pre><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 13 23:38:46 2006 for CamStream by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
</body>
</html>
|