<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Barry: Barry::LogLock Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceBarry.html">Barry</a>::<a class="el" href="classBarry_1_1LogLock.html">LogLock</a> </div> </div> <div class="contents"> <h1>Barry::LogLock Class Reference</h1><!-- doxytag: class="Barry::LogLock" --><code>#include <<a class="el" href="log_8h-source.html">log.h</a>></code> <p> <p> <a href="classBarry_1_1LogLock-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> RAII locking class used to protect the logStream passed into <a class="el" href="namespaceBarry.html#2e28bd59aebe0bece5a46f02ef7dbd3d" title="Barry library initializer.">Barry::Init()</a> (<a class="el" href="common_8h.html" title="General header for the Barry library.">common.h</a>). <p> If the application uses the same stream for its own logging, it should use this lock class, or use the macros in <a class="el" href="log_8h.html" title="General header for the Barry library.">log.h</a>. <p>Definition at line <a class="el" href="log_8h-source.html#l00038">38</a> of file <a class="el" href="log_8h-source.html">log.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="log_8h-source.html">log.h</a><li><a class="el" href="log_8cc-source.html">log.cc</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 1 17:50:58 2011 for Barry by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>