git-svn-id: svn://db.shs.com.ru/pip@623 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
||||
<meta name="generator" content="Doxygen 1.8.14"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>PIP: PIBinaryLog Class Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -14,8 +14,9 @@
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(initResizable);
|
||||
</script>
|
||||
/* @license-end */</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
@@ -26,7 +27,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">PIP
|
||||
 <span id="projectnumber">1.4.0</span>
|
||||
 <span id="projectnumber">1.7.1</span>
|
||||
</div>
|
||||
<div id="projectbrief">Platform-Independent Primitives</div>
|
||||
</td>
|
||||
@@ -35,14 +36,15 @@
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.13 -->
|
||||
<!-- Generated by Doxygen 1.8.14 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
</script>
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
@@ -56,7 +58,9 @@ $(function() {
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('class_p_i_binary_log.html','');});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<div class="header">
|
||||
@@ -103,32 +107,32 @@ Public Types</h2></td></tr>
|
||||
<tr class="memitem:a96a2d901e8d7b309a49003b3fa1846dc"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_i_binary_log.html#a96a2d901e8d7b309a49003b3fa1846dc">PlayMode</a> { <a class="el" href="class_p_i_binary_log.html#a96a2d901e8d7b309a49003b3fa1846dca77debbcefe269247ca84125a2307f3fa">PlayRealTime</a>,
|
||||
<a class="el" href="class_p_i_binary_log.html#a96a2d901e8d7b309a49003b3fa1846dca9e264db9c4d915e2f720640c6af3c25a">PlayVariableSpeed</a>,
|
||||
<a class="el" href="class_p_i_binary_log.html#a96a2d901e8d7b309a49003b3fa1846dca87ba557909b26acc6d9a2327feb44f80">PlayStaticDelay</a>
|
||||
}<tr class="memdesc:a96a2d901e8d7b309a49003b3fa1846dc"><td class="mdescLeft"> </td><td class="mdescRight">Play modes for <em><a class="el" href="class_p_i_binary_log.html" title="Class for read and write binary data to logfile, and playback this data in realtime, or custom speed. ">PIBinaryLog</a></em>. <a href="class_p_i_binary_log.html#a96a2d901e8d7b309a49003b3fa1846dc">More...</a><br /></td></tr>
|
||||
</td></tr>
|
||||
}</td></tr>
|
||||
<tr class="memdesc:a96a2d901e8d7b309a49003b3fa1846dc"><td class="mdescLeft"> </td><td class="mdescRight">Play modes for <em><a class="el" href="class_p_i_binary_log.html" title="Class for read and write binary data to logfile, and playback this data in realtime, or custom speed. ">PIBinaryLog</a></em>. <a href="class_p_i_binary_log.html#a96a2d901e8d7b309a49003b3fa1846dc">More...</a><br /></td></tr>
|
||||
<tr class="separator:a96a2d901e8d7b309a49003b3fa1846dc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8a4b695e9059befb71a350b595a58394"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_i_binary_log.html#a8a4b695e9059befb71a350b595a58394">SplitMode</a> { <a class="el" href="class_p_i_binary_log.html#a8a4b695e9059befb71a350b595a58394a45914123c14bf1de0d71f75543c3557f">SplitNone</a>,
|
||||
<a class="el" href="class_p_i_binary_log.html#a8a4b695e9059befb71a350b595a58394a97ab9ad2ac3d9e45dcd419a24460654c">SplitTime</a>,
|
||||
<a class="el" href="class_p_i_binary_log.html#a8a4b695e9059befb71a350b595a58394aa5b0e2cc1dcbc85d644b83e8c812d1e2">SplitSize</a>,
|
||||
<a class="el" href="class_p_i_binary_log.html#a8a4b695e9059befb71a350b595a58394a21be589c1781c5f15abafd32bbe2d0cd">SplitCount</a>
|
||||
}<tr class="memdesc:a8a4b695e9059befb71a350b595a58394"><td class="mdescLeft"> </td><td class="mdescRight">Different split modes for writing <em><a class="el" href="class_p_i_binary_log.html" title="Class for read and write binary data to logfile, and playback this data in realtime, or custom speed. ">PIBinaryLog</a></em>, which can separate files by size, by time or by records count. <a href="class_p_i_binary_log.html#a8a4b695e9059befb71a350b595a58394">More...</a><br /></td></tr>
|
||||
</td></tr>
|
||||
}</td></tr>
|
||||
<tr class="memdesc:a8a4b695e9059befb71a350b595a58394"><td class="mdescLeft"> </td><td class="mdescRight">Different split modes for writing <em><a class="el" href="class_p_i_binary_log.html" title="Class for read and write binary data to logfile, and playback this data in realtime, or custom speed. ">PIBinaryLog</a></em>, which can separate files by size, by time or by records count. <a href="class_p_i_binary_log.html#a8a4b695e9059befb71a350b595a58394">More...</a><br /></td></tr>
|
||||
<tr class="separator:a8a4b695e9059befb71a350b595a58394"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_types_class_p_i_i_o_device"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_p_i_i_o_device')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="class_p_i_i_o_device.html">PIIODevice</a></td></tr>
|
||||
<tr class="memitem:a546a024c6ff4a1dca9350b520e73b595 inherit pub_types_class_p_i_i_o_device"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_i_i_o_device.html#a546a024c6ff4a1dca9350b520e73b595">DeviceMode</a> { <a class="el" href="class_p_i_i_o_device.html#a546a024c6ff4a1dca9350b520e73b595a3cfbd625c2976cde647e43b3ecf488fc">ReadOnly</a> = 0x01,
|
||||
<a class="el" href="class_p_i_i_o_device.html#a546a024c6ff4a1dca9350b520e73b595ac8b9334253858c834ece08fc1d0a9c03">WriteOnly</a> = 0x02,
|
||||
<a class="el" href="class_p_i_i_o_device.html#a546a024c6ff4a1dca9350b520e73b595a9a3dfb78656b018b51ce48d95f39234a">ReadWrite</a> = 0x03
|
||||
}<tr class="memdesc:a546a024c6ff4a1dca9350b520e73b595"><td class="mdescLeft"> </td><td class="mdescRight">Open modes for <a class="el" href="class_p_i_i_o_device.html" title="Base class for input/output classes. ">PIIODevice</a>. <a href="class_p_i_i_o_device.html#a546a024c6ff4a1dca9350b520e73b595">More...</a><br /></td></tr>
|
||||
</td></tr>
|
||||
}</td></tr>
|
||||
<tr class="memdesc:a546a024c6ff4a1dca9350b520e73b595"><td class="mdescLeft"> </td><td class="mdescRight">Open modes for <a class="el" href="class_p_i_i_o_device.html" title="Base class for input/output classes. ">PIIODevice</a>. <a href="class_p_i_i_o_device.html#a546a024c6ff4a1dca9350b520e73b595">More...</a><br /></td></tr>
|
||||
<tr class="separator:a546a024c6ff4a1dca9350b520e73b595 inherit pub_types_class_p_i_i_o_device"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad75ae4dc6006ffd8f928e5f0751df628 inherit pub_types_class_p_i_i_o_device"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_i_i_o_device.html#ad75ae4dc6006ffd8f928e5f0751df628">DeviceOption</a> { <a class="el" href="class_p_i_i_o_device.html#ad75ae4dc6006ffd8f928e5f0751df628ac3aac8dc0db63dbe5677ecce41dc0801">BlockingRead</a> = 0x01,
|
||||
<a class="el" href="class_p_i_i_o_device.html#ad75ae4dc6006ffd8f928e5f0751df628a4abf05d30d33c58d64c8236d4d2e8c0b">BlockingWrite</a> = 0x02
|
||||
}<tr class="memdesc:ad75ae4dc6006ffd8f928e5f0751df628"><td class="mdescLeft"> </td><td class="mdescRight">Options for <a class="el" href="class_p_i_i_o_device.html" title="Base class for input/output classes. ">PIIODevice</a>, works with some devices. <a href="class_p_i_i_o_device.html#ad75ae4dc6006ffd8f928e5f0751df628">More...</a><br /></td></tr>
|
||||
</td></tr>
|
||||
}</td></tr>
|
||||
<tr class="memdesc:ad75ae4dc6006ffd8f928e5f0751df628"><td class="mdescLeft"> </td><td class="mdescRight">Options for <a class="el" href="class_p_i_i_o_device.html" title="Base class for input/output classes. ">PIIODevice</a>, works with some devices. <a href="class_p_i_i_o_device.html#ad75ae4dc6006ffd8f928e5f0751df628">More...</a><br /></td></tr>
|
||||
<tr class="separator:ad75ae4dc6006ffd8f928e5f0751df628 inherit pub_types_class_p_i_i_o_device"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a42ecbca216d3fc8c00cf419e105e0afc inherit pub_types_class_p_i_i_o_device"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_i_i_o_device.html#a42ecbca216d3fc8c00cf419e105e0afc">DeviceInfoFlag</a> { <a class="el" href="class_p_i_i_o_device.html#a42ecbca216d3fc8c00cf419e105e0afcad99de22115dd43e1c8242319d4e6e907">Sequential</a> = 0x01,
|
||||
<a class="el" href="class_p_i_i_o_device.html#a42ecbca216d3fc8c00cf419e105e0afca7fa4e50421d11f9c35bb46b8ff7a2a4a">Reliable</a> = 0x02
|
||||
}<tr class="memdesc:a42ecbca216d3fc8c00cf419e105e0afc"><td class="mdescLeft"> </td><td class="mdescRight">Characteristics of <a class="el" href="class_p_i_i_o_device.html" title="Base class for input/output classes. ">PIIODevice</a> subclass. <a href="class_p_i_i_o_device.html#a42ecbca216d3fc8c00cf419e105e0afc">More...</a><br /></td></tr>
|
||||
</td></tr>
|
||||
}</td></tr>
|
||||
<tr class="memdesc:a42ecbca216d3fc8c00cf419e105e0afc"><td class="mdescLeft"> </td><td class="mdescRight">Characteristics of <a class="el" href="class_p_i_i_o_device.html" title="Base class for input/output classes. ">PIIODevice</a> subclass. <a href="class_p_i_i_o_device.html#a42ecbca216d3fc8c00cf419e105e0afc">More...</a><br /></td></tr>
|
||||
<tr class="separator:a42ecbca216d3fc8c00cf419e105e0afc inherit pub_types_class_p_i_i_o_device"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_types_class_p_i_thread"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_p_i_thread')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="class_p_i_thread.html">PIThread</a></td></tr>
|
||||
<tr class="memitem:a3ddcafb0b09d3ed258a519882986a77b inherit pub_types_class_p_i_thread"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_i_thread.html#a3ddcafb0b09d3ed258a519882986a77b">Priority</a> { <br />
|
||||
@@ -139,8 +143,8 @@ Public Types</h2></td></tr>
|
||||
<br />
|
||||
  <a class="el" href="class_p_i_thread.html#a3ddcafb0b09d3ed258a519882986a77ba18babfebe41163fbb810eb41357a6347">piHighest</a>
|
||||
<br />
|
||||
}<tr class="memdesc:a3ddcafb0b09d3ed258a519882986a77b"><td class="mdescLeft"> </td><td class="mdescRight">Priority of thread. <a href="class_p_i_thread.html#a3ddcafb0b09d3ed258a519882986a77b">More...</a><br /></td></tr>
|
||||
</td></tr>
|
||||
}</td></tr>
|
||||
<tr class="memdesc:a3ddcafb0b09d3ed258a519882986a77b"><td class="mdescLeft"> </td><td class="mdescRight">Priority of thread. <a href="class_p_i_thread.html#a3ddcafb0b09d3ed258a519882986a77b">More...</a><br /></td></tr>
|
||||
<tr class="separator:a3ddcafb0b09d3ed258a519882986a77b inherit pub_types_class_p_i_thread"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
@@ -303,8 +307,9 @@ void </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
||||
const <a class="el" href="class_p_i_vector.html">PIVector</a>< <a class="el" href="struct_p_i_binary_log_1_1_bin_log_index.html">BinLogIndex</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_i_binary_log.html#a1e7c1b40b3b2be5beddcac182447a87c">logIndex</a> () const</td></tr>
|
||||
<tr class="memdesc:a1e7c1b40b3b2be5beddcac182447a87c"><td class="mdescLeft"> </td><td class="mdescRight">Get binlog index <em><a class="el" href="struct_p_i_binary_log_1_1_bin_log_index.html" title="Struct contains position, ID and timestamp of record in file. ">BinLogIndex</a></em>, need <em>createIndex</em> before getting index. <br /></td></tr>
|
||||
<tr class="separator:a1e7c1b40b3b2be5beddcac182447a87c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0d71287dc6ba5ac1c6d1589923f291d7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_i_binary_log.html#a0d71287dc6ba5ac1c6d1589923f291d7">createIndex</a> ()</td></tr>
|
||||
<tr class="memdesc:a0d71287dc6ba5ac1c6d1589923f291d7"><td class="mdescLeft"> </td><td class="mdescRight">TODO: Think about index positions. <a href="#a0d71287dc6ba5ac1c6d1589923f291d7">More...</a><br /></td></tr>
|
||||
<tr class="memitem:a0d71287dc6ba5ac1c6d1589923f291d7"><td class="memItemLeft" align="right" valign="top"><a id="a0d71287dc6ba5ac1c6d1589923f291d7"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_i_binary_log.html#a0d71287dc6ba5ac1c6d1589923f291d7">createIndex</a> ()</td></tr>
|
||||
<tr class="memdesc:a0d71287dc6ba5ac1c6d1589923f291d7"><td class="mdescLeft"> </td><td class="mdescRight">Create index of current binlog file. <br /></td></tr>
|
||||
<tr class="separator:a0d71287dc6ba5ac1c6d1589923f291d7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa2e267f3cdd6c71e84a418b80b9a8632"><td class="memItemLeft" align="right" valign="top"><a id="aa2e267f3cdd6c71e84a418b80b9a8632"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_i_binary_log.html#aa2e267f3cdd6c71e84a418b80b9a8632">seekTo</a> (int rindex)</td></tr>
|
||||
@@ -674,8 +679,9 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
||||
Static Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a904318a294160dc2d63502fb248ed140"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct_p_i_binary_log_1_1_bin_log_info.html">BinLogInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_i_binary_log.html#a904318a294160dc2d63502fb248ed140">getLogInfo</a> (const <a class="el" href="class_p_i_string.html">PIString</a> &<a class="el" href="class_p_i_i_o_device.html#a8238332b6294817135603c77f12f2ae3">path</a>)</td></tr>
|
||||
<tr class="memdesc:a904318a294160dc2d63502fb248ed140"><td class="mdescLeft"> </td><td class="mdescRight">TODO: Think about index positions. <a href="#a904318a294160dc2d63502fb248ed140">More...</a><br /></td></tr>
|
||||
<tr class="memitem:a904318a294160dc2d63502fb248ed140"><td class="memItemLeft" align="right" valign="top"><a id="a904318a294160dc2d63502fb248ed140"></a>
|
||||
static <a class="el" href="struct_p_i_binary_log_1_1_bin_log_info.html">BinLogInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_i_binary_log.html#a904318a294160dc2d63502fb248ed140">getLogInfo</a> (const <a class="el" href="class_p_i_string.html">PIString</a> &<a class="el" href="class_p_i_i_o_device.html#a8238332b6294817135603c77f12f2ae3">path</a>)</td></tr>
|
||||
<tr class="memdesc:a904318a294160dc2d63502fb248ed140"><td class="mdescLeft"> </td><td class="mdescRight">Get binlog info and statistic. <br /></td></tr>
|
||||
<tr class="separator:a904318a294160dc2d63502fb248ed140"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_static_methods_class_p_i_i_o_device"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_p_i_i_o_device')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="class_p_i_i_o_device.html">PIIODevice</a></td></tr>
|
||||
<tr class="memitem:ac47c4f61ade6d4f9a847e0d55abcf150 inherit pub_static_methods_class_p_i_i_o_device"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_p_i_i_o_device.html">PIIODevice</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_i_i_o_device.html#ac47c4f61ade6d4f9a847e0d55abcf150">createFromFullPath</a> (const <a class="el" href="class_p_i_string.html">PIString</a> &full_path)</td></tr>
|
||||
@@ -785,8 +791,6 @@ virtual void </td><td class="memItemRight" valign="bottom"><a class="el" hr
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
|
||||
Handlers</h2></td></tr>
|
||||
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp32ea47f4667348cbe148ad5d45f59783"></a>TODO: Think about index positions </p>
|
||||
</td></tr>
|
||||
<tr class="memitem:ac5c3e00d5fe2bd28e0c27af39c18717f"><td class="memItemLeft" align="right" valign="top"><a id="ac5c3e00d5fe2bd28e0c27af39c18717f"></a>
|
||||
<a class="el" href="class_p_i_string.html">PIString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_p_i_binary_log.html#ac5c3e00d5fe2bd28e0c27af39c18717f">createNewFile</a> ()</td></tr>
|
||||
<tr class="memdesc:ac5c3e00d5fe2bd28e0c27af39c18717f"><td class="mdescLeft"> </td><td class="mdescRight">Create new binlog file in <em>logDir</em>, if successful returns filename, else returns empty string. Filename is like <em>filePrefix</em> + "yyyy_MM_dd__hh_mm_ss.binlog". <br /></td></tr>
|
||||
@@ -994,7 +998,7 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Class for read and write binary data to logfile, and playback this data in realtime, or custom speed. </p>
|
||||
<p>TODO: Create static functions to split and join binlog files TODO: Create functions to insert and delete records</p>
|
||||
<p>TODO: Create static functions to join binlog files TODO: Create functions to insert and delete records</p>
|
||||
<h1><a class="anchor" id="PIBinaryLog_sec0"></a>
|
||||
Synopsis</h1>
|
||||
<p>Binary Log is a file with simple header, where you can read and write some binary data. Any written data include special header with ID, size and timestamp. This header provides separation different messages from the one file by choosing different IDs. With <em>filterID</em> or special functions, like <em><a class="el" href="class_p_i_binary_log.html#a0d09347d6933b86b7fe18bf0da8d58e6" title="Read one record from BinLog file, with ID = id, if id = 0 than any id will be readed. ">readBinLog()</a></em> you can choose IDs what you want to read. With function <em><a class="el" href="class_p_i_binary_log.html#a3a53507e6ec360b5ba09e04c15502c11" title="Write one record to BinLog file, with ID = id, id must be greather than 0. ">writeBinLog()</a></em> or <em><a class="el" href="class_p_i_binary_log.html#aea988168342f83b830661c1bd067a9a0" title="Set defaultID, used in write function. ">setDefaultID()</a></em> you can choose ID that mark you data. By default ID = 1, and <em>filterID</em> is empty, that mean you read any ID without filtering. ThreadedRead provide you playback data, with delay that you write data. You can choose different playbak modes by set <em>PlayMode</em>.</p>
|
||||
@@ -1186,55 +1190,6 @@ Basic usage</h1>
|
||||
</div><div class="memdoc">
|
||||
<p>Set binlog file split records count Also this function set <em>splitMode</em> to <em>SplitCount</em> </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a0d71287dc6ba5ac1c6d1589923f291d7"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a0d71287dc6ba5ac1c6d1589923f291d7">◆ </a></span>createIndex()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">bool PIBinaryLog::createIndex </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>TODO: Think about index positions. </p>
|
||||
<p>Create index of current binlog file </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a904318a294160dc2d63502fb248ed140"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a904318a294160dc2d63502fb248ed140">◆ </a></span>getLogInfo()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="struct_p_i_binary_log_1_1_bin_log_info.html">PIBinaryLog::BinLogInfo</a> PIBinaryLog::getLogInfo </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const <a class="el" href="class_p_i_string.html">PIString</a> & </td>
|
||||
<td class="paramname"><em>path</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>TODO: Think about index positions. </p>
|
||||
<p>Get binlog info and statistic </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
@@ -1243,9 +1198,9 @@ Basic usage</h1>
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="class_p_i_binary_log.html">PIBinaryLog</a></li>
|
||||
<li class="footer">Generated on Fri Dec 8 2017 16:36:05 for PIP by
|
||||
<li class="footer">Generated on Tue Jul 17 2018 14:25:00 for PIP by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user