Home | History | Annotate | Download | only in oscl_html
      1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
      3 <title> TemplateBufFragGroup&lt; ChainClass, max_frags &gt; class Reference</title>
      4 <link href="doxygen.css" rel="stylesheet" type="text/css">
      5 </head><body>
      6 <!-- Generated by Doxygen 1.2.18 -->
      7 <center>
      8 <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
      9 <hr><h1>BufFragGroup&lt; ChainClass, max_frags &gt; Class Template Reference<br>
     10 <small>
     11 [<a class="el" href="group__osclutil.html">OSCL Util</a>]</small>
     12 </h1><code>#include &lt;<a class="el" href="oscl__media__data_8h-source.html">oscl_media_data.h</a>&gt;</code>
     13 <p>
     14 <p>Inheritance diagram for BufFragGroup&lt; ChainClass, max_frags &gt;:
     15 <p><center><img src="classBufFragGroup.png" usemap="#BufFragGroup< ChainClass, max_frags >_map" border="0" alt=""></center>
     16 <map name="BufFragGroup< ChainClass, max_frags >_map">
     17 <area href="classMediaData.html" alt="MediaData< ChainClass, max_frags, local_bufsize >" shape="rect" coords="0,56,311,80">
     18 </map>
     19 <table border=0 cellpadding=0 cellspacing=0>
     20 <tr><td></td></tr>
     21 <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
     22 <tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classBufFragGroup.html#a0">BufFragGroup</a> ()</td></tr>
     23 <tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classBufFragGroup.html#a1">~BufFragGroup</a> ()</td></tr>
     24 <tr><td nowrap align=right valign=top>int32&nbsp;</td><td valign=bottom><a class="el" href="classBufFragGroup.html#a2">GetMaxFrags</a> () const</td></tr>
     25 <tr><td nowrap align=right valign=top>int32&nbsp;</td><td valign=bottom><a class="el" href="classBufFragGroup.html#a3">GetNumFrags</a> () const</td></tr>
     26 <tr><td nowrap align=right valign=top>uint32&nbsp;</td><td valign=bottom><a class="el" href="classBufFragGroup.html#a4">GetLength</a> () const</td></tr>
     27 <tr><td nowrap align=right valign=top><a class="el" href="classBufferFragment.html">BufferFragment</a> *&nbsp;</td><td valign=bottom><a class="el" href="group__osclutil.html#a48">GetFragment</a> (const int32 idx)</td></tr>
     28 <tr><td nowrap align=right valign=top><a class="el" href="classBufferState.html">BufferState</a> *&nbsp;</td><td valign=bottom><a class="el" href="group__osclutil.html#a49">GetBufferState</a> (const int32 idx)</td></tr>
     29 <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classBufFragGroup.html#a7">AppendNext</a> (ChainClass *next_ptr)</td></tr>
     30 <tr><td nowrap align=right valign=top>ChainClass *&nbsp;</td><td valign=bottom><a class="el" href="classBufFragGroup.html#a8">GetNext</a> () const</td></tr>
     31 <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
     32 <tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classBufFragGroup.html#b0">Clear</a> ()</td></tr>
     33 <tr><td nowrap align=right valign=top><a class="el" href="classBufFragStatusClass.html#s8">BufFragStatusClass::status_t</a>&nbsp;</td><td valign=bottom><a class="el" href="classBufFragGroup.html#b1">AddFragment</a> (const <a class="el" href="classBufferFragment.html">BufferFragment</a> &amp;frag, <a class="el" href="classBufferState.html">BufferState</a> *in_buffer_state, int32 location_offset=max_frags)</td></tr>
     34 <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
     35 <tr><td nowrap align=right valign=top><a class="el" href="classBufferFragment.html">BufferFragment</a>&nbsp;</td><td valign=bottom><a class="el" href="classBufFragGroup.html#n0">fragments</a> [max_frags]</td></tr>
     36 <tr><td nowrap align=right valign=top><a class="el" href="classBufferState.html">BufferState</a> *&nbsp;</td><td valign=bottom><a class="el" href="classBufFragGroup.html#n1">buffer_states</a> [max_frags]</td></tr>
     37 <tr><td nowrap align=right valign=top>ChainClass *&nbsp;</td><td valign=bottom><a class="el" href="classBufFragGroup.html#n2">next</a></td></tr>
     38 <tr><td nowrap align=right valign=top>uint32&nbsp;</td><td valign=bottom><a class="el" href="classBufFragGroup.html#n3">num_fragments</a></td></tr>
     39 <tr><td nowrap align=right valign=top>uint32&nbsp;</td><td valign=bottom><a class="el" href="classBufFragGroup.html#n4">length</a></td></tr>
     40 </table>
     41 <h3>template&lt;class ChainClass, uint32 max_frags&gt;<br>
     42  class BufFragGroup&lt; ChainClass, max_frags &gt;</h3>
     43 
     44 <hr><h2>Constructor &amp; Destructor Documentation</h2>
     45 <a name="a0" doxytag="BufFragGroup::BufFragGroup"></a><p>
     46 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     47   <tr>
     48     <td class="md">
     49       <table cellpadding="0" cellspacing="0" border="0">
     50         <tr>
     51           <td class="md" colspan="4">
     52 template&lt;class ChainClass, uint32 max_frags&gt; </td>
     53         </tr>
     54         <tr>
     55           <td class="md" nowrap valign="top"> BufFragGroup&lt; ChainClass, max_frags &gt;::BufFragGroup </td>
     56           <td class="md" valign="top">(&nbsp;</td>
     57           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
     58           <td class="md" valign="top">)&nbsp;</td>
     59           <td class="md" nowrap><code> [inline]</code></td>
     60         </tr>
     61 
     62       </table>
     63     </td>
     64   </tr>
     65 </table>
     66 <table cellspacing=5 cellpadding=0 border=0>
     67   <tr>
     68     <td>
     69       &nbsp;
     70     </td>
     71     <td>
     72 
     73 <p>
     74     </td>
     75   </tr>
     76 </table>
     77 <a name="a1" doxytag="BufFragGroup::~BufFragGroup"></a><p>
     78 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     79   <tr>
     80     <td class="md">
     81       <table cellpadding="0" cellspacing="0" border="0">
     82         <tr>
     83           <td class="md" colspan="4">
     84 template&lt;class ChainClass, uint32 max_frags&gt; </td>
     85         </tr>
     86         <tr>
     87           <td class="md" nowrap valign="top"> virtual BufFragGroup&lt; ChainClass, max_frags &gt;::~BufFragGroup </td>
     88           <td class="md" valign="top">(&nbsp;</td>
     89           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
     90           <td class="md" valign="top">)&nbsp;</td>
     91           <td class="md" nowrap><code> [inline, virtual]</code></td>
     92         </tr>
     93 
     94       </table>
     95     </td>
     96   </tr>
     97 </table>
     98 <table cellspacing=5 cellpadding=0 border=0>
     99   <tr>
    100     <td>
    101       &nbsp;
    102     </td>
    103     <td>
    104 
    105 <p>
    106     </td>
    107   </tr>
    108 </table>
    109 <hr><h2>Member Function Documentation</h2>
    110 <a name="b1" doxytag="BufFragGroup::AddFragment"></a><p>
    111 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    112   <tr>
    113     <td class="md">
    114       <table cellpadding="0" cellspacing="0" border="0">
    115         <tr>
    116           <td class="md" colspan="4">
    117 template&lt;class ChainClass, uint32 max_frags&gt; </td>
    118         </tr>
    119         <tr>
    120           <td class="md" nowrap valign="top"> <a class="el" href="classBufFragStatusClass.html#s8">BufFragStatusClass::status_t</a> BufFragGroup&lt; ChainClass, max_frags &gt;::AddFragment </td>
    121           <td class="md" valign="top">(&nbsp;</td>
    122           <td class="md" nowrap valign="top">const <a class="el" href="classBufferFragment.html">BufferFragment</a> &amp;&nbsp;</td>
    123           <td class="mdname" nowrap>&nbsp; <em>frag</em>, </td>
    124         </tr>
    125         <tr>
    126           <td></td>
    127           <td></td>
    128           <td class="md" nowrap><a class="el" href="classBufferState.html">BufferState</a> *&nbsp;</td>
    129           <td class="mdname" nowrap>&nbsp; <em>in_buffer_state</em>, </td>
    130         </tr>
    131         <tr>
    132           <td></td>
    133           <td></td>
    134           <td class="md" nowrap>int32&nbsp;</td>
    135           <td class="mdname" nowrap>&nbsp; <em>location_offset</em> = max_frags</td>
    136         </tr>
    137         <tr>
    138           <td></td>
    139           <td class="md">)&nbsp;</td>
    140           <td class="md" colspan="2"><code> [inline, protected]</code></td>
    141         </tr>
    142 
    143       </table>
    144     </td>
    145   </tr>
    146 </table>
    147 <table cellspacing=5 cellpadding=0 border=0>
    148   <tr>
    149     <td>
    150       &nbsp;
    151     </td>
    152     <td>
    153 
    154 <p>
    155     </td>
    156   </tr>
    157 </table>
    158 <a name="a7" doxytag="BufFragGroup::AppendNext"></a><p>
    159 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    160   <tr>
    161     <td class="md">
    162       <table cellpadding="0" cellspacing="0" border="0">
    163         <tr>
    164           <td class="md" colspan="4">
    165 template&lt;class ChainClass, uint32 max_frags&gt; </td>
    166         </tr>
    167         <tr>
    168           <td class="md" nowrap valign="top"> void BufFragGroup&lt; ChainClass, max_frags &gt;::AppendNext </td>
    169           <td class="md" valign="top">(&nbsp;</td>
    170           <td class="md" nowrap valign="top">ChainClass *&nbsp;</td>
    171           <td class="mdname1" valign="top" nowrap>&nbsp; <em>next_ptr</em>          </td>
    172           <td class="md" valign="top">)&nbsp;</td>
    173           <td class="md" nowrap><code> [inline]</code></td>
    174         </tr>
    175 
    176       </table>
    177     </td>
    178   </tr>
    179 </table>
    180 <table cellspacing=5 cellpadding=0 border=0>
    181   <tr>
    182     <td>
    183       &nbsp;
    184     </td>
    185     <td>
    186 
    187 <p>
    188     </td>
    189   </tr>
    190 </table>
    191 <a name="b0" doxytag="BufFragGroup::Clear"></a><p>
    192 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    193   <tr>
    194     <td class="md">
    195       <table cellpadding="0" cellspacing="0" border="0">
    196         <tr>
    197           <td class="md" colspan="4">
    198 template&lt;class ChainClass, uint32 max_frags&gt; </td>
    199         </tr>
    200         <tr>
    201           <td class="md" nowrap valign="top"> virtual void BufFragGroup&lt; ChainClass, max_frags &gt;::Clear </td>
    202           <td class="md" valign="top">(&nbsp;</td>
    203           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    204           <td class="md" valign="top">)&nbsp;</td>
    205           <td class="md" nowrap><code> [inline, protected, virtual]</code></td>
    206         </tr>
    207 
    208       </table>
    209     </td>
    210   </tr>
    211 </table>
    212 <table cellspacing=5 cellpadding=0 border=0>
    213   <tr>
    214     <td>
    215       &nbsp;
    216     </td>
    217     <td>
    218 
    219 <p>
    220 
    221 <p>
    222 Reimplemented in <a class="el" href="classMediaData.html#a7">MediaData&lt; ChainClass, max_frags, local_bufsize &gt;</a>.    </td>
    223   </tr>
    224 </table>
    225 <a name="a4" doxytag="BufFragGroup::GetLength"></a><p>
    226 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    227   <tr>
    228     <td class="md">
    229       <table cellpadding="0" cellspacing="0" border="0">
    230         <tr>
    231           <td class="md" colspan="4">
    232 template&lt;class ChainClass, uint32 max_frags&gt; </td>
    233         </tr>
    234         <tr>
    235           <td class="md" nowrap valign="top"> uint32 BufFragGroup&lt; ChainClass, max_frags &gt;::GetLength </td>
    236           <td class="md" valign="top">(&nbsp;</td>
    237           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    238           <td class="md" valign="top">)&nbsp;</td>
    239           <td class="md" nowrap> const<code> [inline]</code></td>
    240         </tr>
    241 
    242       </table>
    243     </td>
    244   </tr>
    245 </table>
    246 <table cellspacing=5 cellpadding=0 border=0>
    247   <tr>
    248     <td>
    249       &nbsp;
    250     </td>
    251     <td>
    252 
    253 <p>
    254     </td>
    255   </tr>
    256 </table>
    257 <a name="a2" doxytag="BufFragGroup::GetMaxFrags"></a><p>
    258 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    259   <tr>
    260     <td class="md">
    261       <table cellpadding="0" cellspacing="0" border="0">
    262         <tr>
    263           <td class="md" colspan="4">
    264 template&lt;class ChainClass, uint32 max_frags&gt; </td>
    265         </tr>
    266         <tr>
    267           <td class="md" nowrap valign="top"> int32 BufFragGroup&lt; ChainClass, max_frags &gt;::GetMaxFrags </td>
    268           <td class="md" valign="top">(&nbsp;</td>
    269           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    270           <td class="md" valign="top">)&nbsp;</td>
    271           <td class="md" nowrap> const<code> [inline]</code></td>
    272         </tr>
    273 
    274       </table>
    275     </td>
    276   </tr>
    277 </table>
    278 <table cellspacing=5 cellpadding=0 border=0>
    279   <tr>
    280     <td>
    281       &nbsp;
    282     </td>
    283     <td>
    284 
    285 <p>
    286     </td>
    287   </tr>
    288 </table>
    289 <a name="a8" doxytag="BufFragGroup::GetNext"></a><p>
    290 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    291   <tr>
    292     <td class="md">
    293       <table cellpadding="0" cellspacing="0" border="0">
    294         <tr>
    295           <td class="md" colspan="4">
    296 template&lt;class ChainClass, uint32 max_frags&gt; </td>
    297         </tr>
    298         <tr>
    299           <td class="md" nowrap valign="top"> ChainClass* BufFragGroup&lt; ChainClass, max_frags &gt;::GetNext </td>
    300           <td class="md" valign="top">(&nbsp;</td>
    301           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    302           <td class="md" valign="top">)&nbsp;</td>
    303           <td class="md" nowrap> const<code> [inline]</code></td>
    304         </tr>
    305 
    306       </table>
    307     </td>
    308   </tr>
    309 </table>
    310 <table cellspacing=5 cellpadding=0 border=0>
    311   <tr>
    312     <td>
    313       &nbsp;
    314     </td>
    315     <td>
    316 
    317 <p>
    318     </td>
    319   </tr>
    320 </table>
    321 <a name="a3" doxytag="BufFragGroup::GetNumFrags"></a><p>
    322 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    323   <tr>
    324     <td class="md">
    325       <table cellpadding="0" cellspacing="0" border="0">
    326         <tr>
    327           <td class="md" colspan="4">
    328 template&lt;class ChainClass, uint32 max_frags&gt; </td>
    329         </tr>
    330         <tr>
    331           <td class="md" nowrap valign="top"> int32 BufFragGroup&lt; ChainClass, max_frags &gt;::GetNumFrags </td>
    332           <td class="md" valign="top">(&nbsp;</td>
    333           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    334           <td class="md" valign="top">)&nbsp;</td>
    335           <td class="md" nowrap> const<code> [inline]</code></td>
    336         </tr>
    337 
    338       </table>
    339     </td>
    340   </tr>
    341 </table>
    342 <table cellspacing=5 cellpadding=0 border=0>
    343   <tr>
    344     <td>
    345       &nbsp;
    346     </td>
    347     <td>
    348 
    349 <p>
    350     </td>
    351   </tr>
    352 </table>
    353 <hr><h2>Field Documentation</h2>
    354 <a name="n1" doxytag="BufFragGroup::buffer_states"></a><p>
    355 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    356   <tr>
    357     <td class="md">
    358       <table cellpadding="0" cellspacing="0" border="0">
    359         <tr>
    360           <td class="md" colspan="4">
    361 template&lt;class ChainClass, uint32 max_frags&gt; </td>
    362         </tr>
    363         <tr>
    364           <td class="md" nowrap valign="top"> <a class="el" href="classBufferState.html">BufferState</a>* BufFragGroup&lt; ChainClass, max_frags &gt;::buffer_states[max_frags]<code> [protected]</code>
    365       </table>
    366     </td>
    367   </tr>
    368 </table>
    369 <table cellspacing=5 cellpadding=0 border=0>
    370   <tr>
    371     <td>
    372       &nbsp;
    373     </td>
    374     <td>
    375 
    376 <p>
    377     </td>
    378   </tr>
    379 </table>
    380 <a name="n0" doxytag="BufFragGroup::fragments"></a><p>
    381 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    382   <tr>
    383     <td class="md">
    384       <table cellpadding="0" cellspacing="0" border="0">
    385         <tr>
    386           <td class="md" colspan="4">
    387 template&lt;class ChainClass, uint32 max_frags&gt; </td>
    388         </tr>
    389         <tr>
    390           <td class="md" nowrap valign="top"> <a class="el" href="classBufferFragment.html">BufferFragment</a> BufFragGroup&lt; ChainClass, max_frags &gt;::fragments[max_frags]<code> [protected]</code>
    391       </table>
    392     </td>
    393   </tr>
    394 </table>
    395 <table cellspacing=5 cellpadding=0 border=0>
    396   <tr>
    397     <td>
    398       &nbsp;
    399     </td>
    400     <td>
    401 
    402 <p>
    403     </td>
    404   </tr>
    405 </table>
    406 <a name="n4" doxytag="BufFragGroup::length"></a><p>
    407 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    408   <tr>
    409     <td class="md">
    410       <table cellpadding="0" cellspacing="0" border="0">
    411         <tr>
    412           <td class="md" colspan="4">
    413 template&lt;class ChainClass, uint32 max_frags&gt; </td>
    414         </tr>
    415         <tr>
    416           <td class="md" nowrap valign="top"> uint32 BufFragGroup&lt; ChainClass, max_frags &gt;::length<code> [protected]</code>
    417       </table>
    418     </td>
    419   </tr>
    420 </table>
    421 <table cellspacing=5 cellpadding=0 border=0>
    422   <tr>
    423     <td>
    424       &nbsp;
    425     </td>
    426     <td>
    427 
    428 <p>
    429     </td>
    430   </tr>
    431 </table>
    432 <a name="n2" doxytag="BufFragGroup::next"></a><p>
    433 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    434   <tr>
    435     <td class="md">
    436       <table cellpadding="0" cellspacing="0" border="0">
    437         <tr>
    438           <td class="md" colspan="4">
    439 template&lt;class ChainClass, uint32 max_frags&gt; </td>
    440         </tr>
    441         <tr>
    442           <td class="md" nowrap valign="top"> ChainClass* BufFragGroup&lt; ChainClass, max_frags &gt;::next<code> [protected]</code>
    443       </table>
    444     </td>
    445   </tr>
    446 </table>
    447 <table cellspacing=5 cellpadding=0 border=0>
    448   <tr>
    449     <td>
    450       &nbsp;
    451     </td>
    452     <td>
    453 
    454 <p>
    455     </td>
    456   </tr>
    457 </table>
    458 <a name="n3" doxytag="BufFragGroup::num_fragments"></a><p>
    459 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    460   <tr>
    461     <td class="md">
    462       <table cellpadding="0" cellspacing="0" border="0">
    463         <tr>
    464           <td class="md" colspan="4">
    465 template&lt;class ChainClass, uint32 max_frags&gt; </td>
    466         </tr>
    467         <tr>
    468           <td class="md" nowrap valign="top"> uint32 BufFragGroup&lt; ChainClass, max_frags &gt;::num_fragments<code> [protected]</code>
    469       </table>
    470     </td>
    471   </tr>
    472 </table>
    473 <table cellspacing=5 cellpadding=0 border=0>
    474   <tr>
    475     <td>
    476       &nbsp;
    477     </td>
    478     <td>
    479 
    480 <p>
    481     </td>
    482   </tr>
    483 </table>
    484 <hr>The documentation for this class was generated from the following file:<ul>
    485 <li><a class="el" href="oscl__media__data_8h-source.html">oscl_media_data.h</a></ul>
    486 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
    487 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
    488 </small></address>
    489 </body>
    490 </html>
    491