http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/anonymous_8hpp.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/anonymous_8hpp.html b/content/api/latest/c++/anonymous_8hpp.html new file mode 100644 index 0000000..774d1d2 --- /dev/null +++ b/content/api/latest/c++/anonymous_8hpp.html @@ -0,0 +1,92 @@ +<!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.5"/> +<title>Apache Mesos: include/mesos/module/anonymous.hpp File 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="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">Apache Mesos + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.5 --> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + <li><a href="examples.html"><span>Examples</span></a></li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_a00cdca4cac44d29e96ac7c7cae2bc86.html">mesos</a></li><li class="navelem"><a class="el" href="dir_9203508e9880229bf9e51c7531b2512c.html">module</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#nested-classes">Classes</a> | +<a href="#namespaces">Namespaces</a> | +<a href="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">anonymous.hpp File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include <<a class="el" href="include_2mesos_2mesos_8hpp_source.html">mesos/mesos.hpp</a>></code><br/> +<code>#include <<a class="el" href="include_2mesos_2module_8hpp_source.html">mesos/module.hpp</a>></code><br/> +</div> +<p><a href="anonymous_8hpp_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> +Classes</h2></td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classmesos_1_1modules_1_1Anonymous.html">mesos::modules::Anonymous</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmesos_1_1modules_1_1Module_3_01Anonymous_01_4.html">mesos::modules::Module< Anonymous ></a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> +Namespaces</h2></td></tr> +<tr class="memitem:namespacemesos"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos.html">mesos</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:namespacemesos_1_1modules"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1modules.html">mesos::modules</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> +Functions</h2></td></tr> +<tr class="memitem:a93d64f71550f1d2da76f64a6442b5691"><td class="memTemplParams" colspan="2">template<> </td></tr> +<tr class="memitem:a93d64f71550f1d2da76f64a6442b5691"><td class="memTemplItemLeft" align="right" valign="top">const char * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1modules.html#a93d64f71550f1d2da76f64a6442b5691">mesos::modules::kind< Anonymous ></a> ()</td></tr> +<tr class="separator:a93d64f71550f1d2da76f64a6442b5691"><td class="memSeparator" colspan="2"> </td></tr> +</table> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/anonymous_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/anonymous_8hpp_source.html b/content/api/latest/c++/anonymous_8hpp_source.html new file mode 100644 index 0000000..76cc58a --- /dev/null +++ b/content/api/latest/c++/anonymous_8hpp_source.html @@ -0,0 +1,153 @@ +<!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.5"/> +<title>Apache Mesos: include/mesos/module/anonymous.hpp Source File</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="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">Apache Mesos + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.5 --> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + <li><a href="examples.html"><span>Examples</span></a></li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_a00cdca4cac44d29e96ac7c7cae2bc86.html">mesos</a></li><li class="navelem"><a class="el" href="dir_9203508e9880229bf9e51c7531b2512c.html">module</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="headertitle"> +<div class="title">anonymous.hpp</div> </div> +</div><!--header--> +<div class="contents"> +<a href="anonymous_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div> +<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __MESOS_MODULE_ANONYMOUS_HPP__</span></div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span><span class="preprocessor">#define __MESOS_MODULE_ANONYMOUS_HPP__</span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <<a class="code" href="include_2mesos_2mesos_8hpp.html">mesos/mesos.hpp</a>></span></div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <<a class="code" href="include_2mesos_2module_8hpp.html">mesos/module.hpp</a>></span></div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">namespace </span>mesos {</div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">namespace </span>modules {</div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">// The 'Anonymous' kind of module does __not__ receive any callbacks</span></div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">// but simply coexists with its parent (OS-)process.</span></div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">//</span></div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">// Unlike other named modules, an anonymous module does not directly</span></div> +<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">// replace or provide essential Mesos functionality (such as an</span></div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// Isolator module does). Unlike a decorator module it does not</span></div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">// directly add or inject data into Mesos core either.</span></div> +<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">//</span></div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">// Anonymous modules do not require any specific selectors (flags) as</span></div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">// they are immediately instantiated when getting loaded via the</span></div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// '--modules' flag by the Mesos master or slave.</span></div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">//</span></div> +<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classmesos_1_1modules_1_1Anonymous.html"> 38</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1modules_1_1Anonymous.html">Anonymous</a></div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> {</div> +<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classmesos_1_1modules_1_1Anonymous.html#a3b3162e6b8bace28d806a34a48495c51"> 41</a></span>  <a class="code" href="classmesos_1_1modules_1_1Anonymous.html#a3b3162e6b8bace28d806a34a48495c51">Anonymous</a>() {}</div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div> +<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classmesos_1_1modules_1_1Anonymous.html#af4aba9b746af8dbe93697f0c81e34eed"> 43</a></span>  <span class="keyword">virtual</span> <a class="code" href="classmesos_1_1modules_1_1Anonymous.html#af4aba9b746af8dbe93697f0c81e34eed">~Anonymous</a>() {}</div> +<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> };</div> +<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div> +<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div> +<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">template</span> <></div> +<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="namespacemesos_1_1modules.html#a93d64f71550f1d2da76f64a6442b5691"> 48</a></span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="namespacemesos_1_1modules.html#a93d64f71550f1d2da76f64a6442b5691">kind<Anonymous></a>()</div> +<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> {</div> +<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordflow">return</span> <span class="stringliteral">"Anonymous"</span>;</div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> }</div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div> +<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">template</span> <></div> +<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structmesos_1_1modules_1_1Module_3_01Anonymous_01_4.html"> 55</a></span> <span class="keyword">struct </span><a class="code" href="structmesos_1_1modules_1_1Module.html">Module</a><<a class="code" href="classmesos_1_1modules_1_1Anonymous.html">Anonymous</a>> : <a class="code" href="structmesos_1_1modules_1_1ModuleBase.html">ModuleBase</a></div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> {</div> +<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structmesos_1_1modules_1_1Module_3_01Anonymous_01_4.html#a458cd8085339645f50f8c63c06f7f4d7"> 57</a></span>  <a class="code" href="structmesos_1_1modules_1_1Module_3_01Anonymous_01_4.html#a458cd8085339645f50f8c63c06f7f4d7">Module</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* _moduleApiVersion,</div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* _mesosVersion,</div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* _authorName,</div> +<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* _authorEmail,</div> +<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* _description,</div> +<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordtype">bool</span> (*_compatible)(),</div> +<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="classmesos_1_1modules_1_1Anonymous.html">Anonymous</a>* (*_create)(<span class="keyword">const</span> Parameters& parameters))</div> +<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  : <a class="code" href="structmesos_1_1modules_1_1ModuleBase.html">ModuleBase</a>(_moduleApiVersion,</div> +<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  _mesosVersion,</div> +<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  mesos::modules::<a class="code" href="namespacemesos_1_1modules.html#a70163bdea2fe39ef5b798a7d7ee0c220">kind</a><<a class="code" href="classmesos_1_1modules_1_1Anonymous.html">Anonymous</a>>(),</div> +<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  _authorName,</div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  _authorEmail,</div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  _description,</div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  _compatible),</div> +<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="namespacecgroups.html#a2ecc89636706df947027a4c3c2100fbe">create</a>(_create) {}</div> +<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div> +<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="structmesos_1_1modules_1_1Module_3_01Anonymous_01_4.html#a199afcd0a4506e80b847aa43e208fa31"> 73</a></span>  <a class="code" href="classmesos_1_1modules_1_1Anonymous.html">Anonymous</a>* (*create)(<span class="keyword">const</span> Parameters& parameters);</div> +<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> };</div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> } <span class="comment">// namespace modules {</span></div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> } <span class="comment">// namespace mesos {</span></div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div> +<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor">#endif // __MESOS_MODULE_ANONYMOUS_HPP__</span></div> +<div class="ttc" id="classmesos_1_1modules_1_1Anonymous_html_a3b3162e6b8bace28d806a34a48495c51"><div class="ttname"><a href="classmesos_1_1modules_1_1Anonymous.html#a3b3162e6b8bace28d806a34a48495c51">mesos::modules::Anonymous::Anonymous</a></div><div class="ttdeci">Anonymous()</div><div class="ttdef"><b>Definition:</b> anonymous.hpp:41</div></div> +<div class="ttc" id="structmesos_1_1modules_1_1ModuleBase_html"><div class="ttname"><a href="structmesos_1_1modules_1_1ModuleBase.html">mesos::modules::ModuleBase</a></div><div class="ttdef"><b>Definition:</b> module.hpp:56</div></div> +<div class="ttc" id="include_2mesos_2mesos_8hpp_html"><div class="ttname"><a href="include_2mesos_2mesos_8hpp.html">mesos.hpp</a></div></div> +<div class="ttc" id="namespacemesos_1_1modules_html_a70163bdea2fe39ef5b798a7d7ee0c220"><div class="ttname"><a href="namespacemesos_1_1modules.html#a70163bdea2fe39ef5b798a7d7ee0c220">mesos::modules::kind</a></div><div class="ttdeci">const char * kind()</div></div> +<div class="ttc" id="classmesos_1_1modules_1_1Anonymous_html"><div class="ttname"><a href="classmesos_1_1modules_1_1Anonymous.html">mesos::modules::Anonymous</a></div><div class="ttdef"><b>Definition:</b> anonymous.hpp:38</div></div> +<div class="ttc" id="include_2mesos_2module_8hpp_html"><div class="ttname"><a href="include_2mesos_2module_8hpp.html">module.hpp</a></div></div> +<div class="ttc" id="structmesos_1_1modules_1_1Module_3_01Anonymous_01_4_html_a458cd8085339645f50f8c63c06f7f4d7"><div class="ttname"><a href="structmesos_1_1modules_1_1Module_3_01Anonymous_01_4.html#a458cd8085339645f50f8c63c06f7f4d7">mesos::modules::Module< Anonymous >::Module</a></div><div class="ttdeci">Module(const char *_moduleApiVersion, const char *_mesosVersion, const char *_authorName, const char *_authorEmail, const char *_description, bool(*_compatible)(), Anonymous *(*_create)(const Parameters &parameters))</div><div class="ttdef"><b>Definition:</b> anonymous.hpp:57</div></div> +<div class="ttc" id="namespacemesos_1_1modules_html_a93d64f71550f1d2da76f64a6442b5691"><div class="ttname"><a href="namespacemesos_1_1modules.html#a93d64f71550f1d2da76f64a6442b5691">mesos::modules::kind< Anonymous ></a></div><div class="ttdeci">const char * kind< Anonymous >()</div><div class="ttdef"><b>Definition:</b> anonymous.hpp:48</div></div> +<div class="ttc" id="namespacecgroups_html_a2ecc89636706df947027a4c3c2100fbe"><div class="ttname"><a href="namespacecgroups.html#a2ecc89636706df947027a4c3c2100fbe">cgroups::create</a></div><div class="ttdeci">Try< Nothing > create(const std::string &hierarchy, const std::string &cgroup, bool recursive=false)</div></div> +<div class="ttc" id="classmesos_1_1modules_1_1Anonymous_html_af4aba9b746af8dbe93697f0c81e34eed"><div class="ttname"><a href="classmesos_1_1modules_1_1Anonymous.html#af4aba9b746af8dbe93697f0c81e34eed">mesos::modules::Anonymous::~Anonymous</a></div><div class="ttdeci">virtual ~Anonymous()</div><div class="ttdef"><b>Definition:</b> anonymous.hpp:43</div></div> +<div class="ttc" id="structmesos_1_1modules_1_1Module_html"><div class="ttname"><a href="structmesos_1_1modules_1_1Module.html">mesos::modules::Module</a></div><div class="ttdef"><b>Definition:</b> module.hpp:97</div></div> +</div><!-- fragment --></div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/appc_2runtime_8hpp.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/appc_2runtime_8hpp.html b/content/api/latest/c++/appc_2runtime_8hpp.html new file mode 100644 index 0000000..2fe4ef8 --- /dev/null +++ b/content/api/latest/c++/appc_2runtime_8hpp.html @@ -0,0 +1,84 @@ +<!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.5"/> +<title>Apache Mesos: src/slave/containerizer/mesos/isolators/appc/runtime.hpp File 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="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">Apache Mesos + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.5 --> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + <li><a href="examples.html"><span>Examples</span></a></li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_80f0d4a0945c74dfa611dba2ec326a39.html">slave</a></li><li class="navelem"><a class="el" href="dir_fbb1f3397356a940a2dbc4baf07ee5bb.html">containerizer</a></li><li class="navelem"><a class="el" href="dir_06602996fd31a3e264808d1450975cb2.html">mesos</a></li><li class="navelem"><a class="el" href="dir_7c165478aec9e654f08f29fd2fd0a034.html">isolators</a></li><li class="navelem"><a class="el" href="dir_eedaf944710e84a1fd159755262199dc.html">appc</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#nested-classes">Classes</a> | +<a href="#namespaces">Namespaces</a> </div> + <div class="headertitle"> +<div class="title">runtime.hpp File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include "<a class="el" href="src_2slave_2containerizer_2mesos_2isolator_8hpp_source.html">slave/containerizer/mesos/isolator.hpp</a>"</code><br/> +</div> +<p><a href="appc_2runtime_8hpp_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> +Classes</h2></td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess.html">mesos::internal::slave::AppcRuntimeIsolatorProcess</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> +Namespaces</h2></td></tr> +<tr class="memitem:namespacemesos"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos.html">mesos</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:namespacemesos_1_1internal"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1internal.html">mesos::internal</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:namespacemesos_1_1internal_1_1slave"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1internal_1_1slave.html">mesos::internal::slave</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/appc_2runtime_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/appc_2runtime_8hpp_source.html b/content/api/latest/c++/appc_2runtime_8hpp_source.html new file mode 100644 index 0000000..dae16ac --- /dev/null +++ b/content/api/latest/c++/appc_2runtime_8hpp_source.html @@ -0,0 +1,138 @@ +<!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.5"/> +<title>Apache Mesos: src/slave/containerizer/mesos/isolators/appc/runtime.hpp Source File</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="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">Apache Mesos + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.5 --> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + <li><a href="examples.html"><span>Examples</span></a></li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_80f0d4a0945c74dfa611dba2ec326a39.html">slave</a></li><li class="navelem"><a class="el" href="dir_fbb1f3397356a940a2dbc4baf07ee5bb.html">containerizer</a></li><li class="navelem"><a class="el" href="dir_06602996fd31a3e264808d1450975cb2.html">mesos</a></li><li class="navelem"><a class="el" href="dir_7c165478aec9e654f08f29fd2fd0a034.html">isolators</a></li><li class="navelem"><a class="el" href="dir_eedaf944710e84a1fd159755262199dc.html">appc</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="headertitle"> +<div class="title">runtime.hpp</div> </div> +</div><!--header--> +<div class="contents"> +<a href="appc_2runtime_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div> +<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __APPC_RUNTIME_ISOLATOR_HPP__</span></div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span><span class="preprocessor">#define __APPC_RUNTIME_ISOLATOR_HPP__</span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="src_2slave_2containerizer_2mesos_2isolator_8hpp.html">slave/containerizer/mesos/isolator.hpp</a>"</span></div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">namespace </span>mesos {</div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">namespace </span>internal {</div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">namespace </span>slave {</div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">// The Appc runtime isolator is responsible for preparing mesos</span></div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">// container by merging runtime configuration specified by user</span></div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">// and Appc image default configuration.</span></div> +<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess.html"> 29</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess.html">AppcRuntimeIsolatorProcess</a> : <span class="keyword">public</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1MesosIsolatorProcess.html">MesosIsolatorProcess</a></div> +<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> {</div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">static</span> <a class="code" href="classTry.html">Try<mesos::slave::Isolator*></a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess.html#a6c55da7650a687f1143d5fe43d4d276b">create</a>(<span class="keyword">const</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Flags.html">Flags</a>& flags);</div> +<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">virtual</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess.html#a01ea0ba6e9f76d7685281460d7cd05db">~AppcRuntimeIsolatorProcess</a>();</div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess.html#ad71e69166c8f02562966861d5ada8e78">supportsNesting</a>();</div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div> +<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<Option<mesos::slave::ContainerLaunchInfo></a>> <a class="code" href="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess.html#abf6c41985fbe21ab03e1355d62be492c">prepare</a>(</div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">const</span> ContainerID& containerId,</div> +<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">const</span> mesos::slave::ContainerConfig& containerConfig);</div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">private</span>:</div> +<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess.html">AppcRuntimeIsolatorProcess</a>(<span class="keyword">const</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Flags.html">Flags</a>& flags);</div> +<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div> +<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="classOption.html">Option<Environment></a> getLaunchEnvironment(</div> +<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">const</span> ContainerID& containerId,</div> +<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">const</span> mesos::slave::ContainerConfig& containerConfig);</div> +<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div> +<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="classResult.html">Result<CommandInfo></a> getLaunchCommand(</div> +<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keyword">const</span> ContainerID& containerId,</div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">const</span> mesos::slave::ContainerConfig& containerConfig);</div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="classOption.html">Option<std::string></a> getWorkingDirectory(</div> +<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">const</span> mesos::slave::ContainerConfig& containerConfig);</div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">const</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Flags.html">Flags</a> flags;</div> +<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> };</div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> } <span class="comment">// namespace slave {</span></div> +<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> } <span class="comment">// namespace internal {</span></div> +<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> } <span class="comment">// namespace mesos {</span></div> +<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div> +<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor">#endif // __APPC_RUNTIME_ISOLATOR_HPP__</span></div> +<div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option</a></div><div class="ttdef"><b>Definition:</b> option.hpp:24</div></div> +<div class="ttc" id="classTry_html"><div class="ttname"><a href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> try.hpp:34</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess_html_a6c55da7650a687f1143d5fe43d4d276b"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess.html#a6c55da7650a687f1143d5fe43d4d276b">mesos::internal::slave::AppcRuntimeIsolatorProcess::create</a></div><div class="ttdeci">static Try< mesos::slave::Isolator * > create(const Flags &flags)</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Flags_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Flags.html">mesos::internal::slave::Flags</a></div><div class="ttdef"><b>Definition:</b> flags.hpp:38</div></div> +<div class="ttc" id="classResult_html"><div class="ttname"><a href="classResult.html">Result</a></div><div class="ttdef"><b>Definition:</b> result.hpp:40</div></div> +<div class="ttc" id="src_2slave_2containerizer_2mesos_2isolator_8hpp_html"><div class="ttname"><a href="src_2slave_2containerizer_2mesos_2isolator_8hpp.html">isolator.hpp</a></div></div> +<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess_html_abf6c41985fbe21ab03e1355d62be492c"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess.html#abf6c41985fbe21ab03e1355d62be492c">mesos::internal::slave::AppcRuntimeIsolatorProcess::prepare</a></div><div class="ttdeci">virtual process::Future< Option< mesos::slave::ContainerLaunchInfo > > prepare(const ContainerID &containerId, const mesos::slave::ContainerConfig &containerConfig)</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1MesosIsolatorProcess_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1MesosIsolatorProcess.html">mesos::internal::slave::MesosIsolatorProcess</a></div><div class="ttdef"><b>Definition:</b> isolator.hpp:79</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess_html_ad71e69166c8f02562966861d5ada8e78"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess.html#ad71e69166c8f02562966861d5ada8e78">mesos::internal::slave::AppcRuntimeIsolatorProcess::supportsNesting</a></div><div class="ttdeci">virtual bool supportsNesting()</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess_html_a01ea0ba6e9f76d7685281460d7cd05db"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess.html#a01ea0ba6e9f76d7685281460d7cd05db">mesos::internal::slave::AppcRuntimeIsolatorProcess::~AppcRuntimeIsolatorProcess</a></div><div class="ttdeci">virtual ~AppcRuntimeIsolatorProcess()</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1AppcRuntimeIsolatorProcess.html">mesos::internal::slave::AppcRuntimeIsolatorProcess</a></div><div class="ttdef"><b>Definition:</b> runtime.hpp:29</div></div> +<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:56</div></div> +</div><!-- fragment --></div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/argv_8hpp.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/argv_8hpp.html b/content/api/latest/c++/argv_8hpp.html new file mode 100644 index 0000000..ec4ecec --- /dev/null +++ b/content/api/latest/c++/argv_8hpp.html @@ -0,0 +1,86 @@ +<!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.5"/> +<title>Apache Mesos: 3rdparty/stout/include/stout/os/raw/argv.hpp File 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="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">Apache Mesos + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.5 --> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + <li><a href="examples.html"><span>Examples</span></a></li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_aa547de1d719d14adccfca1dfb1735b3.html">stout</a></li><li class="navelem"><a class="el" href="dir_1a1b923d951dd999d43396870333fc33.html">include</a></li><li class="navelem"><a class="el" href="dir_dbd52553d038069c1ed93e3477ea333d.html">stout</a></li><li class="navelem"><a class="el" href="dir_27832e6c74c2ee170d1dd05a196f816c.html">os</a></li><li class="navelem"><a class="el" href="dir_4a47decfb1a7982441c36e7927b08283.html">raw</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#nested-classes">Classes</a> | +<a href="#namespaces">Namespaces</a> </div> + <div class="headertitle"> +<div class="title">argv.hpp File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include <string.h></code><br/> +<code>#include <string></code><br/> +<code>#include <vector></code><br/> +<code>#include <<a class="el" href="foreach_8hpp_source.html">stout/foreach.hpp</a>></code><br/> +</div> +<p><a href="argv_8hpp_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> +Classes</h2></td></tr> +<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classos_1_1raw_1_1Argv.html">os::raw::Argv</a></td></tr> +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Represent the argument list expected by <code>execv</code> routines. <a href="classos_1_1raw_1_1Argv.html#details">More...</a><br/></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> +Namespaces</h2></td></tr> +<tr class="memitem:namespaceos"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceos.html">os</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:namespaceos_1_1raw"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceos_1_1raw.html">os::raw</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +</table> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/argv_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/argv_8hpp_source.html b/content/api/latest/c++/argv_8hpp_source.html new file mode 100644 index 0000000..582799a --- /dev/null +++ b/content/api/latest/c++/argv_8hpp_source.html @@ -0,0 +1,135 @@ +<!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.5"/> +<title>Apache Mesos: 3rdparty/stout/include/stout/os/raw/argv.hpp Source File</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="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">Apache Mesos + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.5 --> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + <li><a href="examples.html"><span>Examples</span></a></li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_aa547de1d719d14adccfca1dfb1735b3.html">stout</a></li><li class="navelem"><a class="el" href="dir_1a1b923d951dd999d43396870333fc33.html">include</a></li><li class="navelem"><a class="el" href="dir_dbd52553d038069c1ed93e3477ea333d.html">stout</a></li><li class="navelem"><a class="el" href="dir_27832e6c74c2ee170d1dd05a196f816c.html">os</a></li><li class="navelem"><a class="el" href="dir_4a47decfb1a7982441c36e7927b08283.html">raw</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="headertitle"> +<div class="title">argv.hpp</div> </div> +</div><!--header--> +<div class="contents"> +<a href="argv_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// you may not use this file except in compliance with the License.</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// You may obtain a copy of the License at</span></div> +<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">//</span></div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// See the License for the specific language governing permissions and</span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// limitations under the License.</span></div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef __STOUT_OS_RAW_ARGV_HPP__</span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor"></span><span class="preprocessor">#define __STOUT_OS_RAW_ARGV_HPP__</span></div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <string.h></span></div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <string></span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <vector></span></div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <<a class="code" href="foreach_8hpp.html">stout/foreach.hpp</a>></span></div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">namespace </span>os {</div> +<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespaceos_1_1raw.html"> 24</a></span> <span class="keyword">namespace </span>raw {</div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div> +<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classos_1_1raw_1_1Argv.html"> 36</a></span> <span class="keyword">class </span><a class="code" href="classos_1_1raw_1_1Argv.html">Argv</a></div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> {</div> +<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> Iterable></div> +<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classos_1_1raw_1_1Argv.html#ae92f950a99dae0d0758050d5e079b450"> 40</a></span>  <span class="keyword">explicit</span> <a class="code" href="classos_1_1raw_1_1Argv.html#ae92f950a99dae0d0758050d5e079b450">Argv</a>(<span class="keyword">const</span> Iterable& iterable)</div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  {</div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  std::vector<char*> _argv;</div> +<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">foreach</span> (<span class="keyword">const</span> std::string& arg, iterable) {</div> +<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordtype">char</span>* _arg = <span class="keyword">new</span> <span class="keywordtype">char</span>[arg.size() + 1];</div> +<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  ::memcpy(_arg, arg.c_str(), arg.size() + 1);</div> +<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  _argv.emplace_back(_arg);</div> +<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  }</div> +<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div> +<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  size = _argv.size();</div> +<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  argv = <span class="keyword">new</span> <span class="keywordtype">char</span>*[size + 1];</div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < size; i++) {</div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  argv[i] = _argv[i];</div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  }</div> +<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  argv[size] = <span class="keyword">nullptr</span>;</div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div> +<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classos_1_1raw_1_1Argv.html#aa46863124c500e218d631393c3f286e7"> 57</a></span>  <a class="code" href="classos_1_1raw_1_1Argv.html#aa46863124c500e218d631393c3f286e7">~Argv</a>()</div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  {</div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < size; i++) {</div> +<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keyword">delete</span>[] argv[i];</div> +<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  }</div> +<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">delete</span>[] argv;</div> +<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  }</div> +<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div> +<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classos_1_1raw_1_1Argv.html#a6662e8fa66dd7284aba7bd60cb5b72bd"> 65</a></span>  <span class="keyword">operator</span> <span class="keywordtype">char</span>**()</div> +<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  {</div> +<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">return</span> argv;</div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  }</div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="keyword">private</span>:</div> +<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordtype">char</span>** argv;</div> +<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordtype">size_t</span> size;</div> +<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> };</div> +<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> } <span class="comment">// namespace raw {</span></div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> } <span class="comment">// namespace os {</span></div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor">#endif // __STOUT_OS_RAW_ARGV_HPP__</span></div> +<div class="ttc" id="classos_1_1raw_1_1Argv_html_ae92f950a99dae0d0758050d5e079b450"><div class="ttname"><a href="classos_1_1raw_1_1Argv.html#ae92f950a99dae0d0758050d5e079b450">os::raw::Argv::Argv</a></div><div class="ttdeci">Argv(const Iterable &iterable)</div><div class="ttdef"><b>Definition:</b> argv.hpp:40</div></div> +<div class="ttc" id="classos_1_1raw_1_1Argv_html"><div class="ttname"><a href="classos_1_1raw_1_1Argv.html">os::raw::Argv</a></div><div class="ttdoc">Represent the argument list expected by execv routines. </div><div class="ttdef"><b>Definition:</b> argv.hpp:36</div></div> +<div class="ttc" id="foreach_8hpp_html"><div class="ttname"><a href="foreach_8hpp.html">foreach.hpp</a></div></div> +<div class="ttc" id="classos_1_1raw_1_1Argv_html_aa46863124c500e218d631393c3f286e7"><div class="ttname"><a href="classos_1_1raw_1_1Argv.html#aa46863124c500e218d631393c3f286e7">os::raw::Argv::~Argv</a></div><div class="ttdeci">~Argv()</div><div class="ttdef"><b>Definition:</b> argv.hpp:57</div></div> +</div><!-- fragment --></div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.5 +</small></address> +</body> +</html>