<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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=9"/> <meta name="generator" content="Doxygen 1.8.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>tesseract: _TessFunctionResultCallback_5_0< del, void, P1, P2, P3, P4, P5 > 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="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <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); /* @license-end */</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 style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">tesseract  <span id="projectnumber">3.05.02</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('a03101.html','');}); /* @license-end */ </script> <div id="doc-content"> <!-- 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 class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="a03098.html">List of all members</a> </div> <div class="headertitle"> <div class="title">_TessFunctionResultCallback_5_0< del, void, P1, P2, P3, P4, P5 > Class Template Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="a00596_source.html">tesscallback.h</a>></code></p> <div class="dynheader"> Inheritance diagram for _TessFunctionResultCallback_5_0< del, void, P1, P2, P3, P4, P5 >:</div> <div class="dyncontent"> <div class="center"> <img src="a03101.png" usemap="#_5FTessFunctionResultCallback_5F5_5F0_3C_20del_2C_20void_2C_20P1_2C_20P2_2C_20P3_2C_20P4_2C_20P5_20_3E_map" alt=""/> <map id="_5FTessFunctionResultCallback_5F5_5F0_3C_20del_2C_20void_2C_20P1_2C_20P2_2C_20P3_2C_20P4_2C_20P5_20_3E_map" name="_5FTessFunctionResultCallback_5F5_5F0_3C_20del_2C_20void_2C_20P1_2C_20P2_2C_20P3_2C_20P4_2C_20P5_20_3E_map"> <area href="a02941.html" alt="TessClosure" shape="rect" coords="0,0,399,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:aa4d03a02bf082a78deb8608155c432b8"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="a02941.html">TessClosure</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a03101.html#aa4d03a02bf082a78deb8608155c432b8">base</a></td></tr> <tr class="separator:aa4d03a02bf082a78deb8608155c432b8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2130bb27afaaec6382a982e8e780dceb"><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a03101.html#a2130bb27afaaec6382a982e8e780dceb">FunctionSignature</a>) (P1, P2, P3, P4, P5)</td></tr> <tr class="separator:a2130bb27afaaec6382a982e8e780dceb"><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> Public Member Functions</h2></td></tr> <tr class="memitem:a572b262ab81573fa7ffbeb58523a1bdf"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a03101.html#a572b262ab81573fa7ffbeb58523a1bdf">_TessFunctionResultCallback_5_0</a> (<a class="el" href="a03101.html#a2130bb27afaaec6382a982e8e780dceb">FunctionSignature</a> function, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5)</td></tr> <tr class="separator:a572b262ab81573fa7ffbeb58523a1bdf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4ab8b68cd097688884bae19e1fda1049"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a03101.html#a4ab8b68cd097688884bae19e1fda1049">Run</a> ()</td></tr> <tr class="separator:a4ab8b68cd097688884bae19e1fda1049"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_a02941"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a02941')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="a02941.html">TessClosure</a></td></tr> <tr class="memitem:ac5ed723f7db3eadb023898a9343b8d16 inherit pub_methods_a02941"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="a02941.html#ac5ed723f7db3eadb023898a9343b8d16">~TessClosure</a> ()</td></tr> <tr class="separator:ac5ed723f7db3eadb023898a9343b8d16 inherit pub_methods_a02941"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><h3>template<bool del, class P1, class P2, class P3, class P4, class P5><br /> class _TessFunctionResultCallback_5_0< del, void, P1, P2, P3, P4, P5 ></h3> <p class="definition">Definition at line <a class="el" href="a00596_source.html#l01380">1380</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p> </div><h2 class="groupheader">Member Typedef Documentation</h2> <a id="aa4d03a02bf082a78deb8608155c432b8"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa4d03a02bf082a78deb8608155c432b8">◆ </a></span>base</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<bool del, class P1 , class P2 , class P3 , class P4 , class P5 > </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a02941.html">TessClosure</a> <a class="el" href="a03097.html">_TessFunctionResultCallback_5_0</a>< del, void, P1, P2, P3, P4, P5 >::<a class="el" href="a03101.html#aa4d03a02bf082a78deb8608155c432b8">base</a></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00596_source.html#l01382">1382</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p> </div> </div> <a id="a2130bb27afaaec6382a982e8e780dceb"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2130bb27afaaec6382a982e8e780dceb">◆ </a></span>FunctionSignature</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<bool del, class P1 , class P2 , class P3 , class P4 , class P5 > </div> <table class="memname"> <tr> <td class="memname">typedef void(* <a class="el" href="a03097.html">_TessFunctionResultCallback_5_0</a>< del, void, P1, P2, P3, P4, P5 >::FunctionSignature) (P1, P2, P3, P4, P5)</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00596_source.html#l01383">1383</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p> </div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="a572b262ab81573fa7ffbeb58523a1bdf"></a> <h2 class="memtitle"><span class="permalink"><a href="#a572b262ab81573fa7ffbeb58523a1bdf">◆ </a></span>_TessFunctionResultCallback_5_0()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<bool del, class P1 , class P2 , class P3 , class P4 , class P5 > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a03097.html">_TessFunctionResultCallback_5_0</a>< del, void, P1, P2, P3, P4, P5 >::<a class="el" href="a03097.html">_TessFunctionResultCallback_5_0</a> </td> <td>(</td> <td class="paramtype"><a class="el" href="a03101.html#a2130bb27afaaec6382a982e8e780dceb">FunctionSignature</a> </td> <td class="paramname"><em>function</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">P1 </td> <td class="paramname"><em>p1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">P2 </td> <td class="paramname"><em>p2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">P3 </td> <td class="paramname"><em>p3</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">P4 </td> <td class="paramname"><em>p4</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">P5 </td> <td class="paramname"><em>p5</em> </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"> <p class="definition">Definition at line <a class="el" href="a00596_source.html#l01394">1394</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p> <div class="fragment"><div class="line"><a name="l01395"></a><span class="lineno"> 1395</span>  : function_(<span class="keyword">function</span>), p1_(p1), p2_(p2), p3_(p3), p4_(p4), p5_(p5) { }</div></div><!-- fragment --> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="a4ab8b68cd097688884bae19e1fda1049"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4ab8b68cd097688884bae19e1fda1049">◆ </a></span>Run()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<bool del, class P1 , class P2 , class P3 , class P4 , class P5 > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void <a class="el" href="a03097.html">_TessFunctionResultCallback_5_0</a>< del, void, P1, P2, P3, P4, P5 >::Run </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 class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Implements <a class="el" href="a02941.html#a71de156dcb5860a8c56d2ad9dd4c4529">TessClosure</a>.</p> <p class="definition">Definition at line <a class="el" href="a00596_source.html#l01397">1397</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p> <div class="fragment"><div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>  {</div><div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>  <span class="keywordflow">if</span> (!del) {</div><div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>  (*function_)(p1_,p2_,p3_,p4_,p5_);</div><div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>  (*function_)(p1_,p2_,p3_,p4_,p5_);</div><div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>  <span class="comment">// zero out the pointer to ensure segfault if used again</span></div><div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>  function_ = NULL;</div><div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>  <span class="keyword">delete</span> <span class="keyword">this</span>;</div><div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>  }</div><div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>  }</div></div><!-- fragment --> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>ccutil/<a class="el" href="a00596_source.html">tesscallback.h</a></li> </ul> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="a03101.html">_TessFunctionResultCallback_5_0< del, void, P1, P2, P3, P4, P5 ></a></li> <li class="footer">Generated on Mon Oct 29 2018 11:27:58 for tesseract by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li> </ul> </div> </body> </html>