<!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::MessageStructureChange 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_1MessageStructureChange.html">MessageStructureChange</a> </div> </div> <div class="contents"> <h1>Gst::MessageStructureChange Class Reference</h1><!-- doxytag: class="Gst::MessageStructureChange" --><!-- doxytag: inherits="Gst::Message" --> <p>A structure change message. <a href="#_details">More...</a></p> <p>Inherits <a class="el" href="classGst_1_1Message.html">Gst::Message</a>.</p> <div class="dynheader"> Collaboration diagram for Gst::MessageStructureChange:</div> <div class="dynsection"> <div class="center"><img src="classGst_1_1MessageStructureChange__coll__graph.png" border="0" usemap="#Gst_1_1MessageStructureChange_coll__map" alt="Collaboration graph"/></div> <map name="Gst_1_1MessageStructureChange_coll__map" id="Gst_1_1MessageStructureChange_coll__map"> <area shape="rect" id="node2" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline..." alt="" coords="53,86,157,117"/><area shape="rect" id="node4" href="classGst_1_1MiniObject.html" title="This is a base class for some gstreamermm objects." alt="" coords="49,6,161,37"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGst_1_1MessageStructureChange-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_1MessageStructureChange.html#afa6dcbcc7f4a1948b795e07f1be01183">MessageStructureChange</a> (GstMessage* castitem)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MessageStructureChange.html#a83973ce2f42fb48635825190c83690dd">parse</a> (<a class="el" href="group__gstreamermmEnums.html#ga45bf4b0ca80f47d6d01674a8a3d8dc19">Gst::StructureChangeType</a>& type, <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGst_1_1Element.html">Gst::Element</a> >& owner, bool& busy) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Extracts the change type and completion status from the <a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline...">Gst::Message</a>. <a href="#a83973ce2f42fb48635825190c83690dd"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gstreamermmEnums.html#ga45bf4b0ca80f47d6d01674a8a3d8dc19">Gst::StructureChangeType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MessageStructureChange.html#a8dd957fa992620fff95e957e07274416">parse</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Extracts the change type from the Gs::tMessage. <a href="#a8dd957fa992620fff95e957e07274416"></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>< <a class="el" href="classGst_1_1Element.html">Gst::Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MessageStructureChange.html#a6193443841d284b0613a68ee2093e3ce">parse_owner</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Extracts the owner from the <a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline...">Gst::Message</a>. <a href="#a6193443841d284b0613a68ee2093e3ce"></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_1MessageStructureChange.html#af1c03951452cc974b63e834501098f68">parse_busy</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Extracts the completion status from the <a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline...">Gst::Message</a>. <a href="#af1c03951452cc974b63e834501098f68"></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_1Message.html">Gst::Message</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MessageStructureChange.html#afbc52ea6840d2587c03c6697df78be06">create</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGst_1_1Object.html">Gst::Object</a> >& src, <a class="el" href="group__gstreamermmEnums.html#ga45bf4b0ca80f47d6d01674a8a3d8dc19">Gst::StructureChangeType</a> type, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGst_1_1Element.html">Gst::Element</a> >& owner, bool busy)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new structure change message. <a href="#afbc52ea6840d2587c03c6697df78be06"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A structure change message. </p> <p>See <a class="el" href="classGst_1_1MessageStructureChange.html#afbc52ea6840d2587c03c6697df78be06" title="Create a new structure change message.">create()</a> for more details. </p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="afa6dcbcc7f4a1948b795e07f1be01183"></a><!-- doxytag: member="Gst::MessageStructureChange::MessageStructureChange" ref="afa6dcbcc7f4a1948b795e07f1be01183" args="(GstMessage *castitem)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gst::MessageStructureChange::MessageStructureChange </td> <td>(</td> <td class="paramtype">GstMessage * </td> <td class="paramname"> <em>castitem</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="afbc52ea6840d2587c03c6697df78be06"></a><!-- doxytag: member="Gst::MessageStructureChange::create" ref="afbc52ea6840d2587c03c6697df78be06" args="(const Glib::RefPtr< Gst::Object > &src, Gst::StructureChangeType type, const Glib::RefPtr< Gst::Element > &owner, bool busy)" --> <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_1Message.html">Gst::Message</a>> Gst::MessageStructureChange::create </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGst_1_1Object.html">Gst::Object</a> >& </td> <td class="paramname"> <em>src</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#ga45bf4b0ca80f47d6d01674a8a3d8dc19">Gst::StructureChangeType</a> </td> <td class="paramname"> <em>type</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>< <a class="el" href="classGst_1_1Element.html">Gst::Element</a> >& </td> <td class="paramname"> <em>owner</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>busy</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Create a new structure change message. </p> <p>This message is posted when the structure of a pipeline is in the process of being changed, for example when pads are linked or unlinked.</p> <p><em>src</em> should be the srcpad that unlinked or linked.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>src</em> </td><td>The object originating the message. </td></tr> <tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>The change type. </td></tr> <tr><td valign="top"></td><td valign="top"><em>owner</em> </td><td>The owner element of src. </td></tr> <tr><td valign="top"></td><td valign="top"><em>busy</em> </td><td>Whether the structure change is busy. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The new structure change message. MT safe.</dd></dl> <p>Since 0.10.22. </p> </div> </div> <a class="anchor" id="a8dd957fa992620fff95e957e07274416"></a><!-- doxytag: member="Gst::MessageStructureChange::parse" ref="a8dd957fa992620fff95e957e07274416" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gstreamermmEnums.html#ga45bf4b0ca80f47d6d01674a8a3d8dc19">Gst::StructureChangeType</a> Gst::MessageStructureChange::parse </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Extracts the change type from the Gs::tMessage. </p> <p>MT safe.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>The change type.</dd></dl> <p>Since 0.10.22. </p> </div> </div> <a class="anchor" id="a83973ce2f42fb48635825190c83690dd"></a><!-- doxytag: member="Gst::MessageStructureChange::parse" ref="a83973ce2f42fb48635825190c83690dd" args="(Gst::StructureChangeType &type, Glib::RefPtr< Gst::Element > &owner, bool &busy) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gst::MessageStructureChange::parse </td> <td>(</td> <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#ga45bf4b0ca80f47d6d01674a8a3d8dc19">Gst::StructureChangeType</a>& </td> <td class="paramname"> <em>type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGst_1_1Element.html">Gst::Element</a> >& </td> <td class="paramname"> <em>owner</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool & </td> <td class="paramname"> <em>busy</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Extracts the change type and completion status from the <a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline...">Gst::Message</a>. </p> <p>MT safe.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>A reference to hold the change type. </td></tr> <tr><td valign="top"></td><td valign="top"><em>owner</em> </td><td>The owner element of the message source. </td></tr> <tr><td valign="top"></td><td valign="top"><em>busy</em> </td><td>A reference to hold whether the change is in progress or has been completed.</td></tr> </table> </dd> </dl> <p>Since 0.10.22. </p> </div> </div> <a class="anchor" id="af1c03951452cc974b63e834501098f68"></a><!-- doxytag: member="Gst::MessageStructureChange::parse_busy" ref="af1c03951452cc974b63e834501098f68" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gst::MessageStructureChange::parse_busy </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Extracts the completion status from the <a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline...">Gst::Message</a>. </p> <p>MT safe.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>whether the change is in progress or has been completed.</dd></dl> <p>Since 0.10.22. </p> </div> </div> <a class="anchor" id="a6193443841d284b0613a68ee2093e3ce"></a><!-- doxytag: member="Gst::MessageStructureChange::parse_owner" ref="a6193443841d284b0613a68ee2093e3ce" 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><<a class="el" href="classGst_1_1Element.html">Gst::Element</a>> Gst::MessageStructureChange::parse_owner </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Extracts the owner from the <a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline...">Gst::Message</a>. </p> <p>MT safe.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>The owner element of the message source.</dd></dl> <p>Since 0.10.22. </p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>gstreamermm/message.h</li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Apr 12 20:33:53 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>