Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 7a65d2578765429f23843d9c8d1c0efa > files > 358

libgstreamermm-devel-0.10.5.2-1mdv2010.0.i586.rpm

<!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>gstreamermm: Gst::ClockID 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.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGst.html">Gst</a>::<a class="el" href="classGst_1_1ClockID.html">ClockID</a>
  </div>
</div>
<div class="contents">
<h1>Gst::ClockID Class Reference</h1><!-- doxytag: class="Gst::ClockID" -->
<p>A datatype to hold the handle to an outstanding sync or async clock callback. <a href="#_details">More...</a></p>

<p><a href="classGst_1_1ClockID-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; bool, <br class="typebreak"/>
const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGst_1_1Clock.html">Gst::Clock</a> &gt;<br class="typebreak"/>
&amp;, <a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>, const <br class="typebreak"/>
<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGst_1_1ClockID.html">Gst::ClockID</a> &gt;&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ClockID.html#a78a33ddc8fe0c105dc774c5717222786">SlotClock</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For example, bool on_clock(const Glib::RefPtr&lt;Gst::Clock&gt;&amp; clock, ClockTime time, const Glib::RefPtr&lt;Gst::ClockID&gt;&amp; id);. <a href="#a78a33ddc8fe0c105dc774c5717222786"></a><br/></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ClockID.html#a6da45cb2903241e49d1e30b312c05d45">reference</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ClockID.html#ac79a3dacc0f64f684013cc4273185bdc">unreference</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GstClockEntry*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ClockID.html#a3dfdddcd929a4bbbb0965367682fa39d">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a3dfdddcd929a4bbbb0965367682fa39d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GstClockEntry*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ClockID.html#ad55bacf6bc0c13d2eaf9119a53472ce2">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. <a href="#ad55bacf6bc0c13d2eaf9119a53472ce2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GstClockEntry*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ClockID.html#a0a1e2a8dd6d0389039087ab410c9dcfe">gobj_copy</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a0a1e2a8dd6d0389039087ab410c9dcfe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ClockID.html#a98c71083a3ab7a58708fe4c5c7bf76ff">get_time</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the time of the clock ID. <a href="#a98c71083a3ab7a58708fe4c5c7bf76ff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gstreamermmEnums.html#gaa501f23d690de389e755e652093d9392">ClockReturn</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ClockID.html#accdf252dcc9f7ba00d46e7c979fbf137">wait</a> (<a class="el" href="namespaceGst.html#a1bd878eb666682156ef268a6ff0ad16c">ClockTimeDiff</a>&amp; jitter)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform a blocking wait on the <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a>. <a href="#accdf252dcc9f7ba00d46e7c979fbf137"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gstreamermmEnums.html#gaa501f23d690de389e755e652093d9392">ClockReturn</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ClockID.html#ad11cfa71447a9365364ee3e63b3bcd4b">wait</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform a blocking wait without requiring a jitter argument. <a href="#ad11cfa71447a9365364ee3e63b3bcd4b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gstreamermmEnums.html#gaa501f23d690de389e755e652093d9392">ClockReturn</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ClockID.html#a05351f52919ad9a36743f59848e74c28">wait_async</a> (const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotClock</a>&amp; slot)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a slot on the given <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a> id with the given slot. <a href="#a05351f52919ad9a36743f59848e74c28"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ClockID.html#aac9b66d4c3632a5f2c7bc3a1975cfded">unschedule</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Cancel an outstanding request with <em>id</em>. <a href="#aac9b66d4c3632a5f2c7bc3a1975cfded"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ClockID.html#a8bde694586936a5d0daa973191c82b22">ClockID</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ClockID.html#ab53858a362a091ca0b2784f113279f74">operator delete</a> (void*, size_t)</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGst_1_1ClockID.html">Gst::ClockID</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ClockID.html#aba633ba6dde51e71c5e61d0555d836f2">wrap</a> (GstClockEntry* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#aba633ba6dde51e71c5e61d0555d836f2"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A datatype to hold the handle to an outstanding sync or async clock callback. </p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a78a33ddc8fe0c105dc774c5717222786"></a><!-- doxytag: member="Gst::ClockID::SlotClock" ref="a78a33ddc8fe0c105dc774c5717222786" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">sigc::slot</a>&lt; bool, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGst_1_1Clock.html">Gst::Clock</a>&gt;&amp;, <a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGst_1_1ClockID.html">Gst::ClockID</a>&gt;&amp; &gt; <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">Gst::ClockID::SlotClock</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For example, bool on_clock(const Glib::RefPtr&lt;Gst::Clock&gt;&amp; clock, ClockTime time, const Glib::RefPtr&lt;Gst::ClockID&gt;&amp; id);. </p>
<p>The clock function return value is currently unused (see GstClockCallback). </p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8bde694586936a5d0daa973191c82b22"></a><!-- doxytag: member="Gst::ClockID::ClockID" ref="a8bde694586936a5d0daa973191c82b22" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gst::ClockID::ClockID </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a98c71083a3ab7a58708fe4c5c7bf76ff"></a><!-- doxytag: member="Gst::ClockID::get_time" ref="a98c71083a3ab7a58708fe4c5c7bf76ff" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a> Gst::ClockID::get_time </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the time of the clock ID. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The time of the given clock id.</dd></dl>
<p>MT safe. </p>

</div>
</div>
<a class="anchor" id="ad55bacf6bc0c13d2eaf9119a53472ce2"></a><!-- doxytag: member="Gst::ClockID::gobj" ref="ad55bacf6bc0c13d2eaf9119a53472ce2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GstClockEntry* Gst::ClockID::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a class="anchor" id="a3dfdddcd929a4bbbb0965367682fa39d"></a><!-- doxytag: member="Gst::ClockID::gobj" ref="a3dfdddcd929a4bbbb0965367682fa39d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GstClockEntry* Gst::ClockID::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a class="anchor" id="a0a1e2a8dd6d0389039087ab410c9dcfe"></a><!-- doxytag: member="Gst::ClockID::gobj_copy" ref="a0a1e2a8dd6d0389039087ab410c9dcfe" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GstClockEntry* Gst::ClockID::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a class="anchor" id="ab53858a362a091ca0b2784f113279f74"></a><!-- doxytag: member="Gst::ClockID::operator delete" ref="ab53858a362a091ca0b2784f113279f74" args="(void *, size_t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::ClockID::operator delete </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6da45cb2903241e49d1e30b312c05d45"></a><!-- doxytag: member="Gst::ClockID::reference" ref="a6da45cb2903241e49d1e30b312c05d45" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::ClockID::reference </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac79a3dacc0f64f684013cc4273185bdc"></a><!-- doxytag: member="Gst::ClockID::unreference" ref="ac79a3dacc0f64f684013cc4273185bdc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::ClockID::unreference </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aac9b66d4c3632a5f2c7bc3a1975cfded"></a><!-- doxytag: member="Gst::ClockID::unschedule" ref="aac9b66d4c3632a5f2c7bc3a1975cfded" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::ClockID::unschedule </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Cancel an outstanding request with <em>id</em>. </p>
<p>This can either be an outstanding async notification or a pending sync notification. After this call, <em>id</em> cannot be used anymore to receive sync or async notifications, you need to create a new <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a>.</p>
<p>MT safe. </p>

</div>
</div>
<a class="anchor" id="ad11cfa71447a9365364ee3e63b3bcd4b"></a><!-- doxytag: member="Gst::ClockID::wait" ref="ad11cfa71447a9365364ee3e63b3bcd4b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gstreamermmEnums.html#gaa501f23d690de389e755e652093d9392">ClockReturn</a> Gst::ClockID::wait </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Perform a blocking wait without requiring a jitter argument. </p>
<p><a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a> should have been created with <a class="el" href="classGst_1_1Clock.html#a6bde543425d75bb5b34d942d0a9babcb" title="Get a Gst::ClockID from clock to trigger a single shot notification at the requested...">Gst::Clock::create_single_shot_id()</a> or <a class="el" href="classGst_1_1Clock.html#a8fca82c5689e727a9c07601919fac477" title="Get an ID from clock to trigger a periodic notification.">Gst::Clock::create_periodic_id()</a> and should not have been unscheduled with a call to <a class="el" href="classGst_1_1ClockID.html#aac9b66d4c3632a5f2c7bc3a1975cfded" title="Cancel an outstanding request with id.">unschedule()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The result of the blocking wait. <a class="el" href="group__gstreamermmEnums.html#ggaa501f23d690de389e755e652093d9392a04f26a5ef59a49a8ee6ce82e5cd78983">Gst::CLOCK_EARLY</a> will be returned if the current clock time is past the time of <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a>, <a class="el" href="group__gstreamermmEnums.html#ggaa501f23d690de389e755e652093d9392ac7af553722196e71a62d247db837d333">Gst::CLOCK_OK</a> if <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a> was scheduled in time. <a class="el" href="group__gstreamermmEnums.html#ggaa501f23d690de389e755e652093d9392a26d9d6d6ec4f3d95e7520eab14114a1d">Gst::CLOCK_UNSCHEDULED</a> if <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a> was unscheduled with <a class="el" href="classGst_1_1ClockID.html#aac9b66d4c3632a5f2c7bc3a1975cfded" title="Cancel an outstanding request with id.">unschedule()</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="accdf252dcc9f7ba00d46e7c979fbf137"></a><!-- doxytag: member="Gst::ClockID::wait" ref="accdf252dcc9f7ba00d46e7c979fbf137" args="(ClockTimeDiff &amp;jitter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gstreamermmEnums.html#gaa501f23d690de389e755e652093d9392">ClockReturn</a> Gst::ClockID::wait </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceGst.html#a1bd878eb666682156ef268a6ff0ad16c">ClockTimeDiff</a>&amp;&#160;</td>
          <td class="paramname"> <em>jitter</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Perform a blocking wait on the <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a>. </p>
<p>The <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a> should have been created with <a class="el" href="classGst_1_1Clock.html#a6bde543425d75bb5b34d942d0a9babcb" title="Get a Gst::ClockID from clock to trigger a single shot notification at the requested...">Gst::Clock::create_single_shot_id()</a> or <a class="el" href="classGst_1_1Clock.html#a8fca82c5689e727a9c07601919fac477" title="Get an ID from clock to trigger a periodic notification.">Gst::Clock::create_periodic_id()</a> and should not have been unscheduled with a call to <a class="el" href="classGst_1_1ClockID.html#aac9b66d4c3632a5f2c7bc3a1975cfded" title="Cancel an outstanding request with id.">unschedule()</a>.</p>
<p>If this function returns <a class="el" href="group__gstreamermmEnums.html#ggaa501f23d690de389e755e652093d9392ac7af553722196e71a62d247db837d333">Gst::CLOCK_OK</a> or <a class="el" href="group__gstreamermmEnums.html#ggaa501f23d690de389e755e652093d9392a04f26a5ef59a49a8ee6ce82e5cd78983">Gst::CLOCK_EARLY</a>, the <em>jitter</em> argument will contain the difference against the clock and the time of the <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a> when this method was called. Positive values indicate how late the <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a> was relative to the clock (in which case this function will return <a class="el" href="group__gstreamermmEnums.html#ggaa501f23d690de389e755e652093d9392a04f26a5ef59a49a8ee6ce82e5cd78983">Gst::CLOCK_EARLY</a>). Negative values indicate how much time was spent waiting on the clock before this function returned. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>jitter</em>&#160;</td><td>A pointer that will contain the jitter. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The result of the blocking wait. <a class="el" href="group__gstreamermmEnums.html#ggaa501f23d690de389e755e652093d9392a04f26a5ef59a49a8ee6ce82e5cd78983">Gst::CLOCK_EARLY</a> will be returned if the current clock time is past the time of the <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a>, <a class="el" href="group__gstreamermmEnums.html#ggaa501f23d690de389e755e652093d9392ac7af553722196e71a62d247db837d333">Gst::CLOCK_OK</a> if <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a> was scheduled in time. <a class="el" href="group__gstreamermmEnums.html#ggaa501f23d690de389e755e652093d9392a26d9d6d6ec4f3d95e7520eab14114a1d">Gst::CLOCK_UNSCHEDULED</a> if <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a> was unscheduled with <a class="el" href="classGst_1_1ClockID.html#aac9b66d4c3632a5f2c7bc3a1975cfded" title="Cancel an outstanding request with id.">unschedule()</a>.</dd></dl>
<p>MT safe. </p>

</div>
</div>
<a class="anchor" id="a05351f52919ad9a36743f59848e74c28"></a><!-- doxytag: member="Gst::ClockID::wait_async" ref="a05351f52919ad9a36743f59848e74c28" args="(const SlotClock &amp;slot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gstreamermmEnums.html#gaa501f23d690de389e755e652093d9392">ClockReturn</a> Gst::ClockID::wait_async </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">SlotClock</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Register a slot on the given <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a> id with the given slot. </p>
<p>When passing a <a class="el" href="classGst_1_1ClockID.html" title="A datatype to hold the handle to an outstanding sync or async clock callback.">Gst::ClockID</a> with an invalid time to this function, the slot will be called immediatly with a time set to <a class="el" href="namespaceGst.html#a07ca62fa6d891070ab6d46c45cd388f1" title="Constant to define an undefined clock time.">Gst::CLOCK_TIME_NONE</a>. The slot will be called when the time of id has been reached.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&#160;</td><td>The slot to callback. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The result of the non blocking wait. MT safe. </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="aba633ba6dde51e71c5e61d0555d836f2"></a><!-- doxytag: member="Gst::ClockID::wrap" ref="aba633ba6dde51e71c5e61d0555d836f2" args="(GstClockEntry *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGst_1_1ClockID.html">Gst::ClockID</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GstClockEntry *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gstreamermm/clock.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Sep 21 22:32:54 2009 for gstreamermm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>