shaka-packager/docs/df/d60/classshaka_1_1MockMpdBuilde...

129 lines
10 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Shaka Packager SDK: shaka::MockMpdBuilder 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.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</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="../../df/d60/classshaka_1_1MockMpdBuilder.html">MockMpdBuilder</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../df/d6a/classshaka_1_1MockMpdBuilder-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">shaka::MockMpdBuilder Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for shaka::MockMpdBuilder:</div>
<div class="dyncontent">
<div class="center">
<img src="../../df/d60/classshaka_1_1MockMpdBuilder.png" usemap="#shaka::MockMpdBuilder_map" alt=""/>
<map id="shaka::MockMpdBuilder_map" name="shaka::MockMpdBuilder_map">
<area href="../../dc/da1/classshaka_1_1MpdBuilder.html" title="This class generates DASH MPDs (Media Presentation Descriptions)." alt="shaka::MpdBuilder" shape="rect" coords="0,0,147,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:a49da64dee4cd0b6840437408238c910b"><td class="memItemLeft" align="right" valign="top"><a id="a49da64dee4cd0b6840437408238c910b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#ae03eb3ac55f8b1360a57a1af16f593e6">GetOrCreatePeriod</a>, <a class="el" href="../../d8/de1/classshaka_1_1Period.html">Period</a> *(double start_time_in_seconds))</td></tr>
<tr class="separator:a49da64dee4cd0b6840437408238c910b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a369d9127e4966ae4ec892e6c9bd1c0"><td class="memItemLeft" align="right" valign="top"><a id="a2a369d9127e4966ae4ec892e6c9bd1c0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#a058a7c0bde155071773bcfaa5f0f5b3b">ToString</a>, bool(std::string *output))</td></tr>
<tr class="separator:a2a369d9127e4966ae4ec892e6c9bd1c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshaka_1_1MpdBuilder"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshaka_1_1MpdBuilder')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html">shaka::MpdBuilder</a></td></tr>
<tr class="memitem:ab364102e01afedd8a4dcc9be4fdcc0ab inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#ab364102e01afedd8a4dcc9be4fdcc0ab">MpdBuilder</a> (const <a class="el" href="../../d1/df3/structshaka_1_1MpdOptions.html">MpdOptions</a> &amp;mpd_options)</td></tr>
<tr class="separator:ab364102e01afedd8a4dcc9be4fdcc0ab inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6fd968035d1cba5060fe23a107f8bdb inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#ab6fd968035d1cba5060fe23a107f8bdb">AddBaseUrl</a> (const std::string &amp;base_url)</td></tr>
<tr class="separator:ab6fd968035d1cba5060fe23a107f8bdb inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae03eb3ac55f8b1360a57a1af16f593e6 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d8/de1/classshaka_1_1Period.html">Period</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#ae03eb3ac55f8b1360a57a1af16f593e6">GetOrCreatePeriod</a> (double start_time_in_seconds)</td></tr>
<tr class="separator:ae03eb3ac55f8b1360a57a1af16f593e6 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a058a7c0bde155071773bcfaa5f0f5b3b inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#a058a7c0bde155071773bcfaa5f0f5b3b">ToString</a> (std::string *output) WARN_UNUSED_RESULT</td></tr>
<tr class="separator:a058a7c0bde155071773bcfaa5f0f5b3b inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a4f96f12b589cfc4b5c2f44532eec53 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top"><a id="a7a4f96f12b589cfc4b5c2f44532eec53"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#a7a4f96f12b589cfc4b5c2f44532eec53">InjectClockForTesting</a> (std::unique_ptr&lt; base::Clock &gt; clock)</td></tr>
<tr class="memdesc:a7a4f96f12b589cfc4b5c2f44532eec53 inherit pub_methods_classshaka_1_1MpdBuilder"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is for testing. <br /></td></tr>
<tr class="separator:a7a4f96f12b589cfc4b5c2f44532eec53 inherit pub_methods_classshaka_1_1MpdBuilder"><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_static_methods_classshaka_1_1MpdBuilder"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classshaka_1_1MpdBuilder')"><img src="../../closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html">shaka::MpdBuilder</a></td></tr>
<tr class="memitem:a247a9c807274d4e707530f24e2d207f9 inherit pub_static_methods_classshaka_1_1MpdBuilder"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/da1/classshaka_1_1MpdBuilder.html#a247a9c807274d4e707530f24e2d207f9">MakePathsRelativeToMpd</a> (const std::string &amp;mpd_path, MediaInfo *media_info)</td></tr>
<tr class="separator:a247a9c807274d4e707530f24e2d207f9 inherit pub_static_methods_classshaka_1_1MpdBuilder"><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#l00022">22</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 Tue Jun 22 2021 00:16:05 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.17
</small></address>
</body>
</html>