shaka-packager/docs/d8/d78/classedash__packager_1_1Moc...

192 lines
20 KiB
HTML

<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>DASH Media Packaging SDK: edash_packager::MockAdaptationSet Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">DASH Media Packaging SDK
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="../../index.html"><span>Main&#160;Page</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>
<li><a href="../../files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="../../search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="../../annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="../../classes.html"><span>Class&#160;Index</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>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="../../db/d09/namespaceedash__packager.html">edash_packager</a></li><li class="navelem"><a class="el" href="../../d8/d78/classedash__packager_1_1MockAdaptationSet.html">MockAdaptationSet</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d8/d6f/classedash__packager_1_1MockAdaptationSet-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">edash_packager::MockAdaptationSet Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for edash_packager::MockAdaptationSet:</div>
<div class="dyncontent">
<div class="center">
<img src="../../d8/d78/classedash__packager_1_1MockAdaptationSet.png" usemap="#edash_packager::MockAdaptationSet_map" alt=""/>
<map id="edash_packager::MockAdaptationSet_map" name="edash_packager::MockAdaptationSet_map">
<area href="../../db/de4/classedash__packager_1_1AdaptationSet.html" alt="edash_packager::AdaptationSet" shape="rect" coords="0,0,221,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad5650ca7956045ee773826b949cac1b0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad5650ca7956045ee773826b949cac1b0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MockAdaptationSet</b> (uint32_t adaptation_set_id)</td></tr>
<tr class="separator:ad5650ca7956045ee773826b949cac1b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae699bc4ee2163b229b33faa8438d0533"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae699bc4ee2163b229b33faa8438d0533"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#a9a15647b565f9898a5a0e1d3176ff935">AddRepresentation</a>, <a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html">Representation</a> *(const MediaInfo &amp;media_info))</td></tr>
<tr class="separator:ae699bc4ee2163b229b33faa8438d0533"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ee322444c5188ea99c943d980edbb75"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ee322444c5188ea99c943d980edbb75"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#a419e5b2dc27fef47fb0fcaa17ea09314">AddContentProtectionElement</a>, void(const <a class="el" href="../../d0/d96/structedash__packager_1_1ContentProtectionElement.html">ContentProtectionElement</a> &amp;element))</td></tr>
<tr class="separator:a1ee322444c5188ea99c943d980edbb75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a542b78873ee8b54829f8daefbe9825ad"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a542b78873ee8b54829f8daefbe9825ad"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD2</b> (<a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#a6630f9954b604bee7f90c11778336fdc">UpdateContentProtectionPssh</a>, void(const std::string &amp;drm_uuid, const std::string &amp;pssh))</td></tr>
<tr class="separator:a542b78873ee8b54829f8daefbe9825ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9875ec91e101a5332472ed13bc8cd5b8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9875ec91e101a5332472ed13bc8cd5b8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#a3bfc3e2de3eaafc61a4dc2e23c698956">AddRole</a>, void(AdaptationSet::Role role))</td></tr>
<tr class="separator:a9875ec91e101a5332472ed13bc8cd5b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae88f50c0f28f0393310e9f990b10dc98"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae88f50c0f28f0393310e9f990b10dc98"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#a949526c833122b9a1ca40b9990224990">ForceSetSegmentAlignment</a>, void(bool segment_alignment))</td></tr>
<tr class="separator:ae88f50c0f28f0393310e9f990b10dc98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d4b3125c5184c443db21a566fe5c3b7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0d4b3125c5184c443db21a566fe5c3b7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#a3bea0954dfe1781afc1c7a624965bc84">SetGroup</a>, void(int group_number))</td></tr>
<tr class="separator:a0d4b3125c5184c443db21a566fe5c3b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a056a7065937c327b8261811c868d6c32"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a056a7065937c327b8261811c868d6c32"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_CONST_METHOD0</b> (<a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#ad5efd9add7037cf939c6a48733e38f8f">Group</a>, int())</td></tr>
<tr class="separator:a056a7065937c327b8261811c868d6c32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classedash__packager_1_1AdaptationSet"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classedash__packager_1_1AdaptationSet')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html">edash_packager::AdaptationSet</a></td></tr>
<tr class="memitem:a9a15647b565f9898a5a0e1d3176ff935 inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html">Representation</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#a9a15647b565f9898a5a0e1d3176ff935">AddRepresentation</a> (const MediaInfo &amp;media_info)</td></tr>
<tr class="separator:a9a15647b565f9898a5a0e1d3176ff935 inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a419e5b2dc27fef47fb0fcaa17ea09314 inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#a419e5b2dc27fef47fb0fcaa17ea09314">AddContentProtectionElement</a> (const <a class="el" href="../../d0/d96/structedash__packager_1_1ContentProtectionElement.html">ContentProtectionElement</a> &amp;element)</td></tr>
<tr class="separator:a419e5b2dc27fef47fb0fcaa17ea09314 inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6630f9954b604bee7f90c11778336fdc inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#a6630f9954b604bee7f90c11778336fdc">UpdateContentProtectionPssh</a> (const std::string &amp;drm_uuid, const std::string &amp;pssh)</td></tr>
<tr class="separator:a6630f9954b604bee7f90c11778336fdc inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bfc3e2de3eaafc61a4dc2e23c698956 inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#a3bfc3e2de3eaafc61a4dc2e23c698956">AddRole</a> (Role role)</td></tr>
<tr class="separator:a3bfc3e2de3eaafc61a4dc2e23c698956 inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2f5773f7ad01f239cdb6d61bb36ca01 inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">xml::scoped_xml_ptr&lt; xmlNode &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#af2f5773f7ad01f239cdb6d61bb36ca01">GetXml</a> ()</td></tr>
<tr class="separator:af2f5773f7ad01f239cdb6d61bb36ca01 inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a949526c833122b9a1ca40b9990224990 inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#a949526c833122b9a1ca40b9990224990">ForceSetSegmentAlignment</a> (bool segment_alignment)</td></tr>
<tr class="separator:a949526c833122b9a1ca40b9990224990 inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bea0954dfe1781afc1c7a624965bc84 inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#a3bea0954dfe1781afc1c7a624965bc84">SetGroup</a> (int group_number)</td></tr>
<tr class="separator:a3bea0954dfe1781afc1c7a624965bc84 inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5efd9add7037cf939c6a48733e38f8f inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#ad5efd9add7037cf939c6a48733e38f8f">Group</a> () const </td></tr>
<tr class="separator:ad5efd9add7037cf939c6a48733e38f8f inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af44375c55737ee2a04532da9a0a22d82 inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af44375c55737ee2a04532da9a0a22d82"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>id</b> () const </td></tr>
<tr class="separator:af44375c55737ee2a04532da9a0a22d82 inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed9c81cd32d8bbb8ed71d5ab3f16efac inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#aed9c81cd32d8bbb8ed71d5ab3f16efac">OnNewSegmentForRepresentation</a> (uint32_t representation_id, uint64_t start_time, uint64_t duration)</td></tr>
<tr class="separator:aed9c81cd32d8bbb8ed71d5ab3f16efac inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9adf17a02fabfd4aa8d91a2d65d52ad inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#ad9adf17a02fabfd4aa8d91a2d65d52ad">OnSetFrameRateForRepresentation</a> (uint32_t representation_id, uint32_t frame_duration, uint32_t timescale)</td></tr>
<tr class="separator:ad9adf17a02fabfd4aa8d91a2d65d52ad inherit pub_methods_classedash__packager_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classedash__packager_1_1AdaptationSet"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classedash__packager_1_1AdaptationSet')"><img src="../../closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html">edash_packager::AdaptationSet</a></td></tr>
<tr class="memitem:a451df65b68f1114a1e43cf6475fa324a inherit pub_types_classedash__packager_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>Role</b> { <br/>
&#160;&#160;<b>kRoleCaption</b>,
<b>kRoleSubtitle</b>,
<b>kRoleMain</b>,
<b>kRoleAlternate</b>,
<br/>
&#160;&#160;<b>kRoleSupplementary</b>,
<b>kRoleCommentary</b>,
<b>kRoleDub</b>
<br/>
}</td></tr>
<tr class="separator:a451df65b68f1114a1e43cf6475fa324a inherit pub_types_classedash__packager_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classedash__packager_1_1AdaptationSet"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classedash__packager_1_1AdaptationSet')"><img src="../../closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html">edash_packager::AdaptationSet</a></td></tr>
<tr class="memitem:a21ce7ce804532a95f9aea7e2a9c3570e inherit pro_methods_classedash__packager_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/de4/classedash__packager_1_1AdaptationSet.html#a21ce7ce804532a95f9aea7e2a9c3570e">AdaptationSet</a> (uint32_t adaptation_set_id, const std::string &amp;lang, const <a class="el" href="../../d1/d5d/structedash__packager_1_1MpdOptions.html">MpdOptions</a> &amp;mpd_options, MpdBuilder::MpdType mpd_type, base::AtomicSequenceNumber *representation_counter)</td></tr>
<tr class="separator:a21ce7ce804532a95f9aea7e2a9c3570e inherit pro_methods_classedash__packager_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="../../d9/d08/mock__mpd__builder_8h_source.html#l00030">30</a> of file <a class="el" href="../../d9/d08/mock__mpd__builder_8h_source.html">mock_mpd_builder.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>mpd/base/<a class="el" href="../../d9/d08/mock__mpd__builder_8h_source.html">mock_mpd_builder.h</a></li>
<li>mpd/base/<a class="el" href="../../da/de2/mock__mpd__builder_8cc_source.html">mock_mpd_builder.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Nov 23 2015 19:07:31 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>