Sophie

Sophie

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

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::ResourceError 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_1ResourceError.html">ResourceError</a>
  </div>
</div>
<div class="contents">
<h1>Gst::ResourceError Class Reference</h1><!-- doxytag: class="Gst::ResourceError" --><!-- doxytag: inherits="Glib::Error" -->
<p>The GStreamer resource GError type. <a href="#_details">More...</a></p>

<p>Inherits <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Error.html">Glib::Error</a>.</p>
<div class="dynheader">
Collaboration diagram for Gst::ResourceError:</div>
<div class="dynsection">
<div class="center"><img src="classGst_1_1ResourceError__coll__graph.png" border="0" usemap="#Gst_1_1ResourceError_coll__map" alt="Collaboration graph"/></div>
<map name="Gst_1_1ResourceError_coll__map" id="Gst_1_1ResourceError_coll__map">
<area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Error.html" title="Glib::Error" alt="" coords="32,83,112,112"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Exception.html" title="Glib::Exception" alt="" coords="17,5,127,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGst_1_1ResourceError-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719b">Code</a> { <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719ba2ae153549051e2cf473da444ae72234a">FAILED</a> = 1, <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719ba3ae8d15e888cc9626f1600f95b0f2620">TOO_LAZY</a>, <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719bac696c8b0c99dd7bc06ada7cd858cc853">NOT_FOUND</a>, <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719ba0b04027b8e7c48b498ae3d70e31b9036">BUSY</a>, <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719ba85118ae41735612b6f65f14074dd5ea9">OPEN_READ</a>, <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719baca22e0897774e0cc34f25129229ff92c">OPEN_WRITE</a>, <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719ba9b53c65841d801b641fb6914ddd2356c">OPEN_READ_WRITE</a>, <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719ba393996fe626918d16c972b5d55d7d2e7">CLOSE</a>, <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719ba43ce8f90704b812a686fc90eb87097a4">READ</a>, <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719bac9f69cc07fc3d40f4b0425a040c55c4b">WRITE</a>, <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719ba3a8617df89117d5e56710927de476ee6">SEEK</a>, <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719bafabd39df54ba375dc396c5533fafb8d5">SYNC</a>, <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719ba154b7e48df8942a8a0dbf819ec7671c7">SETTINGS</a>, <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719baaa1d3fd33274e098c9ef92042f553a62">NO_SPACE_LEFT</a>, <br/>
&#160;&#160;<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719ba838a8de8d2f717c7a2ad9987ba5886a6">NUM_ERRORS</a>
<br/>
 }</td></tr>
<tr><td colspan="2"><h2>Public 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_1ResourceError.html#afcf5e62ab64c0d2b19cdd9256196e3f0">ResourceError</a> (<a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719b">Code</a> error_code, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; error_message)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ResourceError.html#aa5ff0f801d023ee88abff111ac4ff7dc">ResourceError</a> (GError* gobject)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719b">Code</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1ResourceError.html#a5674d1ee9c0fe9762602afa778eefe9c">code</a> () const </td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The GStreamer resource GError type. </p>
<p>GStreamer elements can throw non-fatal warnings and fatal errors. Higher-level elements and applications can programatically filter the ones they are interested in or can recover from, and have a default handler handle the rest of them. Both warnings and fatal errors are treated similarly.</p>
<p>Resource errors are for any resource used by an element: memory, files, network connections, process space, ... They're typically used by source and sink elements.</p>
<ul>
<li>FAILED - a general error which doesn't fit in any other category. Make sure you add a custom message to the error call.</li>
<li>TOO_LAZY - do not use this except as a placeholder for deciding where to go while developing code.</li>
<li>NOT_FOUND - used when the resource could not be found.</li>
<li>BUSY - used when resource is busy.</li>
<li>OPEN_READ - used when resource fails to open for reading.</li>
<li>OPEN_WRITE - used when resource fails to open for writing.</li>
<li>OPEN_READ_WRITE - used when resource cannot be opened for both reading and writing, or either (but unspecified which).</li>
<li>CLOSE - used when the resource can't be closed.</li>
<li>READ - used when the resource can't be read from.</li>
<li>WRITE - used when the resource can't be written to.</li>
<li>SEEK - used when a seek on the resource fails.</li>
<li>SYNC - used when a synchronize on the resource fails.</li>
<li>SETTINGS - used when settings can't be manipulated on.</li>
<li>NO_SPACE_LEFT - used when the resource has no space left.</li>
<li>NUM_ERRORS - the number of resource error types.</li>
</ul>
<p>Elements do not have the context required to decide what to do with errors. As such, they should only inform about errors, and stop their processing. In short, an element doesn't know what it is being used for.</p>
<p>It is the application or compound element using the given element that has more context about the use of the element. Errors can be received by listening to the <a class="el" href="classGst_1_1Bus.html" title="Gst::Bus - Asynchronous message bus subsystem.">Gst::Bus</a> of the element/pipeline for <a class="el" href="classGst_1_1Message.html" title="Gst::Message - Lightweight objects to signal the application of pipeline events.">Gst::Message</a> objects with the type <a class="el" href="group__gstreamermmEnums.html#gga704e8de3c3f9698d3c3ca15d61190a86a8cb728e3c03839f9b1d6e68f1949c5dd">Gst::MESSAGE_ERROR</a> or <a class="el" href="group__gstreamermmEnums.html#gga704e8de3c3f9698d3c3ca15d61190a86a5c2fd057499aa561dfbb9e89ffa9b0e2">Gst::MESSAGE_WARNING</a>. The thrown errors should be inspected, and filtered if appropriate.</p>
<p>An application is expected to, by default, present the user with a dialog box (or an equivalent) showing the error message. The dialog should also allow a way to get at the additional debug information, so the user can provide bug reporting information.</p>
<p>A compound element is expected to forward errors by default higher up the hierarchy; this is done by default in the same way as for other types of <a class="el" href="classGst_1_1Message.html" title="Gst::Message - Lightweight objects to signal the application of pipeline events.">Gst::Message</a>.</p>
<p>When applications or compound elements trigger errors that they can recover from, they can filter out these errors and take appropriate action. For example, an application that gets an error from xvimagesink that indicates all XVideo ports are taken, the application can attempt to use another sink instead. </p>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a90234857351dc8724ff4daa53426719b"></a><!-- doxytag: member="Gst::ResourceError::Code" ref="a90234857351dc8724ff4daa53426719b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719b">Gst::ResourceError::Code</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719ba2ae153549051e2cf473da444ae72234a"></a><!-- doxytag: member="FAILED" ref="a90234857351dc8724ff4daa53426719ba2ae153549051e2cf473da444ae72234a" args="" -->FAILED</em>&#160;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719ba3ae8d15e888cc9626f1600f95b0f2620"></a><!-- doxytag: member="TOO_LAZY" ref="a90234857351dc8724ff4daa53426719ba3ae8d15e888cc9626f1600f95b0f2620" args="" -->TOO_LAZY</em>&#160;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719bac696c8b0c99dd7bc06ada7cd858cc853"></a><!-- doxytag: member="NOT_FOUND" ref="a90234857351dc8724ff4daa53426719bac696c8b0c99dd7bc06ada7cd858cc853" args="" -->NOT_FOUND</em>&#160;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719ba0b04027b8e7c48b498ae3d70e31b9036"></a><!-- doxytag: member="BUSY" ref="a90234857351dc8724ff4daa53426719ba0b04027b8e7c48b498ae3d70e31b9036" args="" -->BUSY</em>&#160;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719ba85118ae41735612b6f65f14074dd5ea9"></a><!-- doxytag: member="OPEN_READ" ref="a90234857351dc8724ff4daa53426719ba85118ae41735612b6f65f14074dd5ea9" args="" -->OPEN_READ</em>&#160;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719baca22e0897774e0cc34f25129229ff92c"></a><!-- doxytag: member="OPEN_WRITE" ref="a90234857351dc8724ff4daa53426719baca22e0897774e0cc34f25129229ff92c" args="" -->OPEN_WRITE</em>&#160;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719ba9b53c65841d801b641fb6914ddd2356c"></a><!-- doxytag: member="OPEN_READ_WRITE" ref="a90234857351dc8724ff4daa53426719ba9b53c65841d801b641fb6914ddd2356c" args="" -->OPEN_READ_WRITE</em>&#160;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719ba393996fe626918d16c972b5d55d7d2e7"></a><!-- doxytag: member="CLOSE" ref="a90234857351dc8724ff4daa53426719ba393996fe626918d16c972b5d55d7d2e7" args="" -->CLOSE</em>&#160;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719ba43ce8f90704b812a686fc90eb87097a4"></a><!-- doxytag: member="READ" ref="a90234857351dc8724ff4daa53426719ba43ce8f90704b812a686fc90eb87097a4" args="" -->READ</em>&#160;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719bac9f69cc07fc3d40f4b0425a040c55c4b"></a><!-- doxytag: member="WRITE" ref="a90234857351dc8724ff4daa53426719bac9f69cc07fc3d40f4b0425a040c55c4b" args="" -->WRITE</em>&#160;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719ba3a8617df89117d5e56710927de476ee6"></a><!-- doxytag: member="SEEK" ref="a90234857351dc8724ff4daa53426719ba3a8617df89117d5e56710927de476ee6" args="" -->SEEK</em>&#160;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719bafabd39df54ba375dc396c5533fafb8d5"></a><!-- doxytag: member="SYNC" ref="a90234857351dc8724ff4daa53426719bafabd39df54ba375dc396c5533fafb8d5" args="" -->SYNC</em>&#160;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719ba154b7e48df8942a8a0dbf819ec7671c7"></a><!-- doxytag: member="SETTINGS" ref="a90234857351dc8724ff4daa53426719ba154b7e48df8942a8a0dbf819ec7671c7" args="" -->SETTINGS</em>&#160;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719baaa1d3fd33274e098c9ef92042f553a62"></a><!-- doxytag: member="NO_SPACE_LEFT" ref="a90234857351dc8724ff4daa53426719baaa1d3fd33274e098c9ef92042f553a62" args="" -->NO_SPACE_LEFT</em>&#160;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a90234857351dc8724ff4daa53426719ba838a8de8d2f717c7a2ad9987ba5886a6"></a><!-- doxytag: member="NUM_ERRORS" ref="a90234857351dc8724ff4daa53426719ba838a8de8d2f717c7a2ad9987ba5886a6" args="" -->NUM_ERRORS</em>&#160;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="afcf5e62ab64c0d2b19cdd9256196e3f0"></a><!-- doxytag: member="Gst::ResourceError::ResourceError" ref="afcf5e62ab64c0d2b19cdd9256196e3f0" args="(Code error_code, const Glib::ustring &amp;error_message)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gst::ResourceError::ResourceError </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719b">Code</a>&#160;</td>
          <td class="paramname"> <em>error_code</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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>error_message</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa5ff0f801d023ee88abff111ac4ff7dc"></a><!-- doxytag: member="Gst::ResourceError::ResourceError" ref="aa5ff0f801d023ee88abff111ac4ff7dc" args="(GError *gobject)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gst::ResourceError::ResourceError </td>
          <td>(</td>
          <td class="paramtype">GError *&#160;</td>
          <td class="paramname"> <em>gobject</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5674d1ee9c0fe9762602afa778eefe9c"></a><!-- doxytag: member="Gst::ResourceError::code" ref="a5674d1ee9c0fe9762602afa778eefe9c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGst_1_1ResourceError.html#a90234857351dc8724ff4daa53426719b">Code</a> Gst::ResourceError::code </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Error.html#a073623423095dc52db289bf04a146648">Glib::Error</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gstreamermm/error.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Sep 21 22:32:55 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>