1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>Qt Cryptographic Architecture: QCA::AbstractLogDevice Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.4.6 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
12
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
13
<li><a href="files.html"><span>Files</span></a></li>
14
<li><a href="dirs.html"><span>Directories</span></a></li>
15
<li><a href="pages.html"><span>Related Pages</span></a></li>
16
<li><a href="examples.html"><span>Examples</span></a></li>
20
<li><a href="annotated.html"><span>Class List</span></a></li>
21
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
22
<li><a href="functions.html"><span>Class Members</span></a></li>
25
<a class="el" href="namespaceQCA.html">QCA</a>::<a class="el" href="classQCA_1_1AbstractLogDevice.html">AbstractLogDevice</a></div>
26
<h1>QCA::AbstractLogDevice Class Reference</h1><!-- doxytag: class="QCA::AbstractLogDevice" --><!-- doxytag: inherits="QObject" -->An abstract log device.
27
<a href="#_details">More...</a>
29
<code>#include <<a class="el" href="qca__support_8h-source.html">qca_support.h</a>></code>
31
<p>Inheritance diagram for QCA::AbstractLogDevice:
32
<p><center><img src="classQCA_1_1AbstractLogDevice.png" usemap="#QCA::AbstractLogDevice_map" border="0" alt=""></center>
33
<map name="QCA::AbstractLogDevice_map">
34
<area doxygen="qt.tag:" href="qobject.html" alt="QObject" shape="rect" coords="0,0,154,24">
36
Collaboration diagram for QCA::AbstractLogDevice:<p><center><img src="classQCA_1_1AbstractLogDevice__coll__graph.png" border="0" usemap="#QCA_1_1AbstractLogDevice__coll__map" alt="Collaboration graph"></center>
37
<map name="QCA_1_1AbstractLogDevice__coll__map">
38
<area doxygen="qt.tag:" href="qobject.html" shape="rect" coords="8,9,77,33" alt="">
39
<area doxygen="qt.tag:" href="qstring.html" shape="rect" coords="101,9,168,33" alt="">
41
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classQCA_1_1AbstractLogDevice-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
43
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
44
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCA_1_1AbstractLogDevice.html#df9eb3ef22c17cbd212134fe8a109a77">name</a> () const </td></tr>
46
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCA_1_1AbstractLogDevice.html#8c0c30fba133de3f20103b2bc6d3faba">logTextMessage</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &message, enum <a class="el" href="classQCA_1_1Logger.html#a3123f11cb1dc7a9cc032c09d4c2ed99">Logger::Severity</a> severity)</td></tr>
48
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCA_1_1AbstractLogDevice.html#8d479ed48f06dbef14df1b86c9c9e47b">logBinaryMessage</a> (const <a class="elRef" doxygen="qt.tag:" href="qbytearray.html">QByteArray</a> &blob, <a class="el" href="classQCA_1_1Logger.html#a3123f11cb1dc7a9cc032c09d4c2ed99">Logger::Severity</a> severity)</td></tr>
50
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
51
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCA_1_1AbstractLogDevice.html#5efbc5bc4ab7c3f236687bca3e6d1b32">AbstractLogDevice</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &name, <a class="elRef" doxygen="qt.tag:" href="qobject.html">QObject</a> *<a class="elRef" doxygen="qt.tag:" href="qobject.html#a655461eccb9740e4a07928a1e593cdf">parent</a>=0)</td></tr>
54
<hr><a name="_details"></a><h2>Detailed Description</h2>
55
An abstract log device.
57
<hr><h2>Constructor & Destructor Documentation</h2>
58
<a class="anchor" name="5efbc5bc4ab7c3f236687bca3e6d1b32"></a><!-- doxytag: member="QCA::AbstractLogDevice::AbstractLogDevice" ref="5efbc5bc4ab7c3f236687bca3e6d1b32" args="(const QString &name, QObject *parent=0)" --><p>
59
<table class="mdTable" cellpadding="2" cellspacing="0">
62
<table cellpadding="0" cellspacing="0" border="0">
64
<td class="md" nowrap valign="top">QCA::AbstractLogDevice::AbstractLogDevice </td>
65
<td class="md" valign="top">( </td>
66
<td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> & </td>
67
<td class="mdname" nowrap> <em>name</em>, </td>
70
<td class="md" nowrap align="right"></td>
72
<td class="md" nowrap><a class="elRef" doxygen="qt.tag:" href="qobject.html">QObject</a> * </td>
73
<td class="mdname" nowrap> <em>parent</em> = <code>0</code></td>
77
<td class="md">) </td>
78
<td class="md" colspan="2"><code> [explicit, protected]</code></td>
84
<table cellspacing="5" cellpadding="0" border="0">
92
Create a new message logger.
94
<dl compact><dt><b>Parameters:</b></dt><dd>
95
<table border="0" cellspacing="2" cellpadding="0">
96
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>the name of this log device </td></tr>
97
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>the parent for this logger </td></tr>
103
<hr><h2>Member Function Documentation</h2>
104
<a class="anchor" name="df9eb3ef22c17cbd212134fe8a109a77"></a><!-- doxytag: member="QCA::AbstractLogDevice::name" ref="df9eb3ef22c17cbd212134fe8a109a77" args="() const " --><p>
105
<table class="mdTable" cellpadding="2" cellspacing="0">
108
<table cellpadding="0" cellspacing="0" border="0">
110
<td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> QCA::AbstractLogDevice::name </td>
111
<td class="md" valign="top">( </td>
112
<td class="mdname1" valign="top" nowrap> </td>
113
<td class="md" valign="top"> ) </td>
114
<td class="md" nowrap> const</td>
120
<table cellspacing="5" cellpadding="0" border="0">
128
The name of this log device.
133
<a class="anchor" name="8c0c30fba133de3f20103b2bc6d3faba"></a><!-- doxytag: member="QCA::AbstractLogDevice::logTextMessage" ref="8c0c30fba133de3f20103b2bc6d3faba" args="(const QString &message, enum Logger::Severity severity)" --><p>
134
<table class="mdTable" cellpadding="2" cellspacing="0">
137
<table cellpadding="0" cellspacing="0" border="0">
139
<td class="md" nowrap valign="top">virtual void QCA::AbstractLogDevice::logTextMessage </td>
140
<td class="md" valign="top">( </td>
141
<td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> & </td>
142
<td class="mdname" nowrap> <em>message</em>, </td>
145
<td class="md" nowrap align="right"></td>
147
<td class="md" nowrap>enum <a class="el" href="classQCA_1_1Logger.html#a3123f11cb1dc7a9cc032c09d4c2ed99">Logger::Severity</a> </td>
148
<td class="mdname" nowrap> <em>severity</em></td>
152
<td class="md">) </td>
153
<td class="md" colspan="2"><code> [virtual]</code></td>
159
<table cellspacing="5" cellpadding="0" border="0">
169
The default implementation does nothing - you should override this method in your subclass to do whatever logging is required </td>
172
<a class="anchor" name="8d479ed48f06dbef14df1b86c9c9e47b"></a><!-- doxytag: member="QCA::AbstractLogDevice::logBinaryMessage" ref="8d479ed48f06dbef14df1b86c9c9e47b" args="(const QByteArray &blob, Logger::Severity severity)" --><p>
173
<table class="mdTable" cellpadding="2" cellspacing="0">
176
<table cellpadding="0" cellspacing="0" border="0">
178
<td class="md" nowrap valign="top">virtual void QCA::AbstractLogDevice::logBinaryMessage </td>
179
<td class="md" valign="top">( </td>
180
<td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qbytearray.html">QByteArray</a> & </td>
181
<td class="mdname" nowrap> <em>blob</em>, </td>
184
<td class="md" nowrap align="right"></td>
186
<td class="md" nowrap><a class="el" href="classQCA_1_1Logger.html#a3123f11cb1dc7a9cc032c09d4c2ed99">Logger::Severity</a> </td>
187
<td class="mdname" nowrap> <em>severity</em></td>
191
<td class="md">) </td>
192
<td class="md" colspan="2"><code> [virtual]</code></td>
198
<table cellspacing="5" cellpadding="0" border="0">
208
The default implementation does nothing - you should override this method in your subclass to do whatever logging is required </td>
211
<hr>The documentation for this class was generated from the following file:<ul>
212
<li><a class="el" href="qca__support_8h-source.html">qca_support.h</a></ul>
213
<hr size="1"><address style="align: right;"><small>Generated on Fri Jul 6 13:24:27 2007 for Qt Cryptographic Architecture by
214
<a href="http://www.doxygen.org/index.html">
215
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>