<!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::QuerySeeking 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.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceGst.html">Gst</a>::<a class="el" href="classGst_1_1QuerySeeking.html">QuerySeeking</a> </div> </div> <div class="contents"> <h1>Gst::QuerySeeking Class Reference</h1><!-- doxytag: class="Gst::QuerySeeking" --><!-- doxytag: inherits="Gst::Query" --> <p>A seeking query object. <a href="#_details">More...</a></p> <p>Inherits <a class="el" href="classGst_1_1Query.html">Gst::Query</a>.</p> <div class="dynheader"> Collaboration diagram for Gst::QuerySeeking:</div> <div class="dynsection"> <div class="center"><img src="classGst_1_1QuerySeeking__coll__graph.png" border="0" usemap="#Gst_1_1QuerySeeking_coll__map" alt="Collaboration graph"/></div> <map name="Gst_1_1QuerySeeking_coll__map" id="Gst_1_1QuerySeeking_coll__map"> <area shape="rect" id="node2" href="classGst_1_1Query.html" title="A class used to perform queries on pads and elements." alt="" coords="29,86,115,117"/><area shape="rect" id="node4" href="classGst_1_1MiniObject.html" title="This is a base class for some gstreamermm objects." alt="" coords="16,6,128,37"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGst_1_1QuerySeeking-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1QuerySeeking.html#ae5c497e7181b5f87175ca1aa508d7726">QuerySeeking</a> (GstQuery* query)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1QuerySeeking.html#a0c4f19db2e57ba4276d6c40d4a1c74d3">set</a> (<a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Format</a> format, bool seeakable, gint64 segment_start, gint64 segment_end)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the seeking query result fields in query. <a href="#a0c4f19db2e57ba4276d6c40d4a1c74d3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1QuerySeeking.html#aadf6a4c08724ea373de2f37dc04f3dc1">parse</a> (<a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Format</a>& format, bool& seekable, gint64& segment_start, gint64& segment_end) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classGst_1_1Parse.html" title="A class that gets a pipeline from a text pipeline description.">Parse</a> a seeking query, writing the format into format, and other results into the passed parameters. <a href="#aadf6a4c08724ea373de2f37dc04f3dc1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Format</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1QuerySeeking.html#ac6c82ee0b89d7d55a784de1c07fde07c">parse_format</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classGst_1_1Parse.html" title="A class that gets a pipeline from a text pipeline description.">Parse</a> a seeking query, returning the format. <a href="#ac6c82ee0b89d7d55a784de1c07fde07c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1QuerySeeking.html#a8142f96f2c42fee18b46c1270fd133b1">parse_seekable</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classGst_1_1Parse.html" title="A class that gets a pipeline from a text pipeline description.">Parse</a> a seeking query, returning the seekable status. <a href="#a8142f96f2c42fee18b46c1270fd133b1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">gint64 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1QuerySeeking.html#a0bcc2d7d13b529117958856ca0587f6f">parse_start</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classGst_1_1Parse.html" title="A class that gets a pipeline from a text pipeline description.">Parse</a> a seeking query, returning the segment start value. <a href="#a0bcc2d7d13b529117958856ca0587f6f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">gint64 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1QuerySeeking.html#af96009ee65a0e782286e596db246bb59">parse_end</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classGst_1_1Parse.html" title="A class that gets a pipeline from a text pipeline description.">Parse</a> a seeking query, returning the segment end value. <a href="#af96009ee65a0e782286e596db246bb59"></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>< <a class="el" href="classGst_1_1Query.html">Gst::Query</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1QuerySeeking.html#a6683000d078b3c76ee70044cd5e56fb3">create</a> (<a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Format</a> format)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new query object for querying seeking properties of the stream. <a href="#a6683000d078b3c76ee70044cd5e56fb3"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A seeking query object. </p> <p>See <a class="el" href="classGst_1_1QuerySeeking.html#a6683000d078b3c76ee70044cd5e56fb3" title="Constructs a new query object for querying seeking properties of the stream.">create()</a> for more details. </p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ae5c497e7181b5f87175ca1aa508d7726"></a><!-- doxytag: member="Gst::QuerySeeking::QuerySeeking" ref="ae5c497e7181b5f87175ca1aa508d7726" args="(GstQuery *query)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gst::QuerySeeking::QuerySeeking </td> <td>(</td> <td class="paramtype">GstQuery * </td> <td class="paramname"> <em>query</em></td> <td> ) </td> <td><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a6683000d078b3c76ee70044cd5e56fb3"></a><!-- doxytag: member="Gst::QuerySeeking::create" ref="a6683000d078b3c76ee70044cd5e56fb3" args="(Format format)" --> <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><<a class="el" href="classGst_1_1Query.html">Gst::Query</a>> Gst::QuerySeeking::create </td> <td>(</td> <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Format</a> </td> <td class="paramname"> <em>format</em></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Constructs a new query object for querying seeking properties of the stream. </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> </td><td>The default <a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Gst::Format</a> for the new query. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The new <a class="el" href="classGst_1_1QuerySeeking.html" title="A seeking query object.">Gst::QuerySeeking</a>. </dd></dl> </div> </div> <a class="anchor" id="aadf6a4c08724ea373de2f37dc04f3dc1"></a><!-- doxytag: member="Gst::QuerySeeking::parse" ref="aadf6a4c08724ea373de2f37dc04f3dc1" args="(Format &format, bool &seekable, gint64 &segment_start, gint64 &segment_end) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gst::QuerySeeking::parse </td> <td>(</td> <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Format</a>& </td> <td class="paramname"> <em>format</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool & </td> <td class="paramname"> <em>seekable</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">gint64 & </td> <td class="paramname"> <em>segment_start</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">gint64 & </td> <td class="paramname"> <em>segment_end</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p><a class="el" href="classGst_1_1Parse.html" title="A class that gets a pipeline from a text pipeline description.">Parse</a> a seeking query, writing the format into format, and other results into the passed parameters. </p> <p>Use the other <a class="el" href="classGst_1_1QuerySeeking.html#aadf6a4c08724ea373de2f37dc04f3dc1" title="Parse a seeking query, writing the format into format, and other results into the...">parse()</a> methods for parsing individual values. </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> </td><td>The storage location for the foramt. </td></tr> <tr><td valign="top"></td><td valign="top"><em>seekable</em> </td><td>The storage location for the seekable flag. </td></tr> <tr><td valign="top"></td><td valign="top"><em>segment_start</em> </td><td>The storage location for the segment start value. </td></tr> <tr><td valign="top"></td><td valign="top"><em>segment_end</em> </td><td>The storage location for the segment end. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="af96009ee65a0e782286e596db246bb59"></a><!-- doxytag: member="Gst::QuerySeeking::parse_end" ref="af96009ee65a0e782286e596db246bb59" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gint64 Gst::QuerySeeking::parse_end </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p><a class="el" href="classGst_1_1Parse.html" title="A class that gets a pipeline from a text pipeline description.">Parse</a> a seeking query, returning the segment end value. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The segment end. </dd></dl> </div> </div> <a class="anchor" id="ac6c82ee0b89d7d55a784de1c07fde07c"></a><!-- doxytag: member="Gst::QuerySeeking::parse_format" ref="ac6c82ee0b89d7d55a784de1c07fde07c" 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::QuerySeeking::parse_format </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p><a class="el" href="classGst_1_1Parse.html" title="A class that gets a pipeline from a text pipeline description.">Parse</a> a seeking query, returning the format. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The format. </dd></dl> </div> </div> <a class="anchor" id="a8142f96f2c42fee18b46c1270fd133b1"></a><!-- doxytag: member="Gst::QuerySeeking::parse_seekable" ref="a8142f96f2c42fee18b46c1270fd133b1" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gst::QuerySeeking::parse_seekable </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p><a class="el" href="classGst_1_1Parse.html" title="A class that gets a pipeline from a text pipeline description.">Parse</a> a seeking query, returning the seekable status. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The seekable flag. </dd></dl> </div> </div> <a class="anchor" id="a0bcc2d7d13b529117958856ca0587f6f"></a><!-- doxytag: member="Gst::QuerySeeking::parse_start" ref="a0bcc2d7d13b529117958856ca0587f6f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gint64 Gst::QuerySeeking::parse_start </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p><a class="el" href="classGst_1_1Parse.html" title="A class that gets a pipeline from a text pipeline description.">Parse</a> a seeking query, returning the segment start value. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The segment start. </dd></dl> </div> </div> <a class="anchor" id="a0c4f19db2e57ba4276d6c40d4a1c74d3"></a><!-- doxytag: member="Gst::QuerySeeking::set" ref="a0c4f19db2e57ba4276d6c40d4a1c74d3" args="(Format format, bool seeakable, gint64 segment_start, gint64 segment_end)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gst::QuerySeeking::set </td> <td>(</td> <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#ga9aeb4c7c49680888ff819ac95fb13cff">Format</a> </td> <td class="paramname"> <em>format</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>seeakable</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">gint64 </td> <td class="paramname"> <em>segment_start</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">gint64 </td> <td class="paramname"> <em>segment_end</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Set the seeking query result fields in query. </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> </td><td>The format to set for <em>the</em> segment_start and <em>segment_end</em> values. </td></tr> <tr><td valign="top"></td><td valign="top"><em>seekable</em> </td><td>The seekable flag to set. </td></tr> <tr><td valign="top"></td><td valign="top"><em>segment_start</em> </td><td>The segment_start to set. </td></tr> <tr><td valign="top"></td><td valign="top"><em>segment_end</em> </td><td>The segment_end to set. </td></tr> </table> </dd> </dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>gstreamermm/query.h</li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Apr 12 20:33:56 2010 for gstreamermm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>