<!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"/> <title>GNU Radio 3.2.2 C++ API: mb_runtime_base Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.2 --> <div class="contents"> <h1>mb_runtime_base Class Reference</h1><!-- doxytag: class="mb_runtime_base" --><!-- doxytag: inherits="mb_runtime" --> <p><code>#include <<a class="el" href="mb__runtime__base_8h_source.html">mb_runtime_base.h</a>></code></p> <div class="dynheader"> Inheritance diagram for mb_runtime_base:</div> <div class="dynsection"> <div class="center"><img src="classmb__runtime__base__inherit__graph.png" border="0" usemap="#mb__runtime__base_inherit__map" alt="Inheritance graph"/></div> <map name="mb__runtime__base_inherit__map" id="mb__runtime__base_inherit__map"> <area shape="rect" id="node5" href="classmb__runtime__nop.html" title="Concrete runtime that does nothing. Used only during early QA tests." alt="" coords="5,160,123,189"/><area shape="rect" id="node7" href="classmb__runtime__thread__per__block.html" title="Concrete runtime that uses a thread per mblock." alt="" coords="147,160,341,189"/><area shape="rect" id="node2" href="classmb__runtime.html" title="Abstract runtime support for m-blocks." alt="" coords="108,5,199,35"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classmb__runtime__base-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__runtime__base.html#ac9944a6774ab7ba81eca59d1ea0e673f">lock</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">lock the big runtime lock <a href="#ac9944a6774ab7ba81eca59d1ea0e673f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__runtime__base.html#abb6d8310dfeec507938fef91425a963a">unlock</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">unlock the big runtime lock <a href="#abb6d8310dfeec507938fef91425a963a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__runtime__base.html#acfefe1d5c599a0737cd396d078e16a57">request_shutdown</a> (<a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> result)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classboost_1_1shared__ptr.html">mb_mblock_sptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__runtime__base.html#a0ae17910d65487595d86168fd55c18b2">create_component</a> (const std::string &instance_name, const std::string &class_name, <a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> user_arg)=0</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__runtime__base.html#af8821d8647adc7514f996132a0ff7851">schedule_one_shot_timeout</a> (const <a class="el" href="structomni__time.html">mb_time</a> &abs_time, <a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> user_data, <a class="el" href="classboost_1_1shared__ptr.html">mb_msg_accepter_sptr</a> accepter)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__runtime__base.html#a149a0b4c01ce681ce1e548380c467140">schedule_periodic_timeout</a> (const <a class="el" href="structomni__time.html">mb_time</a> &first_abs_time, const <a class="el" href="structomni__time.html">mb_time</a> &delta_time, <a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> user_data, <a class="el" href="classboost_1_1shared__ptr.html">mb_msg_accepter_sptr</a> accepter)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__runtime__base.html#abbdf8542365e88cc9c0dc4d78d8d5380">cancel_timeout</a> (<a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> handle)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">mb_msg_accepter_sptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__runtime__base.html#ab3173c15358d80fbf11d6e4d950ddacb">accepter</a> ()</td></tr> <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">mb_msg_accepter_sptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmb__runtime__base.html#a700f4ec2bca9fb83368e3dfaafc57464">d_accepter</a></td></tr> </table> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ab3173c15358d80fbf11d6e4d950ddacb"></a><!-- doxytag: member="mb_runtime_base::accepter" ref="ab3173c15358d80fbf11d6e4d950ddacb" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">mb_msg_accepter_sptr</a> mb_runtime_base::accepter </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>References <a class="el" href="mb__runtime__base_8h_source.html#l00037">d_accepter</a>.</p> </div> </div> <a class="anchor" id="abbdf8542365e88cc9c0dc4d78d8d5380"></a><!-- doxytag: member="mb_runtime_base::cancel_timeout" ref="abbdf8542365e88cc9c0dc4d78d8d5380" args="(pmt_t handle)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void mb_runtime_base::cancel_timeout </td> <td>(</td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td> <td class="paramname"> <em>handle</em></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented in <a class="el" href="classmb__runtime__thread__per__block.html#addc01ab4eafaf984f85a0cbcf6241949">mb_runtime_thread_per_block</a>.</p> </div> </div> <a class="anchor" id="a0ae17910d65487595d86168fd55c18b2"></a><!-- doxytag: member="mb_runtime_base::create_component" ref="a0ae17910d65487595d86168fd55c18b2" args="(const std::string &instance_name, const std::string &class_name, pmt_t user_arg)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classboost_1_1shared__ptr.html">mb_mblock_sptr</a> mb_runtime_base::create_component </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>instance_name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>class_name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td> <td class="paramname"> <em>user_arg</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Implemented in <a class="el" href="classmb__runtime__nop.html#a61e1865ac23b9d049622fe56113d5474">mb_runtime_nop</a>, and <a class="el" href="classmb__runtime__thread__per__block.html#a1ec0778a6a20376c27abfd89f9dfc635">mb_runtime_thread_per_block</a>.</p> </div> </div> <a class="anchor" id="ac9944a6774ab7ba81eca59d1ea0e673f"></a><!-- doxytag: member="mb_runtime_base::lock" ref="ac9944a6774ab7ba81eca59d1ea0e673f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mb_runtime_base::lock </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>lock the big runtime lock </p> <p>References <a class="el" href="omnithread_8h_source.html#l00189">omni_mutex::lock()</a>.</p> <p>Referenced by <a class="el" href="mbi__runtime__lock_8h_source.html#l00053">mbi_runtime_lock::mbi_runtime_lock()</a>.</p> </div> </div> <a class="anchor" id="acfefe1d5c599a0737cd396d078e16a57"></a><!-- doxytag: member="mb_runtime_base::request_shutdown" ref="acfefe1d5c599a0737cd396d078e16a57" args="(pmt_t result)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void mb_runtime_base::request_shutdown </td> <td>(</td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td> <td class="paramname"> <em>result</em></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented in <a class="el" href="classmb__runtime__thread__per__block.html#ac5269d8ff22ec66939917da362a46da8">mb_runtime_thread_per_block</a>.</p> </div> </div> <a class="anchor" id="af8821d8647adc7514f996132a0ff7851"></a><!-- doxytag: member="mb_runtime_base::schedule_one_shot_timeout" ref="af8821d8647adc7514f996132a0ff7851" args="(const mb_time &abs_time, pmt_t user_data, mb_msg_accepter_sptr accepter)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> mb_runtime_base::schedule_one_shot_timeout </td> <td>(</td> <td class="paramtype">const <a class="el" href="structomni__time.html">mb_time</a> & </td> <td class="paramname"> <em>abs_time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td> <td class="paramname"> <em>user_data</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">mb_msg_accepter_sptr</a> </td> <td class="paramname"> <em>accepter</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented in <a class="el" href="classmb__runtime__thread__per__block.html#a47868950261291ccd91fe3e718d1ee8c">mb_runtime_thread_per_block</a>.</p> </div> </div> <a class="anchor" id="a149a0b4c01ce681ce1e548380c467140"></a><!-- doxytag: member="mb_runtime_base::schedule_periodic_timeout" ref="a149a0b4c01ce681ce1e548380c467140" args="(const mb_time &first_abs_time, const mb_time &delta_time, pmt_t user_data, mb_msg_accepter_sptr accepter)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> mb_runtime_base::schedule_periodic_timeout </td> <td>(</td> <td class="paramtype">const <a class="el" href="structomni__time.html">mb_time</a> & </td> <td class="paramname"> <em>first_abs_time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="structomni__time.html">mb_time</a> & </td> <td class="paramname"> <em>delta_time</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">pmt_t</a> </td> <td class="paramname"> <em>user_data</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classboost_1_1shared__ptr.html">mb_msg_accepter_sptr</a> </td> <td class="paramname"> <em>accepter</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented in <a class="el" href="classmb__runtime__thread__per__block.html#a81ca8d079e5b1f3e18df90b064d23c6d">mb_runtime_thread_per_block</a>.</p> </div> </div> <a class="anchor" id="abb6d8310dfeec507938fef91425a963a"></a><!-- doxytag: member="mb_runtime_base::unlock" ref="abb6d8310dfeec507938fef91425a963a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mb_runtime_base::unlock </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>unlock the big runtime lock </p> <p>References <a class="el" href="omnithread_8h_source.html#l00190">omni_mutex::unlock()</a>.</p> <p>Referenced by <a class="el" href="mbi__runtime__lock_8h_source.html#l00056">mbi_runtime_lock::~mbi_runtime_lock()</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a700f4ec2bca9fb83368e3dfaafc57464"></a><!-- doxytag: member="mb_runtime_base::d_accepter" ref="a700f4ec2bca9fb83368e3dfaafc57464" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">mb_msg_accepter_sptr</a> <a class="el" href="classmb__runtime__base.html#a700f4ec2bca9fb83368e3dfaafc57464">mb_runtime_base::d_accepter</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Referenced by <a class="el" href="mb__runtime__base_8h_source.html#l00073">accepter()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="mb__runtime__base_8h_source.html">mb_runtime_base.h</a></li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> </body> </html>