shaka-packager/docs/d8/d02/classshaka_1_1MockPeriod.html

128 lines
10 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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Shaka Packager SDK: shaka::MockPeriod 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/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Shaka Packager SDK
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</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="../../d8/daf/namespaceshaka.html">shaka</a></li><li class="navelem"><a class="el" href="../../d8/d02/classshaka_1_1MockPeriod.html">MockPeriod</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d7/d21/classshaka_1_1MockPeriod-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">shaka::MockPeriod Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for shaka::MockPeriod:</div>
<div class="dyncontent">
<div class="center">
<img src="../../d8/d02/classshaka_1_1MockPeriod.png" usemap="#shaka::MockPeriod_map" alt=""/>
<map id="shaka::MockPeriod_map" name="shaka::MockPeriod_map">
<area href="../../d8/de1/classshaka_1_1Period.html" alt="shaka::Period" shape="rect" coords="0,0,119,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:a4ec62dcc9414314b94e3f9b9c23ae9ab"><td class="memItemLeft" align="right" valign="top"><a id="a4ec62dcc9414314b94e3f9b9c23ae9ab"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MockPeriod</b> (uint32_t period_id, double <a class="el" href="../../d8/de1/classshaka_1_1Period.html#a93ec8606ac8aa96139d3b5459ccb303d">start_time_in_seconds</a>)</td></tr>
<tr class="separator:a4ec62dcc9414314b94e3f9b9c23ae9ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c72af91d093957ef38af273d3082c2e"><td class="memItemLeft" align="right" valign="top"><a id="a8c72af91d093957ef38af273d3082c2e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD2</b> (<a class="el" href="../../d8/de1/classshaka_1_1Period.html#a6481aa2a87b0154796f49cb6198d0deb">GetOrCreateAdaptationSet</a>, <a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html">AdaptationSet</a> *(const MediaInfo &amp;media_info, bool content_protection_in_adaptation_set))</td></tr>
<tr class="separator:a8c72af91d093957ef38af273d3082c2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshaka_1_1Period"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshaka_1_1Period')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../d8/de1/classshaka_1_1Period.html">shaka::Period</a></td></tr>
<tr class="memitem:a6481aa2a87b0154796f49cb6198d0deb inherit pub_methods_classshaka_1_1Period"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html">AdaptationSet</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de1/classshaka_1_1Period.html#a6481aa2a87b0154796f49cb6198d0deb">GetOrCreateAdaptationSet</a> (const MediaInfo &amp;media_info, bool content_protection_in_adaptation_set)</td></tr>
<tr class="separator:a6481aa2a87b0154796f49cb6198d0deb inherit pub_methods_classshaka_1_1Period"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a204c00a0154879fd9b9bddb32f40cb25 inherit pub_methods_classshaka_1_1Period"><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="../../d8/de1/classshaka_1_1Period.html#a204c00a0154879fd9b9bddb32f40cb25">GetXml</a> (bool output_period_duration)</td></tr>
<tr class="separator:a204c00a0154879fd9b9bddb32f40cb25 inherit pub_methods_classshaka_1_1Period"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee153103e77326b21f7f7c92af608654 inherit pub_methods_classshaka_1_1Period"><td class="memItemLeft" align="right" valign="top">const std::list&lt; <a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html">AdaptationSet</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de1/classshaka_1_1Period.html#aee153103e77326b21f7f7c92af608654">GetAdaptationSets</a> () const</td></tr>
<tr class="separator:aee153103e77326b21f7f7c92af608654 inherit pub_methods_classshaka_1_1Period"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93ec8606ac8aa96139d3b5459ccb303d inherit pub_methods_classshaka_1_1Period"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de1/classshaka_1_1Period.html#a93ec8606ac8aa96139d3b5459ccb303d">start_time_in_seconds</a> () const</td></tr>
<tr class="separator:a93ec8606ac8aa96139d3b5459ccb303d inherit pub_methods_classshaka_1_1Period"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53fff2b4d8ac731857ec5a33cfcfaf86 inherit pub_methods_classshaka_1_1Period"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de1/classshaka_1_1Period.html#a53fff2b4d8ac731857ec5a33cfcfaf86">duration_seconds</a> () const</td></tr>
<tr class="separator:a53fff2b4d8ac731857ec5a33cfcfaf86 inherit pub_methods_classshaka_1_1Period"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5519676b3185c9902e98f5f3762d6d71 inherit pub_methods_classshaka_1_1Period"><td class="memItemLeft" align="right" valign="top"><a id="a5519676b3185c9902e98f5f3762d6d71"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de1/classshaka_1_1Period.html#a5519676b3185c9902e98f5f3762d6d71">set_duration_seconds</a> (double <a class="el" href="../../d8/de1/classshaka_1_1Period.html#a53fff2b4d8ac731857ec5a33cfcfaf86">duration_seconds</a>)</td></tr>
<tr class="memdesc:a5519676b3185c9902e98f5f3762d6d71 inherit pub_methods_classshaka_1_1Period"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set period duration. <br /></td></tr>
<tr class="separator:a5519676b3185c9902e98f5f3762d6d71 inherit pub_methods_classshaka_1_1Period"><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 pro_methods_classshaka_1_1Period"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classshaka_1_1Period')"><img src="../../closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="../../d8/de1/classshaka_1_1Period.html">shaka::Period</a></td></tr>
<tr class="memitem:a80692fb7ec33b71f586e6d434959d2b7 inherit pro_methods_classshaka_1_1Period"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de1/classshaka_1_1Period.html#a80692fb7ec33b71f586e6d434959d2b7">Period</a> (uint32_t period_id, double <a class="el" href="../../d8/de1/classshaka_1_1Period.html#a93ec8606ac8aa96139d3b5459ccb303d">start_time_in_seconds</a>, const <a class="el" href="../../d1/df3/structshaka_1_1MpdOptions.html">MpdOptions</a> &amp;mpd_options, base::AtomicSequenceNumber *representation_counter)</td></tr>
<tr class="separator:a80692fb7ec33b71f586e6d434959d2b7 inherit pro_methods_classshaka_1_1Period"><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 class="definition">Definition at line <a class="el" href="../../d9/d08/mock__mpd__builder_8h_source.html#l00031">31</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>packager/mpd/base/<a class="el" href="../../d9/d08/mock__mpd__builder_8h_source.html">mock_mpd_builder.h</a></li>
<li>packager/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 Jun 28 2018 17:32:57 for Shaka Packager SDK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>