shaka-packager/docs/d0/da9/classedash__packager_1_1Moc...

169 lines
16 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::MockRepresentation 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="../../d0/da9/classedash__packager_1_1MockRepresentation.html">MockRepresentation</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d1/d38/classedash__packager_1_1MockRepresentation-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">edash_packager::MockRepresentation Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for edash_packager::MockRepresentation:</div>
<div class="dyncontent">
<div class="center">
<img src="../../d0/da9/classedash__packager_1_1MockRepresentation.png" usemap="#edash_packager::MockRepresentation_map" alt=""/>
<map id="edash_packager::MockRepresentation_map" name="edash_packager::MockRepresentation_map">
<area href="../../d7/d15/classedash__packager_1_1Representation.html" alt="edash_packager::Representation" shape="rect" coords="0,0,227,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:a77e2cbe2b80d9a7f6c89381948aa19c2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a77e2cbe2b80d9a7f6c89381948aa19c2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MockRepresentation</b> (uint32_t representation_id)</td></tr>
<tr class="separator:a77e2cbe2b80d9a7f6c89381948aa19c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f456af8a09afdc9b86452df9e27b5d2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6f456af8a09afdc9b86452df9e27b5d2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html#a8cb3729f52457e7df08cd05b8f19090e">AddContentProtectionElement</a>, void(const <a class="el" href="../../d0/d96/structedash__packager_1_1ContentProtectionElement.html">ContentProtectionElement</a> &amp;element))</td></tr>
<tr class="separator:a6f456af8a09afdc9b86452df9e27b5d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8103cacf90394d98d378de399fed6571"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8103cacf90394d98d378de399fed6571"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD2</b> (<a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html#a7fc0e59f273082ccf654025486af79ae">UpdateContentProtectionPssh</a>, void(const std::string &amp;drm_uuid, const std::string &amp;pssh))</td></tr>
<tr class="separator:a8103cacf90394d98d378de399fed6571"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac47931f56ec944e56d97632b7b4ddb3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aac47931f56ec944e56d97632b7b4ddb3"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD3</b> (<a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html#ad40b7da1667aeb77c84958ec4ec0d9eb">AddNewSegment</a>, void(uint64_t start_time, uint64_t duration, uint64_t size))</td></tr>
<tr class="separator:aac47931f56ec944e56d97632b7b4ddb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1389dd2c3349db78fc9e84d012553f2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae1389dd2c3349db78fc9e84d012553f2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html#a4a81a2db7ec245892334ad927621909c">SetSampleDuration</a>, void(uint32_t sample_duration))</td></tr>
<tr class="separator:ae1389dd2c3349db78fc9e84d012553f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classedash__packager_1_1Representation"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classedash__packager_1_1Representation')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html">edash_packager::Representation</a></td></tr>
<tr class="memitem:aac7ad6e54e88b4d31196d54ad5fb4a9d inherit pub_methods_classedash__packager_1_1Representation"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html#aac7ad6e54e88b4d31196d54ad5fb4a9d">Init</a> ()</td></tr>
<tr class="separator:aac7ad6e54e88b4d31196d54ad5fb4a9d inherit pub_methods_classedash__packager_1_1Representation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cb3729f52457e7df08cd05b8f19090e inherit pub_methods_classedash__packager_1_1Representation"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html#a8cb3729f52457e7df08cd05b8f19090e">AddContentProtectionElement</a> (const <a class="el" href="../../d0/d96/structedash__packager_1_1ContentProtectionElement.html">ContentProtectionElement</a> &amp;element)</td></tr>
<tr class="separator:a8cb3729f52457e7df08cd05b8f19090e inherit pub_methods_classedash__packager_1_1Representation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fc0e59f273082ccf654025486af79ae inherit pub_methods_classedash__packager_1_1Representation"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html#a7fc0e59f273082ccf654025486af79ae">UpdateContentProtectionPssh</a> (const std::string &amp;drm_uuid, const std::string &amp;pssh)</td></tr>
<tr class="separator:a7fc0e59f273082ccf654025486af79ae inherit pub_methods_classedash__packager_1_1Representation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad40b7da1667aeb77c84958ec4ec0d9eb inherit pub_methods_classedash__packager_1_1Representation"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html#ad40b7da1667aeb77c84958ec4ec0d9eb">AddNewSegment</a> (uint64_t start_time, uint64_t duration, uint64_t size)</td></tr>
<tr class="separator:ad40b7da1667aeb77c84958ec4ec0d9eb inherit pub_methods_classedash__packager_1_1Representation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a81a2db7ec245892334ad927621909c inherit pub_methods_classedash__packager_1_1Representation"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html#a4a81a2db7ec245892334ad927621909c">SetSampleDuration</a> (uint32_t sample_duration)</td></tr>
<tr class="separator:a4a81a2db7ec245892334ad927621909c inherit pub_methods_classedash__packager_1_1Representation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52225b2a8c588ce52454baede35987a5 inherit pub_methods_classedash__packager_1_1Representation"><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="../../d7/d15/classedash__packager_1_1Representation.html#a52225b2a8c588ce52454baede35987a5">GetXml</a> ()</td></tr>
<tr class="separator:a52225b2a8c588ce52454baede35987a5 inherit pub_methods_classedash__packager_1_1Representation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d0e434e410332342d346a7665ffbaac inherit pub_methods_classedash__packager_1_1Representation"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html#a9d0e434e410332342d346a7665ffbaac">SuppressOnce</a> (SuppressFlag flag)</td></tr>
<tr class="separator:a9d0e434e410332342d346a7665ffbaac inherit pub_methods_classedash__packager_1_1Representation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a59920aa8a31f1fb2b30a2ee8cc4e95 inherit pub_methods_classedash__packager_1_1Representation"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html#a0a59920aa8a31f1fb2b30a2ee8cc4e95">id</a> () const </td></tr>
<tr class="separator:a0a59920aa8a31f1fb2b30a2ee8cc4e95 inherit pub_methods_classedash__packager_1_1Representation"><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_1Representation"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classedash__packager_1_1Representation')"><img src="../../closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html">edash_packager::Representation</a></td></tr>
<tr class="memitem:a90c789a4f54324c6fd7ee1c513b515d3 inherit pub_types_classedash__packager_1_1Representation"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>SuppressFlag</b> { <b>kSuppressWidth</b> = 1,
<b>kSuppressHeight</b> = 2,
<b>kSuppressFrameRate</b> = 4
}</td></tr>
<tr class="separator:a90c789a4f54324c6fd7ee1c513b515d3 inherit pub_types_classedash__packager_1_1Representation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classedash__packager_1_1Representation"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classedash__packager_1_1Representation')"><img src="../../closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html">edash_packager::Representation</a></td></tr>
<tr class="memitem:a4fc4d0fd6f240f1c79fac0b68b9d9f0d inherit pro_methods_classedash__packager_1_1Representation"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d15/classedash__packager_1_1Representation.html#a4fc4d0fd6f240f1c79fac0b68b9d9f0d">Representation</a> (const MediaInfo &amp;media_info, const <a class="el" href="../../d1/d5d/structedash__packager_1_1MpdOptions.html">MpdOptions</a> &amp;mpd_options, uint32_t representation_id, scoped_ptr&lt; <a class="el" href="../../d2/dfa/classedash__packager_1_1RepresentationStateChangeListener.html">RepresentationStateChangeListener</a> &gt; state_change_listener)</td></tr>
<tr class="separator:a4fc4d0fd6f240f1c79fac0b68b9d9f0d inherit pro_methods_classedash__packager_1_1Representation"><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#l00052">52</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 Thu Apr 7 2016 21:43:11 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>