<!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.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>gstreamermm: Gst::TypeFind Class 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="doxygen.css" rel="stylesheet" type="text/css" /> <link href="doxygen-extra.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">gstreamermm  <span id="projectnumber">1.10.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',false,false,'search.php','Search'); }); </script> <div id="main-nav"></div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGst.html">Gst</a></li><li class="navelem"><a class="el" href="classGst_1_1TypeFind.html">TypeFind</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> | <a href="#related">Related Functions</a> | <a href="classGst_1_1TypeFind-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Gst::TypeFind Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>A class used for stream type detection. <a href="classGst_1_1TypeFind.html#details">More...</a></p> <p><code>#include <gstreamermm/typefind.h></code></p> <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:aaf4644e28e689ecd8b42833d155770ca"><td class="memItemLeft" align="right" valign="top">typedef sigc::slot< void > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a></td></tr> <tr class="memdesc:aaf4644e28e689ecd8b42833d155770ca"><td class="mdescLeft"> </td><td class="mdescRight">For example, void on_find();. <a href="#aaf4644e28e689ecd8b42833d155770ca">More...</a><br /></td></tr> <tr class="separator:aaf4644e28e689ecd8b42833d155770ca"><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:a89af4300d24bb0a55ede8ed19975a05c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#a89af4300d24bb0a55ede8ed19975a05c">TypeFind</a> (const <a class="el" href="classGst_1_1TypeFind.html">TypeFind</a>& other) noexcept</td></tr> <tr class="separator:a89af4300d24bb0a55ede8ed19975a05c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4cbec800c119806e90ac53c7f25d5188"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGst_1_1TypeFind.html">TypeFind</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#a4cbec800c119806e90ac53c7f25d5188">operator=</a> (const <a class="el" href="classGst_1_1TypeFind.html">TypeFind</a>& other) noexcept</td></tr> <tr class="separator:a4cbec800c119806e90ac53c7f25d5188"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8bf210594c5174fbf3256aab0845d79d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#a8bf210594c5174fbf3256aab0845d79d">TypeFind</a> (<a class="el" href="classGst_1_1TypeFind.html">TypeFind</a>&& other) noexcept</td></tr> <tr class="separator:a8bf210594c5174fbf3256aab0845d79d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa51e9d7e5489827698faf7fa47007277"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGst_1_1TypeFind.html">TypeFind</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#aa51e9d7e5489827698faf7fa47007277">operator=</a> (<a class="el" href="classGst_1_1TypeFind.html">TypeFind</a>&& other) noexcept</td></tr> <tr class="separator:aa51e9d7e5489827698faf7fa47007277"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9e9f150abe3416c6592e9bafab2d8530"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#a9e9f150abe3416c6592e9bafab2d8530">TypeFind</a> ()</td></tr> <tr class="separator:a9e9f150abe3416c6592e9bafab2d8530"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa7c0c2af9e6c44964d69414d9d08080e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#aa7c0c2af9e6c44964d69414d9d08080e">TypeFind</a> (const GstTypeFind* gobject)</td></tr> <tr class="separator:aa7c0c2af9e6c44964d69414d9d08080e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af9a955fc28d3c462cdf85dc148bf1530"><td class="memItemLeft" align="right" valign="top">GstTypeFind* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#af9a955fc28d3c462cdf85dc148bf1530">gobj</a> ()</td></tr> <tr class="memdesc:af9a955fc28d3c462cdf85dc148bf1530"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#af9a955fc28d3c462cdf85dc148bf1530">More...</a><br /></td></tr> <tr class="separator:af9a955fc28d3c462cdf85dc148bf1530"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a99035df8655e6e5a669f2024af9b5eb9"><td class="memItemLeft" align="right" valign="top">const GstTypeFind* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#a99035df8655e6e5a669f2024af9b5eb9">gobj</a> () const</td></tr> <tr class="memdesc:a99035df8655e6e5a669f2024af9b5eb9"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a99035df8655e6e5a669f2024af9b5eb9">More...</a><br /></td></tr> <tr class="separator:a99035df8655e6e5a669f2024af9b5eb9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a41d46006403e96893a3f6598b5b06530"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>< guint8 > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#a41d46006403e96893a3f6598b5b06530">peek</a> (gint64 offset, guint <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>) const</td></tr> <tr class="memdesc:a41d46006403e96893a3f6598b5b06530"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <em>size</em> bytes of the stream to identify beginning at offset. <a href="#a41d46006403e96893a3f6598b5b06530">More...</a><br /></td></tr> <tr class="separator:a41d46006403e96893a3f6598b5b06530"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abb4aceece6749802d74734b4b088831f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#abb4aceece6749802d74734b4b088831f">suggest</a> (guint probability, const Glib::RefPtr< const <a class="el" href="classGst_1_1Caps.html">Gst::Caps</a> >& caps) const</td></tr> <tr class="memdesc:abb4aceece6749802d74734b4b088831f"><td class="mdescLeft"> </td><td class="mdescRight">If a <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca" title="For example, void on_find();. ">Gst::TypeFind::SlotFind</a> calls this method it suggests the caps with the given probability. <a href="#abb4aceece6749802d74734b4b088831f">More...</a><br /></td></tr> <tr class="separator:abb4aceece6749802d74734b4b088831f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa1c11ba0a0ce33b34ea0ffba4331d19b"><td class="memItemLeft" align="right" valign="top">guint64 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#aa1c11ba0a0ce33b34ea0ffba4331d19b">get_length</a> () const</td></tr> <tr class="memdesc:aa1c11ba0a0ce33b34ea0ffba4331d19b"><td class="mdescLeft"> </td><td class="mdescRight">Get the length of the data stream. <a href="#aa1c11ba0a0ce33b34ea0ffba4331d19b">More...</a><br /></td></tr> <tr class="separator:aa1c11ba0a0ce33b34ea0ffba4331d19b"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a3c94474114b60f8e53512c1ba945bcd2"><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#a3c94474114b60f8e53512c1ba945bcd2">get_type</a> ()</td></tr> <tr class="memdesc:a3c94474114b60f8e53512c1ba945bcd2"><td class="mdescLeft"> </td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <a href="#a3c94474114b60f8e53512c1ba945bcd2">More...</a><br /></td></tr> <tr class="separator:a3c94474114b60f8e53512c1ba945bcd2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0354c8736dd1f25262bb1ec8674e5b7e"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#a0354c8736dd1f25262bb1ec8674e5b7e">register_slot</a> (const Glib::RefPtr< <a class="el" href="classGst_1_1Plugin.html">Gst::Plugin</a> >& plugin, const Glib::ustring& name, guint rank, const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& find_slot, const Glib::StringArrayHandle& extensions, const Glib::RefPtr< const <a class="el" href="classGst_1_1Caps.html">Gst::Caps</a> >& caps)</td></tr> <tr class="memdesc:a0354c8736dd1f25262bb1ec8674e5b7e"><td class="mdescLeft"> </td><td class="mdescRight">Registers a new typefind slot to be used for typefinding. <a href="#a0354c8736dd1f25262bb1ec8674e5b7e">More...</a><br /></td></tr> <tr class="separator:a0354c8736dd1f25262bb1ec8674e5b7e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae92f194a3e1fc11127946fb2fd93d5ae"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#ae92f194a3e1fc11127946fb2fd93d5ae">register_slot</a> (const Glib::RefPtr< <a class="el" href="classGst_1_1Plugin.html">Gst::Plugin</a> >& plugin, const Glib::ustring& name, guint rank, const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& find_slot, const Glib::RefPtr< const <a class="el" href="classGst_1_1Caps.html">Gst::Caps</a> >& caps)</td></tr> <tr class="memdesc:ae92f194a3e1fc11127946fb2fd93d5ae"><td class="mdescLeft"> </td><td class="mdescRight">Registers a new typefind slot to be used for typefinding. <a href="#ae92f194a3e1fc11127946fb2fd93d5ae">More...</a><br /></td></tr> <tr class="separator:ae92f194a3e1fc11127946fb2fd93d5ae"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac32b6a0d9c92ce70ad695407b57ef6d7"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#ac32b6a0d9c92ce70ad695407b57ef6d7">register_slot</a> (const Glib::RefPtr< <a class="el" href="classGst_1_1Plugin.html">Gst::Plugin</a> >& plugin, const Glib::ustring& name, guint rank, const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& find_slot, const Glib::StringArrayHandle& extensions)</td></tr> <tr class="memdesc:ac32b6a0d9c92ce70ad695407b57ef6d7"><td class="mdescLeft"> </td><td class="mdescRight">Registers a new typefind slot to be used for typefinding. <a href="#ac32b6a0d9c92ce70ad695407b57ef6d7">More...</a><br /></td></tr> <tr class="separator:ac32b6a0d9c92ce70ad695407b57ef6d7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac3859a76661ed970937983f60fed546c"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#ac3859a76661ed970937983f60fed546c">register_slot</a> (const Glib::RefPtr< <a class="el" href="classGst_1_1Plugin.html">Gst::Plugin</a> >& plugin, const Glib::ustring& name, guint rank, const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& find_slot)</td></tr> <tr class="memdesc:ac3859a76661ed970937983f60fed546c"><td class="mdescLeft"> </td><td class="mdescRight">Registers a new typefind slot to be used for typefinding. <a href="#ac3859a76661ed970937983f60fed546c">More...</a><br /></td></tr> <tr class="separator:ac3859a76661ed970937983f60fed546c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9faf8ffa81f75433ca7e290944d913f0"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#a9faf8ffa81f75433ca7e290944d913f0">register_slot</a> (const Glib::ustring& name, guint rank, const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& find_slot, const Glib::StringArrayHandle& extensions, const Glib::RefPtr< const <a class="el" href="classGst_1_1Caps.html">Gst::Caps</a> >& caps)</td></tr> <tr class="memdesc:a9faf8ffa81f75433ca7e290944d913f0"><td class="mdescLeft"> </td><td class="mdescRight">Registers a new static (not requiring a <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a>) typefind slot to be used for typefinding. <a href="#a9faf8ffa81f75433ca7e290944d913f0">More...</a><br /></td></tr> <tr class="separator:a9faf8ffa81f75433ca7e290944d913f0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8893e28140c3e469f9b580468d011f49"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#a8893e28140c3e469f9b580468d011f49">register_slot</a> (const Glib::ustring& name, guint rank, const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& find_slot, const Glib::RefPtr< const <a class="el" href="classGst_1_1Caps.html">Gst::Caps</a> >& caps)</td></tr> <tr class="memdesc:a8893e28140c3e469f9b580468d011f49"><td class="mdescLeft"> </td><td class="mdescRight">Registers a new static (not requiring a <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a>) typefind slot to be used for typefinding. <a href="#a8893e28140c3e469f9b580468d011f49">More...</a><br /></td></tr> <tr class="separator:a8893e28140c3e469f9b580468d011f49"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8a019c1d799c1b6e5b64dae7aa7db571"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#a8a019c1d799c1b6e5b64dae7aa7db571">register_slot</a> (const Glib::ustring& name, guint rank, const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& find_slot, const Glib::StringArrayHandle& extensions)</td></tr> <tr class="memdesc:a8a019c1d799c1b6e5b64dae7aa7db571"><td class="mdescLeft"> </td><td class="mdescRight">Registers a new static (not requiring a <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a>) typefind slot to be used for typefinding. <a href="#a8a019c1d799c1b6e5b64dae7aa7db571">More...</a><br /></td></tr> <tr class="separator:a8a019c1d799c1b6e5b64dae7aa7db571"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aef8cacdb5aab12a8f508baac7577c046"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#aef8cacdb5aab12a8f508baac7577c046">register_slot</a> (const Glib::ustring& name, guint rank, const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& find_slot)</td></tr> <tr class="memdesc:aef8cacdb5aab12a8f508baac7577c046"><td class="mdescLeft"> </td><td class="mdescRight">Registers a new static (not requiring a <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a>) typefind slot to be used for typefinding. <a href="#aef8cacdb5aab12a8f508baac7577c046">More...</a><br /></td></tr> <tr class="separator:aef8cacdb5aab12a8f508baac7577c046"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr class="memitem:a4863373e2b0b4ed7e772f61adde31656"><td class="memItemLeft" align="right" valign="top">GstTypeFind </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#a4863373e2b0b4ed7e772f61adde31656">gobject_</a></td></tr> <tr class="separator:a4863373e2b0b4ed7e772f61adde31656"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a> Related Functions</h2></td></tr> <tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p> </td></tr> <tr class="memitem:a3b94cf7b4f37c9d133c39747be145ff3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGst_1_1TypeFind.html">Gst::TypeFind</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#a3b94cf7b4f37c9d133c39747be145ff3">wrap</a> (GstTypeFind* object)</td></tr> <tr class="separator:a3b94cf7b4f37c9d133c39747be145ff3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac8aca77ab94e0a27c38662ab2498ebc2"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGst_1_1TypeFind.html">Gst::TypeFind</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1TypeFind.html#ac8aca77ab94e0a27c38662ab2498ebc2">wrap</a> (const GstTypeFind* object)</td></tr> <tr class="separator:ac8aca77ab94e0a27c38662ab2498ebc2"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>A class used for stream type detection. </p> <p><a class="el" href="classGst_1_1TypeFind.html" title="A class used for stream type detection. ">Gst::TypeFind</a> methods allow you to detect the media type of an unknown stream.</p> <p>Last reviewed on 2005-11-09 (0.9.4). </p> </div><h2 class="groupheader">Member Typedef Documentation</h2> <a id="aaf4644e28e689ecd8b42833d155770ca"></a> <h2 class="memtitle"><span class="permalink"><a href="#aaf4644e28e689ecd8b42833d155770ca">◆ </a></span>SlotFind</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef sigc::slot<void> <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">Gst::TypeFind::SlotFind</a></td> </tr> </table> </div><div class="memdoc"> <p>For example, void on_find();. </p> </div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="a89af4300d24bb0a55ede8ed19975a05c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a89af4300d24bb0a55ede8ed19975a05c">◆ </a></span>TypeFind() <span class="overload">[1/4]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Gst::TypeFind::TypeFind </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGst_1_1TypeFind.html">TypeFind</a>& </td> <td class="paramname"><em>other</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">noexcept</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a id="a8bf210594c5174fbf3256aab0845d79d"></a> <h2 class="memtitle"><span class="permalink"><a href="#a8bf210594c5174fbf3256aab0845d79d">◆ </a></span>TypeFind() <span class="overload">[2/4]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Gst::TypeFind::TypeFind </td> <td>(</td> <td class="paramtype"><a class="el" href="classGst_1_1TypeFind.html">TypeFind</a>&& </td> <td class="paramname"><em>other</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">noexcept</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a id="a9e9f150abe3416c6592e9bafab2d8530"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9e9f150abe3416c6592e9bafab2d8530">◆ </a></span>TypeFind() <span class="overload">[3/4]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gst::TypeFind::TypeFind </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a id="aa7c0c2af9e6c44964d69414d9d08080e"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa7c0c2af9e6c44964d69414d9d08080e">◆ </a></span>TypeFind() <span class="overload">[4/4]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Gst::TypeFind::TypeFind </td> <td>(</td> <td class="paramtype">const GstTypeFind * </td> <td class="paramname"><em>gobject</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">explicit</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="aa1c11ba0a0ce33b34ea0ffba4331d19b"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa1c11ba0a0ce33b34ea0ffba4331d19b">◆ </a></span>get_length()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint64 Gst::TypeFind::get_length </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get the length of the data stream. </p> <dl class="section return"><dt>Returns</dt><dd>The length of the data stream, or 0 if it is not available. </dd></dl> </div> </div> <a id="a3c94474114b60f8e53512c1ba945bcd2"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3c94474114b60f8e53512c1ba945bcd2">◆ </a></span>get_type()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static GType Gst::TypeFind::get_type </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the GType for this class, for use with the underlying GObject type system. </p> </div> </div> <a id="af9a955fc28d3c462cdf85dc148bf1530"></a> <h2 class="memtitle"><span class="permalink"><a href="#af9a955fc28d3c462cdf85dc148bf1530">◆ </a></span>gobj() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GstTypeFind* Gst::TypeFind::gobj </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> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C instance. </p> </div> </div> <a id="a99035df8655e6e5a669f2024af9b5eb9"></a> <h2 class="memtitle"><span class="permalink"><a href="#a99035df8655e6e5a669f2024af9b5eb9">◆ </a></span>gobj() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const GstTypeFind* Gst::TypeFind::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</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>Provides access to the underlying C instance. </p> </div> </div> <a id="a4cbec800c119806e90ac53c7f25d5188"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4cbec800c119806e90ac53c7f25d5188">◆ </a></span>operator=() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGst_1_1TypeFind.html">TypeFind</a>& Gst::TypeFind::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGst_1_1TypeFind.html">TypeFind</a>& </td> <td class="paramname"><em>other</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">noexcept</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a id="aa51e9d7e5489827698faf7fa47007277"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa51e9d7e5489827698faf7fa47007277">◆ </a></span>operator=() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGst_1_1TypeFind.html">TypeFind</a>& Gst::TypeFind::operator= </td> <td>(</td> <td class="paramtype"><a class="el" href="classGst_1_1TypeFind.html">TypeFind</a>&& </td> <td class="paramname"><em>other</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">noexcept</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a id="a41d46006403e96893a3f6598b5b06530"></a> <h2 class="memtitle"><span class="permalink"><a href="#a41d46006403e96893a3f6598b5b06530">◆ </a></span>peek()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a><guint8> Gst::TypeFind::peek </td> <td>(</td> <td class="paramtype">gint64 </td> <td class="paramname"><em>offset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>size</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the <em>size</em> bytes of the stream to identify beginning at offset. </p> <p>If offset is a positive number, the offset is relative to the beginning of the stream, if offset is a negative number the offset is relative to the end of the stream. The returned memory is valid until the typefinding function returns and must not be freed.</p> <p>Returns: the requested data, or <code>nullptr</code> if that data is not available.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">offset</td><td>The offset. </td></tr> <tr><td class="paramname">size</td><td>The number of bytes to return. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>The requested data, or <code>nullptr</code> if that data is not available. </dd></dl> </div> </div> <a id="a0354c8736dd1f25262bb1ec8674e5b7e"></a> <h2 class="memtitle"><span class="permalink"><a href="#a0354c8736dd1f25262bb1ec8674e5b7e">◆ </a></span>register_slot() <span class="overload">[1/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool Gst::TypeFind::register_slot </td> <td>(</td> <td class="paramtype">const Glib::RefPtr< <a class="el" href="classGst_1_1Plugin.html">Gst::Plugin</a> >& </td> <td class="paramname"><em>plugin</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Glib::ustring & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>rank</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& </td> <td class="paramname"><em>find_slot</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Glib::StringArrayHandle & </td> <td class="paramname"><em>extensions</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Glib::RefPtr< const <a class="el" href="classGst_1_1Caps.html">Gst::Caps</a> >& </td> <td class="paramname"><em>caps</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">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Registers a new typefind slot to be used for typefinding. </p> <p>After registering the slot will be available for typefinding. This method is typically called during an element's plugin initialization.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">plugin</td><td>A <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a> (for a static typefind function, i.e. one not related to any <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a>, use <a class="el" href="classGst_1_1TypeFind.html#a0354c8736dd1f25262bb1ec8674e5b7e" title="Registers a new typefind slot to be used for typefinding. ">register_slot()</a> without the <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a> argument). </td></tr> <tr><td class="paramname">name</td><td>The name for registering. </td></tr> <tr><td class="paramname">rank</td><td>The rank (or importance) of this typefind function. </td></tr> <tr><td class="paramname">find_slot</td><td>The <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca" title="For example, void on_find();. ">Gst::TypeFind::SlotFind</a> to use. </td></tr> <tr><td class="paramname">extensions</td><td>Extensions belonging to this type (for no extensions use <a class="el" href="classGst_1_1TypeFind.html#a0354c8736dd1f25262bb1ec8674e5b7e" title="Registers a new typefind slot to be used for typefinding. ">register_slot()</a> with no extensions parameter). </td></tr> <tr><td class="paramname">caps</td><td>The caps to be returned when typefinding succeeds (for no caps, use <a class="el" href="classGst_1_1TypeFind.html#a0354c8736dd1f25262bb1ec8674e5b7e" title="Registers a new typefind slot to be used for typefinding. ">register_slot()</a> with no caps argument). </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success, false otherwise. </dd></dl> </div> </div> <a id="ae92f194a3e1fc11127946fb2fd93d5ae"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae92f194a3e1fc11127946fb2fd93d5ae">◆ </a></span>register_slot() <span class="overload">[2/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool Gst::TypeFind::register_slot </td> <td>(</td> <td class="paramtype">const Glib::RefPtr< <a class="el" href="classGst_1_1Plugin.html">Gst::Plugin</a> >& </td> <td class="paramname"><em>plugin</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Glib::ustring & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>rank</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& </td> <td class="paramname"><em>find_slot</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Glib::RefPtr< const <a class="el" href="classGst_1_1Caps.html">Gst::Caps</a> >& </td> <td class="paramname"><em>caps</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">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Registers a new typefind slot to be used for typefinding. </p> <p>After registering the slot will be available for typefinding. This method is typically called during an element's plugin initialization.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">plugin</td><td>A <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a> (for a static typefind function, i.e. one not related to any <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a>, use <a class="el" href="classGst_1_1TypeFind.html#a0354c8736dd1f25262bb1ec8674e5b7e" title="Registers a new typefind slot to be used for typefinding. ">register_slot()</a> without the <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a> argument). </td></tr> <tr><td class="paramname">name</td><td>The name for registering. </td></tr> <tr><td class="paramname">rank</td><td>The rank (or importance) of this typefind function. </td></tr> <tr><td class="paramname">find_slot</td><td>The <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca" title="For example, void on_find();. ">Gst::TypeFind::SlotFind</a> to use. </td></tr> <tr><td class="paramname">caps</td><td>The caps to be returned when typefinding succeeds (for no caps, use <a class="el" href="classGst_1_1TypeFind.html#a0354c8736dd1f25262bb1ec8674e5b7e" title="Registers a new typefind slot to be used for typefinding. ">register_slot()</a> with no caps argument). </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success, false otherwise. </dd></dl> </div> </div> <a id="ac32b6a0d9c92ce70ad695407b57ef6d7"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac32b6a0d9c92ce70ad695407b57ef6d7">◆ </a></span>register_slot() <span class="overload">[3/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool Gst::TypeFind::register_slot </td> <td>(</td> <td class="paramtype">const Glib::RefPtr< <a class="el" href="classGst_1_1Plugin.html">Gst::Plugin</a> >& </td> <td class="paramname"><em>plugin</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Glib::ustring & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>rank</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& </td> <td class="paramname"><em>find_slot</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Glib::StringArrayHandle & </td> <td class="paramname"><em>extensions</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">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Registers a new typefind slot to be used for typefinding. </p> <p>After registering the slot will be available for typefinding. This method is typically called during an element's plugin initialization.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">plugin</td><td>A <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a> (for a static typefind function, i.e. one not related to any <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a>, use <a class="el" href="classGst_1_1TypeFind.html#a0354c8736dd1f25262bb1ec8674e5b7e" title="Registers a new typefind slot to be used for typefinding. ">register_slot()</a> without the <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a> argument). </td></tr> <tr><td class="paramname">name</td><td>The name for registering. </td></tr> <tr><td class="paramname">rank</td><td>The rank (or importance) of this typefind function. </td></tr> <tr><td class="paramname">find_slot</td><td>The <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca" title="For example, void on_find();. ">Gst::TypeFind::SlotFind</a> to use. </td></tr> <tr><td class="paramname">extensions</td><td>Extensions belonging to this type (for no extensions use <a class="el" href="classGst_1_1TypeFind.html#a0354c8736dd1f25262bb1ec8674e5b7e" title="Registers a new typefind slot to be used for typefinding. ">register_slot()</a> with no extensions parameter). </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success, false otherwise. </dd></dl> </div> </div> <a id="ac3859a76661ed970937983f60fed546c"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac3859a76661ed970937983f60fed546c">◆ </a></span>register_slot() <span class="overload">[4/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool Gst::TypeFind::register_slot </td> <td>(</td> <td class="paramtype">const Glib::RefPtr< <a class="el" href="classGst_1_1Plugin.html">Gst::Plugin</a> >& </td> <td class="paramname"><em>plugin</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Glib::ustring & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>rank</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& </td> <td class="paramname"><em>find_slot</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">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Registers a new typefind slot to be used for typefinding. </p> <p>After registering the slot will be available for typefinding. This method is typically called during an element's plugin initialization.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">plugin</td><td>A <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a> (for a static typefind function, i.e. one not related to any <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a>, use <a class="el" href="classGst_1_1TypeFind.html#a0354c8736dd1f25262bb1ec8674e5b7e" title="Registers a new typefind slot to be used for typefinding. ">register_slot()</a> without the <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a> argument). </td></tr> <tr><td class="paramname">name</td><td>The name for registering. </td></tr> <tr><td class="paramname">rank</td><td>The rank (or importance) of this typefind function. </td></tr> <tr><td class="paramname">find_slot</td><td>The <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca" title="For example, void on_find();. ">Gst::TypeFind::SlotFind</a> to use. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success, false otherwise. </dd></dl> </div> </div> <a id="a9faf8ffa81f75433ca7e290944d913f0"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9faf8ffa81f75433ca7e290944d913f0">◆ </a></span>register_slot() <span class="overload">[5/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool Gst::TypeFind::register_slot </td> <td>(</td> <td class="paramtype">const Glib::ustring & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>rank</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& </td> <td class="paramname"><em>find_slot</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Glib::StringArrayHandle & </td> <td class="paramname"><em>extensions</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Glib::RefPtr< const <a class="el" href="classGst_1_1Caps.html">Gst::Caps</a> >& </td> <td class="paramname"><em>caps</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">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Registers a new static (not requiring a <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a>) typefind slot to be used for typefinding. </p> <p>After registering the slot will be available for typefinding.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The name for registering. </td></tr> <tr><td class="paramname">rank</td><td>The rank (or importance) of this typefind function. </td></tr> <tr><td class="paramname">find_slot</td><td>The <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca" title="For example, void on_find();. ">Gst::TypeFind::SlotFind</a> to use. </td></tr> <tr><td class="paramname">extensions</td><td>Extensions belonging to this type (for no extensions use <a class="el" href="classGst_1_1TypeFind.html#a0354c8736dd1f25262bb1ec8674e5b7e" title="Registers a new typefind slot to be used for typefinding. ">register_slot()</a> with no extensions parameter). </td></tr> <tr><td class="paramname">caps</td><td>The caps to be returned when typefinding succeeds (for no caps, use <a class="el" href="classGst_1_1TypeFind.html#a0354c8736dd1f25262bb1ec8674e5b7e" title="Registers a new typefind slot to be used for typefinding. ">register_slot()</a> with no caps argument). </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success, false otherwise. </dd></dl> </div> </div> <a id="a8893e28140c3e469f9b580468d011f49"></a> <h2 class="memtitle"><span class="permalink"><a href="#a8893e28140c3e469f9b580468d011f49">◆ </a></span>register_slot() <span class="overload">[6/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool Gst::TypeFind::register_slot </td> <td>(</td> <td class="paramtype">const Glib::ustring & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>rank</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& </td> <td class="paramname"><em>find_slot</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Glib::RefPtr< const <a class="el" href="classGst_1_1Caps.html">Gst::Caps</a> >& </td> <td class="paramname"><em>caps</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">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Registers a new static (not requiring a <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a>) typefind slot to be used for typefinding. </p> <p>After registering the slot will be available for typefinding.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The name for registering. </td></tr> <tr><td class="paramname">rank</td><td>The rank (or importance) of this typefind function. </td></tr> <tr><td class="paramname">find_slot</td><td>The <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca" title="For example, void on_find();. ">Gst::TypeFind::SlotFind</a> to use. </td></tr> <tr><td class="paramname">caps</td><td>The caps to be returned when typefinding succeeds (for no caps, use <a class="el" href="classGst_1_1TypeFind.html#a0354c8736dd1f25262bb1ec8674e5b7e" title="Registers a new typefind slot to be used for typefinding. ">register_slot()</a> with no caps argument). </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success, false otherwise. </dd></dl> </div> </div> <a id="a8a019c1d799c1b6e5b64dae7aa7db571"></a> <h2 class="memtitle"><span class="permalink"><a href="#a8a019c1d799c1b6e5b64dae7aa7db571">◆ </a></span>register_slot() <span class="overload">[7/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool Gst::TypeFind::register_slot </td> <td>(</td> <td class="paramtype">const Glib::ustring & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>rank</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& </td> <td class="paramname"><em>find_slot</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Glib::StringArrayHandle & </td> <td class="paramname"><em>extensions</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">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Registers a new static (not requiring a <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a>) typefind slot to be used for typefinding. </p> <p>After registering the slot will be available for typefinding.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The name for registering. </td></tr> <tr><td class="paramname">rank</td><td>The rank (or importance) of this typefind function. </td></tr> <tr><td class="paramname">find_slot</td><td>The <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca" title="For example, void on_find();. ">Gst::TypeFind::SlotFind</a> to use. </td></tr> <tr><td class="paramname">extensions</td><td>Extensions belonging to this type (for no extensions use <a class="el" href="classGst_1_1TypeFind.html#a0354c8736dd1f25262bb1ec8674e5b7e" title="Registers a new typefind slot to be used for typefinding. ">register_slot()</a> with no extensions parameter). </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success, false otherwise. </dd></dl> </div> </div> <a id="aef8cacdb5aab12a8f508baac7577c046"></a> <h2 class="memtitle"><span class="permalink"><a href="#aef8cacdb5aab12a8f508baac7577c046">◆ </a></span>register_slot() <span class="overload">[8/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool Gst::TypeFind::register_slot </td> <td>(</td> <td class="paramtype">const Glib::ustring & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>rank</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca">SlotFind</a>& </td> <td class="paramname"><em>find_slot</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">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Registers a new static (not requiring a <a class="el" href="classGst_1_1Plugin.html" title="A container for features loaded from a shared object module. ">Gst::Plugin</a>) typefind slot to be used for typefinding. </p> <p>After registering the slot will be available for typefinding.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The name for registering. </td></tr> <tr><td class="paramname">rank</td><td>The rank (or importance) of this typefind function. </td></tr> <tr><td class="paramname">find_slot</td><td>The <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca" title="For example, void on_find();. ">Gst::TypeFind::SlotFind</a> to use. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success, false otherwise. </dd></dl> </div> </div> <a id="abb4aceece6749802d74734b4b088831f"></a> <h2 class="memtitle"><span class="permalink"><a href="#abb4aceece6749802d74734b4b088831f">◆ </a></span>suggest()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gst::TypeFind::suggest </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>probability</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Glib::RefPtr< const <a class="el" href="classGst_1_1Caps.html">Gst::Caps</a> >& </td> <td class="paramname"><em>caps</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>If a <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca" title="For example, void on_find();. ">Gst::TypeFind::SlotFind</a> calls this method it suggests the caps with the given probability. </p> <p>A <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca" title="For example, void on_find();. ">Gst::TypeFind::SlotFind</a> may supply different suggestions in one call. It is up to the caller of the <a class="el" href="classGst_1_1TypeFind.html#aaf4644e28e689ecd8b42833d155770ca" title="For example, void on_find();. ">Gst::TypeFind::SlotFind</a> to interpret these values.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">probability</td><td>The probability in percent that the suggestion is right. </td></tr> <tr><td class="paramname">caps</td><td>The fixed <a class="el" href="classGst_1_1Caps.html" title="Structure describing sets of media formats. ">Gst::Caps</a> to suggest. </td></tr> </table> </dd> </dl> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a id="a3b94cf7b4f37c9d133c39747be145ff3"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3b94cf7b4f37c9d133c39747be145ff3">◆ </a></span>wrap() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGst_1_1TypeFind.html">Gst::TypeFind</a>& wrap </td> <td>(</td> <td class="paramtype">GstTypeFind * </td> <td class="paramname"><em>object</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> <a id="ac8aca77ab94e0a27c38662ab2498ebc2"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac8aca77ab94e0a27c38662ab2498ebc2">◆ </a></span>wrap() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGst_1_1TypeFind.html">Gst::TypeFind</a>& wrap </td> <td>(</td> <td class="paramtype">const GstTypeFind * </td> <td class="paramname"><em>object</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a id="a4863373e2b0b4ed7e772f61adde31656"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4863373e2b0b4ed7e772f61adde31656">◆ </a></span>gobject_</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GstTypeFind Gst::TypeFind::gobject_</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sat Oct 21 2017 12:59:01 for gstreamermm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> </body> </html>