Sophie

Sophie

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

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::PadTemplate 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_1PadTemplate.html">PadTemplate</a>
  </div>
</div>
<div class="contents">
<h1>Gst::PadTemplate Class Reference</h1><!-- doxytag: class="Gst::PadTemplate" --><!-- doxytag: inherits="Gst::Object" -->
<p><a class="el" href="classGst_1_1PadTemplate.html" title="Gst::PadTemplate - Describe the media type of a pad.">Gst::PadTemplate</a> - Describe the media type of a pad. <a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classGst_1_1Object.html">Gst::Object</a>.</p>
<div class="dynheader">
Collaboration diagram for Gst::PadTemplate:</div>
<div class="dynsection">
<div class="center"><img src="classGst_1_1PadTemplate__coll__graph.png" border="0" usemap="#Gst_1_1PadTemplate_coll__map" alt="Collaboration graph"/></div>
<map name="Gst_1_1PadTemplate_coll__map" id="Gst_1_1PadTemplate_coll__map">
<area shape="rect" href="classGst_1_1Object.html" title="Gst::Object &#45; Base class for the GStreamer object hierarchy." alt="" coords="24,237,112,267"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="23,160,113,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="8,83,128,112"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="15,5,121,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGst_1_1PadTemplate-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">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1PadTemplate.html#adc1784dcbf1c28e0e17a91e0c4fcb96c">~PadTemplate</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GstPadTemplate*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1PadTemplate.html#aed89e1536e37836b82ee90abfe8db063">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aed89e1536e37836b82ee90abfe8db063"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GstPadTemplate*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1PadTemplate.html#a2a1c8778a5bd26056df204a041b5c36c">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a2a1c8778a5bd26056df204a041b5c36c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GstPadTemplate*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1PadTemplate.html#aa8cdc03b69ac7edf5e223c87ed7bb932">gobj_copy</a> ()</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="#aa8cdc03b69ac7edf5e223c87ed7bb932"></a><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_1Caps.html">Gst::Caps</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1PadTemplate.html#a99fb30079d0ce1ce9fa70f0b7bfcb8b2">get_caps</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the capabilities of the pad template. <a href="#a99fb30079d0ce1ce9fa70f0b7bfcb8b2"></a><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; const <a class="el" href="classGst_1_1Caps.html">Gst::Caps</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1PadTemplate.html#a93b9a8db1f582ed7e74c1defe3f2cd53">get_caps</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the capabilities of the pad template. <a href="#a93b9a8db1f582ed7e74c1defe3f2cd53"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1PadTemplate.html#a08c885bd7173cdce6ecadea5f8c073af">get_name_template</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the nametemplate of the padtemplate. <a href="#a08c885bd7173cdce6ecadea5f8c073af"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gstreamermmEnums.html#ga06f428adf8058c0d1c01984a1ce191e2">PadDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1PadTemplate.html#a8b8c4e637f0b29349ae4ff5822a126da">get_direction</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the <a class="el" href="group__gstreamermmEnums.html#ga06f428adf8058c0d1c01984a1ce191e2">Gst::PadDirection</a> of the padtemplate. <a href="#a8b8c4e637f0b29349ae4ff5822a126da"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gstreamermmEnums.html#gaab7edc44a9e16b5225d727442846bca0">PadPresence</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1PadTemplate.html#a659aca975da10e5bd213858ddc2293d0">get_presence</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the <a class="el" href="group__gstreamermmEnums.html#gaab7edc44a9e16b5225d727442846bca0">Gst::PadPresence</a> of the padtemplate. <a href="#a659aca975da10e5bd213858ddc2293d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void, <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_1Pad.html">Gst::Pad</a> &gt;&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1PadTemplate.html#aa7ed61a2fd7ae2d8803b1d6c564a3288">signal_pad_created</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This signal is fired when an element creates a pad from this template. <a href="#aa7ed61a2fd7ae2d8803b1d6c564a3288"></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_1PadTemplate.html">PadTemplate</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1PadTemplate.html#ab62dde8f0a56bcbc04db198d396ce1dd">create</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name_template, <a class="el" href="group__gstreamermmEnums.html#ga06f428adf8058c0d1c01984a1ce191e2">PadDirection</a> direction, <a class="el" href="group__gstreamermmEnums.html#gaab7edc44a9e16b5225d727442846bca0">PadPresence</a> presence, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGst_1_1Caps.html">Gst::Caps</a> &gt;&amp; caps)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new pad template with a name according to the given template and with the given arguments. <a href="#ab62dde8f0a56bcbc04db198d396ce1dd"></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_1PadTemplate.html#aec52b9746d647e9ae75a3aa23d54f41d">PadTemplate</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name_template, <a class="el" href="group__gstreamermmEnums.html#ga06f428adf8058c0d1c01984a1ce191e2">PadDirection</a> direction, <a class="el" href="group__gstreamermmEnums.html#gaab7edc44a9e16b5225d727442846bca0">PadPresence</a> presence, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGst_1_1Caps.html">Gst::Caps</a> &gt;&amp; caps)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1PadTemplate.html#a3b130b39950b5d2c63fc8683ddd703d2">on_pad_created</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_1Pad.html">Gst::Pad</a> &gt;&amp; pad)</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_1PadTemplate.html">Gst::PadTemplate</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1PadTemplate.html#a77e2fa910af29b754d740cd47f6fa796">wrap</a> (GstPadTemplate* 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="#a77e2fa910af29b754d740cd47f6fa796"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p><a class="el" href="classGst_1_1PadTemplate.html" title="Gst::PadTemplate - Describe the media type of a pad.">Gst::PadTemplate</a> - Describe the media type of a pad. </p>
<p>Padtemplates describe the possible media types a pad or an elementfactory can handle. This allows for both inspection of handled types before loading the element plugin as well as identifying pads on elements that are not yet created (request or sometimes pads).</p>
<p><a class="el" href="classGst_1_1Pad.html" title="Gst::Pad - Object contained by elements that allows links to other elements.">Gst::Pad</a> and PadTemplates have <a class="el" href="classGst_1_1Caps.html" title="Gst::Caps (capabilities) are lightweight objects describing media formats.">Gst::Caps</a> attached to it to describe the media type they are capable of dealing with. <a class="el" href="classGst_1_1PadTemplate.html#a99fb30079d0ce1ce9fa70f0b7bfcb8b2" title="Gets the capabilities of the pad template.">get_caps()</a> is used to get the caps of a padtemplate. It's not possible to modify the caps of a padtemplate after creation.</p>
<p>PadTemplates have a <a class="el" href="group__gstreamermmEnums.html#gaab7edc44a9e16b5225d727442846bca0">Gst::PadPresence</a> property which identifies the lifetime of the pad and that can be retrieved with <a class="el" href="classGst_1_1PadTemplate.html#a659aca975da10e5bd213858ddc2293d0" title="Get the Gst::PadPresence of the padtemplate.">get_presence()</a>. Also the direction of the pad can be retrieved from the GstPadTemplate with <a class="el" href="classGst_1_1PadTemplate.html#a8b8c4e637f0b29349ae4ff5822a126da" title="Get the Gst::PadDirection of the padtemplate.">get_direction()</a>.</p>
<p>The <a class="el" href="classGst_1_1PadTemplate.html#a08c885bd7173cdce6ecadea5f8c073af" title="Get the nametemplate of the padtemplate.">get_name_template()</a> method is important for <a class="el" href="group__gstreamermmEnums.html#ggaab7edc44a9e16b5225d727442846bca0a06db8a709de17771c83a6f161588b916">Gst::PAD_REQUEST</a> pads because it has to be used as the name in the <a class="el" href="classGst_1_1Element.html#aea8e7821ecf7acdd24bb08b0e638caa7" title="Retrieves a pad from the element by name.">Gst::Element::get_request_pad()</a> call to instantiate a pad from this template.</p>
<p>Padtemplates can be created with <a class="el" href="classGst_1_1PadTemplate.html#ab62dde8f0a56bcbc04db198d396ce1dd" title="Creates a new pad template with a name according to the given template and with the...">create()</a>.</p>
<p>A padtemplate can be used to create a pad (see <a class="el" href="classGst_1_1Pad.html#a0c05a74e5a48ac4ed14e46fd2cc41587" title="Creates a new pad with the given name in the given direction.">Gst::Pad::create()</a> methods). </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="adc1784dcbf1c28e0e17a91e0c4fcb96c"></a><!-- doxytag: member="Gst::PadTemplate::~PadTemplate" ref="adc1784dcbf1c28e0e17a91e0c4fcb96c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gst::PadTemplate::~PadTemplate </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aec52b9746d647e9ae75a3aa23d54f41d"></a><!-- doxytag: member="Gst::PadTemplate::PadTemplate" ref="aec52b9746d647e9ae75a3aa23d54f41d" args="(const Glib::ustring &amp;name_template, PadDirection direction, PadPresence presence, const Glib::RefPtr&lt; Gst::Caps &gt; &amp;caps)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gst::PadTemplate::PadTemplate </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name_template</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#ga06f428adf8058c0d1c01984a1ce191e2">PadDirection</a>&#160;</td>
          <td class="paramname"> <em>direction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#gaab7edc44a9e16b5225d727442846bca0">PadPresence</a>&#160;</td>
          <td class="paramname"> <em>presence</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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_1Caps.html">Gst::Caps</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>caps</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ab62dde8f0a56bcbc04db198d396ce1dd"></a><!-- doxytag: member="Gst::PadTemplate::create" ref="ab62dde8f0a56bcbc04db198d396ce1dd" args="(const Glib::ustring &amp;name_template, PadDirection direction, PadPresence presence, const Glib::RefPtr&lt; Gst::Caps &gt; &amp;caps)" -->
<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_1PadTemplate.html">PadTemplate</a>&gt; Gst::PadTemplate::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name_template</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#ga06f428adf8058c0d1c01984a1ce191e2">PadDirection</a>&#160;</td>
          <td class="paramname"> <em>direction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#gaab7edc44a9e16b5225d727442846bca0">PadPresence</a>&#160;</td>
          <td class="paramname"> <em>presence</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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_1Caps.html">Gst::Caps</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>caps</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>Creates a new pad template with a name according to the given template and with the given arguments. </p>
<p>This functions takes ownership of the provided caps, so be sure to not use them afterwards.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name_template</em>&#160;</td><td>The name template. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>direction</em>&#160;</td><td>The <a class="el" href="group__gstreamermmEnums.html#ga06f428adf8058c0d1c01984a1ce191e2">Gst::PadDirection</a> of the template. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>presence</em>&#160;</td><td>The <a class="el" href="group__gstreamermmEnums.html#gaab7edc44a9e16b5225d727442846bca0">Gst::PadPresence</a> of the pad. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>caps</em>&#160;</td><td>A <a class="el" href="classGst_1_1Caps.html" title="Gst::Caps (capabilities) are lightweight objects describing media formats.">Gst::Caps</a> set for the template. The caps are taken ownership of. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGst_1_1PadTemplate.html" title="Gst::PadTemplate - Describe the media type of a pad.">Gst::PadTemplate</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a93b9a8db1f582ed7e74c1defe3f2cd53"></a><!-- doxytag: member="Gst::PadTemplate::get_caps" ref="a93b9a8db1f582ed7e74c1defe3f2cd53" args="() const " -->
<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;const <a class="el" href="classGst_1_1Caps.html">Gst::Caps</a>&gt; Gst::PadTemplate::get_caps </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the capabilities of the pad template. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGst_1_1Caps.html" title="Gst::Caps (capabilities) are lightweight objects describing media formats.">Gst::Caps</a> of the pad template. If you need to keep a reference to the caps, take a ref (see gst_caps_ref()). </dd></dl>

</div>
</div>
<a class="anchor" id="a99fb30079d0ce1ce9fa70f0b7bfcb8b2"></a><!-- doxytag: member="Gst::PadTemplate::get_caps" ref="a99fb30079d0ce1ce9fa70f0b7bfcb8b2" args="()" -->
<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_1Caps.html">Gst::Caps</a>&gt; Gst::PadTemplate::get_caps </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the capabilities of the pad template. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGst_1_1Caps.html" title="Gst::Caps (capabilities) are lightweight objects describing media formats.">Gst::Caps</a> of the pad template. If you need to keep a reference to the caps, take a ref (see gst_caps_ref()). </dd></dl>

</div>
</div>
<a class="anchor" id="a8b8c4e637f0b29349ae4ff5822a126da"></a><!-- doxytag: member="Gst::PadTemplate::get_direction" ref="a8b8c4e637f0b29349ae4ff5822a126da" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gstreamermmEnums.html#ga06f428adf8058c0d1c01984a1ce191e2">PadDirection</a> Gst::PadTemplate::get_direction </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the <a class="el" href="group__gstreamermmEnums.html#ga06f428adf8058c0d1c01984a1ce191e2">Gst::PadDirection</a> of the padtemplate. </p>

</div>
</div>
<a class="anchor" id="a08c885bd7173cdce6ecadea5f8c073af"></a><!-- doxytag: member="Gst::PadTemplate::get_name_template" ref="a08c885bd7173cdce6ecadea5f8c073af" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gst::PadTemplate::get_name_template </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the nametemplate of the padtemplate. </p>

</div>
</div>
<a class="anchor" id="a659aca975da10e5bd213858ddc2293d0"></a><!-- doxytag: member="Gst::PadTemplate::get_presence" ref="a659aca975da10e5bd213858ddc2293d0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gstreamermmEnums.html#gaab7edc44a9e16b5225d727442846bca0">PadPresence</a> Gst::PadTemplate::get_presence </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the <a class="el" href="group__gstreamermmEnums.html#gaab7edc44a9e16b5225d727442846bca0">Gst::PadPresence</a> of the padtemplate. </p>

</div>
</div>
<a class="anchor" id="a2a1c8778a5bd26056df204a041b5c36c"></a><!-- doxytag: member="Gst::PadTemplate::gobj" ref="a2a1c8778a5bd26056df204a041b5c36c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GstPadTemplate* Gst::PadTemplate::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="el" href="classGst_1_1Object.html#a11313ecde7bc68ee4ee43c0cf2e65c22">Gst::Object</a>.</p>

</div>
</div>
<a class="anchor" id="aed89e1536e37836b82ee90abfe8db063"></a><!-- doxytag: member="Gst::PadTemplate::gobj" ref="aed89e1536e37836b82ee90abfe8db063" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GstPadTemplate* Gst::PadTemplate::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="el" href="classGst_1_1Object.html#a3d889e949c76aa3ab4490026d6aca8ca">Gst::Object</a>.</p>

</div>
</div>
<a class="anchor" id="aa8cdc03b69ac7edf5e223c87ed7bb932"></a><!-- doxytag: member="Gst::PadTemplate::gobj_copy" ref="aa8cdc03b69ac7edf5e223c87ed7bb932" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GstPadTemplate* Gst::PadTemplate::gobj_copy </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. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>

<p>Reimplemented from <a class="el" href="classGst_1_1Object.html#a63d7202d3eb47c81ffc3ac16a895e9d1">Gst::Object</a>.</p>

</div>
</div>
<a class="anchor" id="a3b130b39950b5d2c63fc8683ddd703d2"></a><!-- doxytag: member="Gst::PadTemplate::on_pad_created" ref="a3b130b39950b5d2c63fc8683ddd703d2" args="(const Glib::RefPtr&lt; Gst::Pad &gt; &amp;pad)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gst::PadTemplate::on_pad_created </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_1Pad.html">Gst::Pad</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>pad</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa7ed61a2fd7ae2d8803b1d6c564a3288"></a><!-- doxytag: member="Gst::PadTemplate::signal_pad_created" ref="aa7ed61a2fd7ae2d8803b1d6c564a3288" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void,const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGst_1_1Pad.html">Gst::Pad</a>&gt;&amp; &gt; Gst::PadTemplate::signal_pad_created </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This signal is fired when an element creates a pad from this template. </p>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_pad_created(const Glib::RefPtr&lt;Gst::Pad&gt;&amp; pad)</code> </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a77e2fa910af29b754d740cd47f6fa796"></a><!-- doxytag: member="Gst::PadTemplate::wrap" ref="a77e2fa910af29b754d740cd47f6fa796" args="(GstPadTemplate *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_1PadTemplate.html">Gst::PadTemplate</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GstPadTemplate *&#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/padtemplate.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Sep 21 22:32:59 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>