<!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::MessageStreamStatus 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_1MessageStreamStatus.html">MessageStreamStatus</a> </div> </div> <div class="contents"> <h1>Gst::MessageStreamStatus Class Reference</h1><!-- doxytag: class="Gst::MessageStreamStatus" --><!-- doxytag: inherits="Gst::Message" --> <p>A stream status 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::MessageStreamStatus:</div> <div class="dynsection"> <div class="center"><img src="classGst_1_1MessageStreamStatus__coll__graph.png" border="0" usemap="#Gst_1_1MessageStreamStatus_coll__map" alt="Collaboration graph"/></div> <map name="Gst_1_1MessageStreamStatus_coll__map" id="Gst_1_1MessageStreamStatus_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="45,86,149,117"/><area shape="rect" id="node4" href="classGst_1_1MiniObject.html" title="This is a base class for some gstreamermm objects." alt="" coords="41,6,153,37"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGst_1_1MessageStreamStatus-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_1MessageStreamStatus.html#ad11ea603756cafb9986bd84aad76b028">MessageStreamStatus</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_1MessageStreamStatus.html#af98a94ce3a021d0462c5f43d2e6027db">set_object</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> >& object)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Configures the object handling the streaming thread. <a href="#af98a94ce3a021d0462c5f43d2e6027db"></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_1Object.html">Gst::Object</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MessageStreamStatus.html#ad0cb83563d05bf734fccb29bcd3b25b4">get_object</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Extracts the object managing the streaming thread from message. <a href="#ad0cb83563d05bf734fccb29bcd3b25b4"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MessageStreamStatus.html#ac75ac9be6f8d4b8781d08b5634135e8c">parse</a> (<a class="el" href="group__gstreamermmEnums.html#gad70f2cc8c3a75bebcc6ffecf7032766a">Gst::StreamStatusType</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) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Extracts the stream status type and owner of 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="#ac75ac9be6f8d4b8781d08b5634135e8c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gstreamermmEnums.html#gad70f2cc8c3a75bebcc6ffecf7032766a">Gst::StreamStatusType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MessageStreamStatus.html#aac51c00d4b3f3c965e6d9f4da91d7f05">parse</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Extracts the stream status type. <a href="#aac51c00d4b3f3c965e6d9f4da91d7f05"></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_1MessageStreamStatus.html#a97bf878c2b393cd1f3a6e1e4715e5465">parse_owner</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Extracts the owner of 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="#a97bf878c2b393cd1f3a6e1e4715e5465"></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_1MessageStreamStatus.html#a1f7ab3714dcd0bd26c3fa3bdb843a3f2">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#gad70f2cc8c3a75bebcc6ffecf7032766a">Gst::StreamStatusType</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)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new stream status message. <a href="#a1f7ab3714dcd0bd26c3fa3bdb843a3f2"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A stream status message. </p> <p>See <a class="el" href="classGst_1_1MessageStreamStatus.html#a1f7ab3714dcd0bd26c3fa3bdb843a3f2" title="Create a new stream status message.">create()</a> for more details. </p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ad11ea603756cafb9986bd84aad76b028"></a><!-- doxytag: member="Gst::MessageStreamStatus::MessageStreamStatus" ref="ad11ea603756cafb9986bd84aad76b028" args="(GstMessage *castitem)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gst::MessageStreamStatus::MessageStreamStatus </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="a1f7ab3714dcd0bd26c3fa3bdb843a3f2"></a><!-- doxytag: member="Gst::MessageStreamStatus::create" ref="a1f7ab3714dcd0bd26c3fa3bdb843a3f2" args="(const Glib::RefPtr< Gst::Object > &src, Gst::StreamStatusType type, const Glib::RefPtr< Gst::Element > &owner)" --> <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::MessageStreamStatus::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#gad70f2cc8c3a75bebcc6ffecf7032766a">Gst::StreamStatusType</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><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 stream status message. </p> <p>This message is posted when a streaming thread is created/destroyed or when the state changed.</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 stream status type. </td></tr> <tr><td valign="top"></td><td valign="top"><em>owner</em> </td><td>The owner element of <em>src</em>. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The new stream status message. MT safe. </dd></dl> </div> </div> <a class="anchor" id="ad0cb83563d05bf734fccb29bcd3b25b4"></a><!-- doxytag: member="Gst::MessageStreamStatus::get_object" ref="ad0cb83563d05bf734fccb29bcd3b25b4" 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_1Object.html">Gst::Object</a>> Gst::MessageStreamStatus::get_object </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Extracts the object managing the streaming thread from message. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The object that manages the streaming thread. The actual object is usually a <a class="el" href="classGst_1_1Task.html" title="A class representing GStreamer streaming threads.">Gst::Task</a> but other types can be added in the future. The object remains valid as long as the message is valid. </dd></dl> </div> </div> <a class="anchor" id="aac51c00d4b3f3c965e6d9f4da91d7f05"></a><!-- doxytag: member="Gst::MessageStreamStatus::parse" ref="aac51c00d4b3f3c965e6d9f4da91d7f05" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gstreamermmEnums.html#gad70f2cc8c3a75bebcc6ffecf7032766a">Gst::StreamStatusType</a> Gst::MessageStreamStatus::parse </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Extracts the stream status type. </p> <p>MT safe.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>The stream status type.</dd></dl> <p>Since 0.10.24. </p> </div> </div> <a class="anchor" id="ac75ac9be6f8d4b8781d08b5634135e8c"></a><!-- doxytag: member="Gst::MessageStreamStatus::parse" ref="ac75ac9be6f8d4b8781d08b5634135e8c" args="(Gst::StreamStatusType &type, Glib::RefPtr< Gst::Element > &owner) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gst::MessageStreamStatus::parse </td> <td>(</td> <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#gad70f2cc8c3a75bebcc6ffecf7032766a">Gst::StreamStatusType</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><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Extracts the stream status type and owner of 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>The returned owner remains valid for as long as the reference to the message is valid.</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 status type. </td></tr> <tr><td valign="top"></td><td valign="top"><em>owner</em> </td><td>A reference to hold the owner <a class="el" href="classGst_1_1Element.html" title="The abstract base class for all pipeline elements.">Gst::Element</a>.</td></tr> </table> </dd> </dl> <p>Since 0.10.24. </p> </div> </div> <a class="anchor" id="a97bf878c2b393cd1f3a6e1e4715e5465"></a><!-- doxytag: member="Gst::MessageStreamStatus::parse_owner" ref="a97bf878c2b393cd1f3a6e1e4715e5465" 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::MessageStreamStatus::parse_owner </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Extracts the owner of 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>The returned owner remains valid for as long as the reference to the message is valid.</p> <p>MT safe.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>The owner <a class="el" href="classGst_1_1Element.html" title="The abstract base class for all pipeline elements.">Gst::Element</a>.</dd></dl> <p>Since 0.10.24. </p> </div> </div> <a class="anchor" id="af98a94ce3a021d0462c5f43d2e6027db"></a><!-- doxytag: member="Gst::MessageStreamStatus::set_object" ref="af98a94ce3a021d0462c5f43d2e6027db" args="(const Glib::RefPtr< Gst::Object > &object)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gst::MessageStreamStatus::set_object </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>object</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Configures the object handling the streaming thread. </p> <p>This is usually a <a class="el" href="classGst_1_1Task.html" title="A class representing GStreamer streaming threads.">Gst::Task</a> object but other objects might be added in the future. </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> </td><td>The object controlling the streaming.</td></tr> </table> </dd> </dl> <p>Since 0.10.24. </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:54 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>