Metahuman_DNA_Calibration/docs/doxygen/build/html/classdnac_1_1ConditionalCommand.html

596 lines
36 KiB
HTML
Raw Permalink Normal View History

2022-11-28 19:21:26 +08:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DNA Calib: dnac::ConditionalCommand&lt; TCommand, TCondition &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">DNA Calib<span id="projectnumber">&#160;1.1</span>
</div>
<div id="projectbrief">Project brief</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacednac.html">dnac</a></li><li class="navelem"><a class="el" href="classdnac_1_1ConditionalCommand.html">ConditionalCommand</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-types">Private Types</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classdnac_1_1ConditionalCommand-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">dnac::ConditionalCommand&lt; TCommand, TCondition &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="classdnac_1_1ConditionalCommand.html" title="ConditionalCommand is used to run a command if the specified condition is met.">ConditionalCommand</a> is used to run a command if the specified condition is met.
<a href="classdnac_1_1ConditionalCommand.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="ConditionalCommand_8h_source.html">ConditionalCommand.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for dnac::ConditionalCommand&lt; TCommand, TCondition &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classdnac_1_1ConditionalCommand__inherit__graph.png" border="0" usemap="#adnac_1_1ConditionalCommand_3_01TCommand_00_01TCondition_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="adnac_1_1ConditionalCommand_3_01TCommand_00_01TCondition_01_4_inherit__map" id="adnac_1_1ConditionalCommand_3_01TCommand_00_01TCondition_01_4_inherit__map">
<area shape="rect" title="ConditionalCommand is used to run a command if the specified condition is met." alt="" coords="5,145,187,384"/>
<area shape="rect" href="classdnac_1_1Command.html" title="Command is an abstract class whose implementations are expected to modify the DNA provided in the run..." alt="" coords="37,5,155,97"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for dnac::ConditionalCommand&lt; TCommand, TCondition &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classdnac_1_1ConditionalCommand__coll__graph.png" border="0" usemap="#adnac_1_1ConditionalCommand_3_01TCommand_00_01TCondition_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="adnac_1_1ConditionalCommand_3_01TCommand_00_01TCondition_01_4_coll__map" id="adnac_1_1ConditionalCommand_3_01TCommand_00_01TCondition_01_4_coll__map">
<area shape="rect" title="ConditionalCommand is used to run a command if the specified condition is met." alt="" coords="5,145,187,384"/>
<area shape="rect" href="classdnac_1_1Command.html" title="Command is an abstract class whose implementations are expected to modify the DNA provided in the run..." alt="" coords="37,5,155,97"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad2119e90f088ffb7ffe1c493128a681f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1ConditionalCommand.html#ad2119e90f088ffb7ffe1c493128a681f">ConditionalCommand</a> ()</td></tr>
<tr class="separator:ad2119e90f088ffb7ffe1c493128a681f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b68e4bdeb69709ecae44e67c802e9ab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1ConditionalCommand.html#a5b68e4bdeb69709ecae44e67c802e9ab">ConditionalCommand</a> (<a class="el" href="classdnac_1_1ConditionalCommand.html#a0a174e09c26d68e2903ed8d7e61777be">CommandType</a> *command_, <a class="el" href="classdnac_1_1ConditionalCommand.html#a2df2f70adaf901979e794e8908fa8fb6">ConditionType</a> condition_)</td></tr>
<tr class="separator:a5b68e4bdeb69709ecae44e67c802e9ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99b854e3904de1e26245d8d811b9e697"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1ConditionalCommand.html#a99b854e3904de1e26245d8d811b9e697">~ConditionalCommand</a> ()=default</td></tr>
<tr class="separator:a99b854e3904de1e26245d8d811b9e697"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61c5619dc7d7a5c9a0e07d4697dfb174"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1ConditionalCommand.html#a61c5619dc7d7a5c9a0e07d4697dfb174">ConditionalCommand</a> (const <a class="el" href="classdnac_1_1ConditionalCommand.html">ConditionalCommand</a> &amp;)=delete</td></tr>
<tr class="separator:a61c5619dc7d7a5c9a0e07d4697dfb174"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2ce23f0a6a53121fd753cddc0fd6d28"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdnac_1_1ConditionalCommand.html">ConditionalCommand</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1ConditionalCommand.html#aa2ce23f0a6a53121fd753cddc0fd6d28">operator=</a> (const <a class="el" href="classdnac_1_1ConditionalCommand.html">ConditionalCommand</a> &amp;)=delete</td></tr>
<tr class="separator:aa2ce23f0a6a53121fd753cddc0fd6d28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addeddb4d16bf906965ade5ee3c49117b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1ConditionalCommand.html#addeddb4d16bf906965ade5ee3c49117b">ConditionalCommand</a> (<a class="el" href="classdnac_1_1ConditionalCommand.html">ConditionalCommand</a> &amp;&amp;)=default</td></tr>
<tr class="separator:addeddb4d16bf906965ade5ee3c49117b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab29990c1be257ab79ad5fff5e0b5e2b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdnac_1_1ConditionalCommand.html">ConditionalCommand</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1ConditionalCommand.html#ab29990c1be257ab79ad5fff5e0b5e2b7">operator=</a> (<a class="el" href="classdnac_1_1ConditionalCommand.html">ConditionalCommand</a> &amp;&amp;)=default</td></tr>
<tr class="separator:ab29990c1be257ab79ad5fff5e0b5e2b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4f6fc29aa10707cd172e25f44f73586"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1ConditionalCommand.html#ac4f6fc29aa10707cd172e25f44f73586">setCommand</a> (<a class="el" href="classdnac_1_1Command.html">Command</a> *command_)</td></tr>
<tr class="memdesc:ac4f6fc29aa10707cd172e25f44f73586"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method for setting the command to run. <a href="classdnac_1_1ConditionalCommand.html#ac4f6fc29aa10707cd172e25f44f73586">More...</a><br /></td></tr>
<tr class="separator:ac4f6fc29aa10707cd172e25f44f73586"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e54cbc8d2130e2334c25bf2dda737b7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1ConditionalCommand.html#a6e54cbc8d2130e2334c25bf2dda737b7">setCondition</a> (<a class="el" href="classdnac_1_1ConditionalCommand.html#a2df2f70adaf901979e794e8908fa8fb6">ConditionType</a> condition_)</td></tr>
<tr class="memdesc:a6e54cbc8d2130e2334c25bf2dda737b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method for setting the condition under which the command should run. <a href="classdnac_1_1ConditionalCommand.html#a6e54cbc8d2130e2334c25bf2dda737b7">More...</a><br /></td></tr>
<tr class="separator:a6e54cbc8d2130e2334c25bf2dda737b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeffefec94ab5bad0780992b3240e59af"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1ConditionalCommand.html#aeffefec94ab5bad0780992b3240e59af">run</a> (<a class="el" href="classdnac_1_1DNACalibDNAReader.html">DNACalibDNAReader</a> *output) override</td></tr>
<tr class="separator:aeffefec94ab5bad0780992b3240e59af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classdnac_1_1Command"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classdnac_1_1Command')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classdnac_1_1Command.html">dnac::Command</a></td></tr>
<tr class="memitem:a61be18c56cbef51019c8f7b1f752518c inherit pub_methods_classdnac_1_1Command"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1Command.html#a61be18c56cbef51019c8f7b1f752518c">~Command</a> ()</td></tr>
<tr class="separator:a61be18c56cbef51019c8f7b1f752518c inherit pub_methods_classdnac_1_1Command"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a204ca2536a334f4eb83c66e09ef3ecee inherit pub_methods_classdnac_1_1Command"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1Command.html#a204ca2536a334f4eb83c66e09ef3ecee">run</a> (<a class="el" href="classdnac_1_1DNACalibDNAReader.html">DNACalibDNAReader</a> *output)=0</td></tr>
<tr class="separator:a204ca2536a334f4eb83c66e09ef3ecee inherit pub_methods_classdnac_1_1Command"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-types" name="pri-types"></a>
Private Types</h2></td></tr>
<tr class="memitem:a0a174e09c26d68e2903ed8d7e61777be"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1ConditionalCommand.html#a0a174e09c26d68e2903ed8d7e61777be">CommandType</a> = TCommand</td></tr>
<tr class="separator:a0a174e09c26d68e2903ed8d7e61777be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2df2f70adaf901979e794e8908fa8fb6"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1ConditionalCommand.html#a2df2f70adaf901979e794e8908fa8fb6">ConditionType</a> = TCondition</td></tr>
<tr class="separator:a2df2f70adaf901979e794e8908fa8fb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ac3d7686824c816df5b174f0ed501e20d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdnac_1_1ConditionalCommand.html#a0a174e09c26d68e2903ed8d7e61777be">CommandType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1ConditionalCommand.html#ac3d7686824c816df5b174f0ed501e20d">command</a></td></tr>
<tr class="separator:ac3d7686824c816df5b174f0ed501e20d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4c7fcbab3877d5ff0dc4f4258fac461"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdnac_1_1ConditionalCommand.html#a2df2f70adaf901979e794e8908fa8fb6">ConditionType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdnac_1_1ConditionalCommand.html#aa4c7fcbab3877d5ff0dc4f4258fac461">condition</a></td></tr>
<tr class="separator:aa4c7fcbab3877d5ff0dc4f4258fac461"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class TCommand, class TCondition&gt;<br />
class dnac::ConditionalCommand&lt; TCommand, TCondition &gt;</div><p ><a class="el" href="classdnac_1_1ConditionalCommand.html" title="ConditionalCommand is used to run a command if the specified condition is met.">ConditionalCommand</a> is used to run a command if the specified condition is met. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a0a174e09c26d68e2903ed8d7e61777be" name="a0a174e09c26d68e2903ed8d7e61777be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a174e09c26d68e2903ed8d7e61777be">&#9670;&nbsp;</a></span>CommandType</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TCommand , class TCondition &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classdnac_1_1ConditionalCommand.html">dnac::ConditionalCommand</a>&lt; TCommand, TCondition &gt;::CommandType = TCommand</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a2df2f70adaf901979e794e8908fa8fb6" name="a2df2f70adaf901979e794e8908fa8fb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2df2f70adaf901979e794e8908fa8fb6">&#9670;&nbsp;</a></span>ConditionType</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TCommand , class TCondition &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classdnac_1_1ConditionalCommand.html">dnac::ConditionalCommand</a>&lt; TCommand, TCondition &gt;::ConditionType = TCondition</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad2119e90f088ffb7ffe1c493128a681f" name="ad2119e90f088ffb7ffe1c493128a681f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2119e90f088ffb7ffe1c493128a681f">&#9670;&nbsp;</a></span>ConditionalCommand() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TCommand , class TCondition &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdnac_1_1ConditionalCommand.html">dnac::ConditionalCommand</a>&lt; TCommand, TCondition &gt;::ConditionalCommand </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<div class="fragment"><div class="line"><span class="lineno"> 21</span> :</div>
<div class="line"><span class="lineno"> 22</span> <a class="code hl_variable" href="classdnac_1_1ConditionalCommand.html#ac3d7686824c816df5b174f0ed501e20d">command</a>{<span class="keyword">nullptr</span>},</div>
<div class="line"><span class="lineno"> 23</span> <a class="code hl_variable" href="classdnac_1_1ConditionalCommand.html#aa4c7fcbab3877d5ff0dc4f4258fac461">condition</a>{} {</div>
<div class="line"><span class="lineno"> 24</span> }</div>
<div class="ttc" id="aclassdnac_1_1ConditionalCommand_html_aa4c7fcbab3877d5ff0dc4f4258fac461"><div class="ttname"><a href="classdnac_1_1ConditionalCommand.html#aa4c7fcbab3877d5ff0dc4f4258fac461">dnac::ConditionalCommand::condition</a></div><div class="ttdeci">ConditionType condition</div><div class="ttdef"><b>Definition:</b> ConditionalCommand.h:65</div></div>
<div class="ttc" id="aclassdnac_1_1ConditionalCommand_html_ac3d7686824c816df5b174f0ed501e20d"><div class="ttname"><a href="classdnac_1_1ConditionalCommand.html#ac3d7686824c816df5b174f0ed501e20d">dnac::ConditionalCommand::command</a></div><div class="ttdeci">CommandType * command</div><div class="ttdef"><b>Definition:</b> ConditionalCommand.h:64</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a5b68e4bdeb69709ecae44e67c802e9ab" name="a5b68e4bdeb69709ecae44e67c802e9ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b68e4bdeb69709ecae44e67c802e9ab">&#9670;&nbsp;</a></span>ConditionalCommand() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TCommand , class TCondition &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdnac_1_1ConditionalCommand.html">dnac::ConditionalCommand</a>&lt; TCommand, TCondition &gt;::ConditionalCommand </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdnac_1_1ConditionalCommand.html#a0a174e09c26d68e2903ed8d7e61777be">CommandType</a> *&#160;</td>
<td class="paramname"><em>command_</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classdnac_1_1ConditionalCommand.html#a2df2f70adaf901979e794e8908fa8fb6">ConditionType</a>&#160;</td>
<td class="paramname"><em>condition_</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<div class="fragment"><div class="line"><span class="lineno"> 26</span> :</div>
<div class="line"><span class="lineno"> 27</span> <a class="code hl_variable" href="classdnac_1_1ConditionalCommand.html#ac3d7686824c816df5b174f0ed501e20d">command</a>{command_},</div>
<div class="line"><span class="lineno"> 28</span> <a class="code hl_variable" href="classdnac_1_1ConditionalCommand.html#aa4c7fcbab3877d5ff0dc4f4258fac461">condition</a>{condition_} {</div>
<div class="line"><span class="lineno"> 29</span> }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a99b854e3904de1e26245d8d811b9e697" name="a99b854e3904de1e26245d8d811b9e697"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99b854e3904de1e26245d8d811b9e697">&#9670;&nbsp;</a></span>~ConditionalCommand()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TCommand , class TCondition &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdnac_1_1ConditionalCommand.html">dnac::ConditionalCommand</a>&lt; TCommand, TCondition &gt;::~<a class="el" href="classdnac_1_1ConditionalCommand.html">ConditionalCommand</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a61c5619dc7d7a5c9a0e07d4697dfb174" name="a61c5619dc7d7a5c9a0e07d4697dfb174"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61c5619dc7d7a5c9a0e07d4697dfb174">&#9670;&nbsp;</a></span>ConditionalCommand() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TCommand , class TCondition &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdnac_1_1ConditionalCommand.html">dnac::ConditionalCommand</a>&lt; TCommand, TCondition &gt;::ConditionalCommand </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classdnac_1_1ConditionalCommand.html">ConditionalCommand</a>&lt; TCommand, TCondition &gt; &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="addeddb4d16bf906965ade5ee3c49117b" name="addeddb4d16bf906965ade5ee3c49117b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addeddb4d16bf906965ade5ee3c49117b">&#9670;&nbsp;</a></span>ConditionalCommand() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TCommand , class TCondition &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdnac_1_1ConditionalCommand.html">dnac::ConditionalCommand</a>&lt; TCommand, TCondition &gt;::ConditionalCommand </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdnac_1_1ConditionalCommand.html">ConditionalCommand</a>&lt; TCommand, TCondition &gt; &amp;&amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab29990c1be257ab79ad5fff5e0b5e2b7" name="ab29990c1be257ab79ad5fff5e0b5e2b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab29990c1be257ab79ad5fff5e0b5e2b7">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TCommand , class TCondition &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdnac_1_1ConditionalCommand.html">ConditionalCommand</a> &amp; <a class="el" href="classdnac_1_1ConditionalCommand.html">dnac::ConditionalCommand</a>&lt; TCommand, TCondition &gt;::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdnac_1_1ConditionalCommand.html">ConditionalCommand</a>&lt; TCommand, TCondition &gt; &amp;&amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa2ce23f0a6a53121fd753cddc0fd6d28" name="aa2ce23f0a6a53121fd753cddc0fd6d28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2ce23f0a6a53121fd753cddc0fd6d28">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TCommand , class TCondition &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdnac_1_1ConditionalCommand.html">ConditionalCommand</a> &amp; <a class="el" href="classdnac_1_1ConditionalCommand.html">dnac::ConditionalCommand</a>&lt; TCommand, TCondition &gt;::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classdnac_1_1ConditionalCommand.html">ConditionalCommand</a>&lt; TCommand, TCondition &gt; &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aeffefec94ab5bad0780992b3240e59af" name="aeffefec94ab5bad0780992b3240e59af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeffefec94ab5bad0780992b3240e59af">&#9670;&nbsp;</a></span>run()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TCommand , class TCondition &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classdnac_1_1ConditionalCommand.html">dnac::ConditionalCommand</a>&lt; TCommand, TCondition &gt;::run </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdnac_1_1DNACalibDNAReader.html">DNACalibDNAReader</a> *&#160;</td>
<td class="paramname"><em>output</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classdnac_1_1Command.html#a204ca2536a334f4eb83c66e09ef3ecee">dnac::Command</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 57</span> {</div>
<div class="line"><span class="lineno"> 58</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classdnac_1_1ConditionalCommand.html#ac3d7686824c816df5b174f0ed501e20d">command</a> &amp;&amp; <a class="code hl_variable" href="classdnac_1_1ConditionalCommand.html#aa4c7fcbab3877d5ff0dc4f4258fac461">condition</a>(<a class="code hl_variable" href="classdnac_1_1ConditionalCommand.html#ac3d7686824c816df5b174f0ed501e20d">command</a>, output)) {</div>
<div class="line"><span class="lineno"> 59</span> <a class="code hl_variable" href="classdnac_1_1ConditionalCommand.html#ac3d7686824c816df5b174f0ed501e20d">command</a>-&gt;run(output);</div>
<div class="line"><span class="lineno"> 60</span> }</div>
<div class="line"><span class="lineno"> 61</span> }</div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="classdnac_1_1ConditionalCommand.html#ac3d7686824c816df5b174f0ed501e20d">dnac::ConditionalCommand&lt; TCommand, TCondition &gt;::command</a>, and <a class="el" href="classdnac_1_1ConditionalCommand.html#aa4c7fcbab3877d5ff0dc4f4258fac461">dnac::ConditionalCommand&lt; TCommand, TCondition &gt;::condition</a>.</p>
</div>
</div>
<a id="ac4f6fc29aa10707cd172e25f44f73586" name="ac4f6fc29aa10707cd172e25f44f73586"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4f6fc29aa10707cd172e25f44f73586">&#9670;&nbsp;</a></span>setCommand()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TCommand , class TCondition &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classdnac_1_1ConditionalCommand.html">dnac::ConditionalCommand</a>&lt; TCommand, TCondition &gt;::setCommand </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdnac_1_1Command.html">Command</a> *&#160;</td>
<td class="paramname"><em>command_</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Method for setting the command to run. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">command_</td><td>The command to run. </td></tr>
</table>
</dd>
</dl>
<div class="fragment"><div class="line"><span class="lineno"> 44</span> {</div>
<div class="line"><span class="lineno"> 45</span> <a class="code hl_variable" href="classdnac_1_1ConditionalCommand.html#ac3d7686824c816df5b174f0ed501e20d">command</a> = command_;</div>
<div class="line"><span class="lineno"> 46</span> }</div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="classdnac_1_1ConditionalCommand.html#ac3d7686824c816df5b174f0ed501e20d">dnac::ConditionalCommand&lt; TCommand, TCondition &gt;::command</a>.</p>
</div>
</div>
<a id="a6e54cbc8d2130e2334c25bf2dda737b7" name="a6e54cbc8d2130e2334c25bf2dda737b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e54cbc8d2130e2334c25bf2dda737b7">&#9670;&nbsp;</a></span>setCondition()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TCommand , class TCondition &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classdnac_1_1ConditionalCommand.html">dnac::ConditionalCommand</a>&lt; TCommand, TCondition &gt;::setCondition </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdnac_1_1ConditionalCommand.html#a2df2f70adaf901979e794e8908fa8fb6">ConditionType</a>&#160;</td>
<td class="paramname"><em>condition_</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Method for setting the condition under which the command should run. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">condition_</td><td>The condition that should be met. </td></tr>
</table>
</dd>
</dl>
<div class="fragment"><div class="line"><span class="lineno"> 53</span> {</div>
<div class="line"><span class="lineno"> 54</span> <a class="code hl_variable" href="classdnac_1_1ConditionalCommand.html#aa4c7fcbab3877d5ff0dc4f4258fac461">condition</a> = condition_;</div>
<div class="line"><span class="lineno"> 55</span> }</div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="classdnac_1_1ConditionalCommand.html#aa4c7fcbab3877d5ff0dc4f4258fac461">dnac::ConditionalCommand&lt; TCommand, TCondition &gt;::condition</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ac3d7686824c816df5b174f0ed501e20d" name="ac3d7686824c816df5b174f0ed501e20d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3d7686824c816df5b174f0ed501e20d">&#9670;&nbsp;</a></span>command</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TCommand , class TCondition &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdnac_1_1ConditionalCommand.html#a0a174e09c26d68e2903ed8d7e61777be">CommandType</a>* <a class="el" href="classdnac_1_1ConditionalCommand.html">dnac::ConditionalCommand</a>&lt; TCommand, TCondition &gt;::command</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="classdnac_1_1ConditionalCommand.html#aeffefec94ab5bad0780992b3240e59af">dnac::ConditionalCommand&lt; TCommand, TCondition &gt;::run()</a>, and <a class="el" href="classdnac_1_1ConditionalCommand.html#ac4f6fc29aa10707cd172e25f44f73586">dnac::ConditionalCommand&lt; TCommand, TCondition &gt;::setCommand()</a>.</p>
</div>
</div>
<a id="aa4c7fcbab3877d5ff0dc4f4258fac461" name="aa4c7fcbab3877d5ff0dc4f4258fac461"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4c7fcbab3877d5ff0dc4f4258fac461">&#9670;&nbsp;</a></span>condition</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TCommand , class TCondition &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdnac_1_1ConditionalCommand.html#a2df2f70adaf901979e794e8908fa8fb6">ConditionType</a> <a class="el" href="classdnac_1_1ConditionalCommand.html">dnac::ConditionalCommand</a>&lt; TCommand, TCondition &gt;::condition</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="classdnac_1_1ConditionalCommand.html#aeffefec94ab5bad0780992b3240e59af">dnac::ConditionalCommand&lt; TCommand, TCondition &gt;::run()</a>, and <a class="el" href="classdnac_1_1ConditionalCommand.html#a6e54cbc8d2130e2334c25bf2dda737b7">dnac::ConditionalCommand&lt; TCommand, TCondition &gt;::setCondition()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ConditionalCommand_8h_source.html">ConditionalCommand.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
</small></address>
</body>
</html>