<!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>PVLoggerLayout class Reference</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>PVLoggerLayout Class Reference</h1><code>#include <<a class="el" href="pvlogger__accessories_8h-source.html">pvlogger_accessories.h</a>></code> <p> <table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Types</h2></td></tr> <tr><td nowrap align=right valign=top>typedef PVLogger::message_id_type </td><td valign=bottom><a class="el" href="classPVLoggerLayout.html#s0">message_id_type</a></td></tr> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classPVLoggerLayout.html#a0">~PVLoggerLayout</a> ()</td></tr> <tr><td nowrap align=right valign=top>virtual int32 </td><td valign=bottom><a class="el" href="classPVLoggerLayout.html#a1">FormatString</a> (char *formatBuf, int32 formatBufSize, <a class="el" href="classPVLoggerLayout.html#s0">message_id_type</a> msgID, const char *fmt, va_list va)=0</td></tr> <tr><td nowrap align=right valign=top>virtual int32 </td><td valign=bottom><a class="el" href="classPVLoggerLayout.html#a2">FormatOpaqueMessage</a> (char *formatBuf, int32 formatBufSize, <a class="el" href="classPVLoggerLayout.html#s0">message_id_type</a> msgID, int32 numPairs, va_list va)=0</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Base class for all message formatters. This class defines the interface to the message formatter. There are two kinds of msg formatting APIs, one to format text messages, and other to format opaque message buffers. <p> <hr><h2>Member Typedef Documentation</h2> <a name="s0" doxytag="PVLoggerLayout::message_id_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef PVLogger::message_id_type PVLoggerLayout::message_id_type </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="PVLoggerLayout::~PVLoggerLayout"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual PVLoggerLayout::~PVLoggerLayout </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a2" doxytag="PVLoggerLayout::FormatOpaqueMessage"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual int32 PVLoggerLayout::FormatOpaqueMessage </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">char * </td> <td class="mdname" nowrap> <em>formatBuf</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int32 </td> <td class="mdname" nowrap> <em>formatBufSize</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classPVLoggerLayout.html#s0">message_id_type</a> </td> <td class="mdname" nowrap> <em>msgID</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int32 </td> <td class="mdname" nowrap> <em>numPairs</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>va_list </td> <td class="mdname" nowrap> <em>va</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [pure virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Formats the data and copies it to the given buffer. <p> <dl compact><dt><b>Returns: </b></dt><dd> The length of the buffer used. </dl> </td> </tr> </table> <a name="a1" doxytag="PVLoggerLayout::FormatString"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual int32 PVLoggerLayout::FormatString </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">char * </td> <td class="mdname" nowrap> <em>formatBuf</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int32 </td> <td class="mdname" nowrap> <em>formatBufSize</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classPVLoggerLayout.html#s0">message_id_type</a> </td> <td class="mdname" nowrap> <em>msgID</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>fmt</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>va_list </td> <td class="mdname" nowrap> <em>va</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [pure virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Formats the string and copies it to the given buffer. <p> <dl compact><dt><b>Returns: </b></dt><dd> The length of the string not including the trailing '\0' </dl> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="pvlogger__accessories_8h-source.html">pvlogger_accessories.h</a></ul> <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>