Sophie

Sophie

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

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::MessageSegmentDone 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_1MessageSegmentDone.html">MessageSegmentDone</a>
  </div>
</div>
<div class="contents">
<h1>Gst::MessageSegmentDone Class Reference</h1><!-- doxytag: class="Gst::MessageSegmentDone" --><!-- doxytag: inherits="Gst::Message" -->
<p>A segment done message. <a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classGst_1_1Message.html">Gst::Message</a>.</p>
<div class="dynheader">
Collaboration diagram for Gst::MessageSegmentDone:</div>
<div class="dynsection">
<div class="center"><img src="classGst_1_1MessageSegmentDone__coll__graph.png" border="0" usemap="#Gst_1_1MessageSegmentDone_coll__map" alt="Collaboration graph"/></div>
<map name="Gst_1_1MessageSegmentDone_coll__map" id="Gst_1_1MessageSegmentDone_coll__map">
<area shape="rect" href="classGst_1_1Message.html" title="Gst::Message &#45; Lightweight objects to signal the application of pipeline events." alt="" coords="45,83,149,112"/><area shape="rect" href="classGst_1_1MiniObject.html" title="Gst::MiniObject" alt="" coords="41,5,153,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGst_1_1MessageSegmentDone-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">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MessageSegmentDone.html#a37b88b53aa95ac9ee2ff786d1a95e418">MessageSegmentDone</a> (GstMessage* castitem)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MessageSegmentDone.html#a969c8dd6087c62be01fc778a91297e73">parse</a> (<a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Format</a>&amp; format, gint64&amp; position) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the position and format from the segment done message. <a href="#a969c8dd6087c62be01fc778a91297e73"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">gint64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MessageSegmentDone.html#afa3bc531a58c2d05e38ef92fc1af73e6">parse</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts and returns the position from the segment done message. <a href="#afa3bc531a58c2d05e38ef92fc1af73e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Format</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MessageSegmentDone.html#af2044b5f717de931b17c37340cd6404d">parse_format</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts and returns the format from the segment done message. <a href="#af2044b5f717de931b17c37340cd6404d"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MessageSegmentDone.html#a460cab9a77690994b79e73f20f6f7444">create</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_1Object.html">Gst::Object</a> &gt;&amp; src, <a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Format</a> format, gint64 position)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new segment done message. <a href="#a460cab9a77690994b79e73f20f6f7444"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A segment done message. </p>
<p>See <a class="el" href="classGst_1_1MessageSegmentDone.html#a460cab9a77690994b79e73f20f6f7444" title="Create a new segment done message.">create()</a> for more details. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a37b88b53aa95ac9ee2ff786d1a95e418"></a><!-- doxytag: member="Gst::MessageSegmentDone::MessageSegmentDone" ref="a37b88b53aa95ac9ee2ff786d1a95e418" args="(GstMessage *castitem)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gst::MessageSegmentDone::MessageSegmentDone </td>
          <td>(</td>
          <td class="paramtype">GstMessage *&#160;</td>
          <td class="paramname"> <em>castitem</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a460cab9a77690994b79e73f20f6f7444"></a><!-- doxytag: member="Gst::MessageSegmentDone::create" ref="a460cab9a77690994b79e73f20f6f7444" args="(const Glib::RefPtr&lt; Gst::Object &gt; &amp;src, Format format, gint64 position)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGst_1_1Message.html">Gst::Message</a>&gt; Gst::MessageSegmentDone::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGst_1_1Object.html">Gst::Object</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Format</a>&#160;</td>
          <td class="paramname"> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gint64&#160;</td>
          <td class="paramname"> <em>position</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a new segment done message. </p>
<p>This message is posted by elements that finish playback of a segment as a result of a segment seek. This message is received by the application after all elements that posted a <a class="el" href="classGst_1_1MessageSegmentStart.html" title="A segment start message.">Gst::MessageSegmentStart</a> have posted the <a class="el" href="classGst_1_1MessageSegmentDone.html" title="A segment done message.">Gst::MessageSegmentDone</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>src</em>&#160;</td><td>The object originating the message. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>format</em>&#160;</td><td>The format of the position being done. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>position</em>&#160;</td><td>The position of the segment being done. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The new segment done message. MT safe. </dd></dl>

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

<p>Extracts and returns the position from the segment done message. </p>
<p>MT safe.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The position. </dd></dl>

</div>
</div>
<a class="anchor" id="a969c8dd6087c62be01fc778a91297e73"></a><!-- doxytag: member="Gst::MessageSegmentDone::parse" ref="a969c8dd6087c62be01fc778a91297e73" args="(Format &amp;format, gint64 &amp;position) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::MessageSegmentDone::parse </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Format</a>&amp;&#160;</td>
          <td class="paramname"> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gint64 &amp;&#160;</td>
          <td class="paramname"> <em>position</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the position and format from the segment done message. </p>
<p>MT safe.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>format</em>&#160;</td><td>Result location for the format. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>position</em>&#160;</td><td>Result location for the position. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af2044b5f717de931b17c37340cd6404d"></a><!-- doxytag: member="Gst::MessageSegmentDone::parse_format" ref="af2044b5f717de931b17c37340cd6404d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Format</a> Gst::MessageSegmentDone::parse_format </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts and returns the format from the segment done message. </p>
<p>MT safe.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The format. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gstreamermm/message.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Sep 21 22:32:57 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>