71 lines
4.2 KiB
HTML
71 lines
4.2 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
<title>Module machi_projection</title>
|
||
|
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
|
||
|
</head>
|
||
|
<body bgcolor="white">
|
||
|
<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
|
||
|
<hr>
|
||
|
|
||
|
<h1>Module machi_projection</h1>
|
||
|
<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>API for manipulating Machi projection data structures (i.e., records).
|
||
|
|
||
|
|
||
|
<h2><a name="description">Description</a></h2>API for manipulating Machi projection data structures (i.e., records).
|
||
|
<h2><a name="index">Function Index</a></h2>
|
||
|
<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#compare-2">compare/2</a></td><td>Compare two projection records for equality (assuming that the
|
||
|
checksum element has been correctly calculated).</td></tr>
|
||
|
<tr><td valign="top"><a href="#make_projection_summary-1">make_projection_summary/1</a></td><td>Create a proplist-style summary of a projection record.</td></tr>
|
||
|
<tr><td valign="top"><a href="#new-6">new/6</a></td><td>Create a new projection record.</td></tr>
|
||
|
<tr><td valign="top"><a href="#new-7">new/7</a></td><td>Create a new projection record.</td></tr>
|
||
|
<tr><td valign="top"><a href="#new-8">new/8</a></td><td>Create a new projection record.</td></tr>
|
||
|
<tr><td valign="top"><a href="#update_projection_checksum-1">update_projection_checksum/1</a></td><td>Update the checksum element of a projection record.</td></tr>
|
||
|
<tr><td valign="top"><a href="#update_projection_dbg2-2">update_projection_dbg2/2</a></td><td>Update the <code>dbg2</code> element of a projection record.</td></tr>
|
||
|
</table>
|
||
|
|
||
|
<h2><a name="functions">Function Details</a></h2>
|
||
|
|
||
|
<h3 class="function"><a name="compare-2">compare/2</a></h3>
|
||
|
<div class="spec">
|
||
|
<p><tt>compare(Projection_v1::#projection_v1{}, Projection_v1::#projection_v1{}) -> integer()</tt><br></p>
|
||
|
</div><p>Compare two projection records for equality (assuming that the
|
||
|
checksum element has been correctly calculated).</p>
|
||
|
|
||
|
<h3 class="function"><a name="make_projection_summary-1">make_projection_summary/1</a></h3>
|
||
|
<div class="spec">
|
||
|
<p><tt>make_projection_summary(Projection_v1) -> any()</tt></p>
|
||
|
</div><p>Create a proplist-style summary of a projection record.</p>
|
||
|
|
||
|
<h3 class="function"><a name="new-6">new/6</a></h3>
|
||
|
<div class="spec">
|
||
|
<p><tt>new(MyName, All_list, UPI_list, Down_list, Repairing_list, Ps) -> any()</tt></p>
|
||
|
</div><p>Create a new projection record.</p>
|
||
|
|
||
|
<h3 class="function"><a name="new-7">new/7</a></h3>
|
||
|
<div class="spec">
|
||
|
<p><tt>new(EpochNum, MyName, All_list, Down_list, UPI_list, Repairing_list, Dbg) -> any()</tt></p>
|
||
|
</div><p>Create a new projection record.</p>
|
||
|
|
||
|
<h3 class="function"><a name="new-8">new/8</a></h3>
|
||
|
<div class="spec">
|
||
|
<p><tt>new(EpochNum, MyName, All_list0, Down_list, UPI_list, Repairing_list, Dbg, Dbg2) -> any()</tt></p>
|
||
|
</div><p>Create a new projection record.</p>
|
||
|
|
||
|
<h3 class="function"><a name="update_projection_checksum-1">update_projection_checksum/1</a></h3>
|
||
|
<div class="spec">
|
||
|
<p><tt>update_projection_checksum(P) -> any()</tt></p>
|
||
|
</div><p>Update the checksum element of a projection record.</p>
|
||
|
|
||
|
<h3 class="function"><a name="update_projection_dbg2-2">update_projection_dbg2/2</a></h3>
|
||
|
<div class="spec">
|
||
|
<p><tt>update_projection_dbg2(P, Dbg2) -> any()</tt></p>
|
||
|
</div><p>Update the <code>dbg2</code> element of a projection record.</p>
|
||
|
<hr>
|
||
|
|
||
|
<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
|
||
|
<p><i>Generated by EDoc, Apr 8 2015, 17:31:11.</i></p>
|
||
|
</body>
|
||
|
</html>
|