http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/basic_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/basic_8hpp_source.html b/content/api/latest/c++/basic_8hpp_source.html new file mode 100644 index 0000000..c7b8b67 --- /dev/null +++ b/content/api/latest/c++/basic_8hpp_source.html @@ -0,0 +1,218 @@ +<!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/linux/routing/filter/basic.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_a18918b93668b435612395bbc2e8b82b.html">linux</a></li><li class="navelem"><a class="el" href="dir_cfcc063d6e54f12d25bee1413151fa14.html">routing</a></li><li class="navelem"><a class="el" href="dir_63ee66d07d6d294d2c7a805464cff705.html">filter</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="headertitle"> +<div class="title">basic.hpp</div> </div> +</div><!--header--> +<div class="contents"> +<a href="basic_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 __LINUX_ROUTING_FILTER_BASIC_HPP__</span></div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span><span class="preprocessor">#define __LINUX_ROUTING_FILTER_BASIC_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 <stdint.h></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="preprocessor">#include <string></span></div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="option_8hpp.html">stout/option.hpp</a>></span></div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="try_8hpp.html">stout/try.hpp</a>></span></div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="handle_8hpp.html">linux/routing/handle.hpp</a>"</span></div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="action_8hpp.html">linux/routing/filter/action.hpp</a>"</span></div> +<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="src_2linux_2routing_2filter_2filter_8hpp.html">linux/routing/filter/filter.hpp</a>"</span></div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="priority_8hpp.html">linux/routing/filter/priority.hpp</a>"</span></div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div> +<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">// This is a work around. Including <linux/if_ether.h> causes</span></div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">// duplicated definitions on some platforms with old glibc.</span></div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#ifndef ETH_P_ALL</span></div> +<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="basic_8hpp.html#a5709fe3da7594eb4027472f7e00d63ef"> 36</a></span> <span class="preprocessor"></span><span class="preprocessor">#define ETH_P_ALL 0x0003</span></div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> +<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor"></span><span class="preprocessor">#ifndef ETH_P_ARP</span></div> +<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="basic_8hpp.html#afa42b2e3b045eee5ff65adcd36c265ef"> 39</a></span> <span class="preprocessor"></span><span class="preprocessor">#define ETH_P_ARP 0x0806</span></div> +<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">namespace </span>routing {</div> +<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="namespacerouting_1_1filter.html"> 43</a></span> <span class="keyword">namespace </span><a class="code" href="namespaceprocess.html#a3054d5443603436a6315f210a412cbbc">filter</a> {</div> +<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="namespacerouting_1_1filter_1_1basic.html"> 44</a></span> <span class="keyword">namespace </span>basic {</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> <span class="comment">// The classifier for the basic filter only contains a protocol.</span></div> +<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structrouting_1_1filter_1_1basic_1_1Classifier.html"> 47</a></span> <span class="keyword">struct </span><a class="code" href="structrouting_1_1filter_1_1basic_1_1Classifier.html">Classifier</a></div> +<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> {</div> +<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structrouting_1_1filter_1_1basic_1_1Classifier.html#a42246ead3654b5644ab9822eb7804b4d"> 49</a></span>  <span class="keyword">explicit</span> <a class="code" href="structrouting_1_1filter_1_1basic_1_1Classifier.html#a42246ead3654b5644ab9822eb7804b4d">Classifier</a>(uint16_t _protocol)</div> +<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  : <a class="code" href="structrouting_1_1filter_1_1basic_1_1Classifier.html#a18a5159e074dd940511858f96144e37f">protocol</a>(_protocol) {}</div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div> +<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structrouting_1_1filter_1_1basic_1_1Classifier.html#a432560ec58e0e168d7e06734b17b7bca"> 52</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structrouting_1_1filter_1_1basic_1_1Classifier.html#a432560ec58e0e168d7e06734b17b7bca">operator==</a>(<span class="keyword">const</span> <a class="code" href="structrouting_1_1filter_1_1basic_1_1Classifier.html">Classifier</a>& that)<span class="keyword"> const</span></div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword"> </span>{</div> +<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">return</span> <a class="code" href="structrouting_1_1filter_1_1basic_1_1Classifier.html#a18a5159e074dd940511858f96144e37f">protocol</a> == that.<a class="code" href="structrouting_1_1filter_1_1basic_1_1Classifier.html#a18a5159e074dd940511858f96144e37f">protocol</a>;</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="structrouting_1_1filter_1_1basic_1_1Classifier.html#a18a5159e074dd940511858f96144e37f"> 57</a></span>  uint16_t <a class="code" href="structrouting_1_1filter_1_1basic_1_1Classifier.html#a18a5159e074dd940511858f96144e37f">protocol</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> </div> +<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div> +<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment">// Returns true if a basic packet filter with given protocol attached</span></div> +<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="comment">// to the given parent exists on the link.</span></div> +<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <a class="code" href="classTry.html">Try<bool></a> <a class="code" href="namespacerouting_1_1filter_1_1basic.html#a4a0bd9f850acdad91233da0e33907f4c">exists</a>(</div> +<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">const</span> std::string& link,</div> +<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">const</span> <a class="code" href="classrouting_1_1Handle.html">Handle</a>& parent,</div> +<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  uint16_t protocol);</div> +<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </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> <span class="comment">// Creates a basic packet filter with given protocol attached to the</span></div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment">// given parent on the link which will set the classid for packets.</span></div> +<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment">// Returns false if a basic packet filter with the given protocol</span></div> +<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment">// attached to the given parent already exists on the link. The user</span></div> +<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment">// can choose to specify an optional priority for the filter.</span></div> +<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <a class="code" href="classTry.html">Try<bool></a> <a class="code" href="namespacerouting_1_1filter_1_1basic.html#a35b72778ac9c32776fdbdda05a74cf70">create</a>(</div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">const</span> std::string& link,</div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">const</span> <a class="code" href="classrouting_1_1Handle.html">Handle</a>& parent,</div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  uint16_t protocol,</div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<Priority></a>& priority,</div> +<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<Handle></a>& <a class="code" href="namespacecgroups_1_1net__cls.html#a4be3a8048a2534d857fc1ba1aac7c5ea">classid</a>);</div> +<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div> +<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div> +<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="comment">// Creates a basic packet filter with given protocol attached to the</span></div> +<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="comment">// given parent on the link which will redirect all matched packets to</span></div> +<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="comment">// the target link. Returns false if a basic packet filter with the</span></div> +<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment">// given protocol attached to the given parent already exists on the</span></div> +<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="comment">// link. The user can choose to specify an optional priority for the</span></div> +<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="comment">// filter.</span></div> +<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <a class="code" href="classTry.html">Try<bool></a> <a class="code" href="namespacerouting_1_1filter_1_1basic.html#a35b72778ac9c32776fdbdda05a74cf70">create</a>(</div> +<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keyword">const</span> std::string& link,</div> +<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keyword">const</span> <a class="code" href="classrouting_1_1Handle.html">Handle</a>& parent,</div> +<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  uint16_t protocol,</div> +<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<Priority></a>& priority,</div> +<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">const</span> <a class="code" href="structrouting_1_1action_1_1Redirect.html">action::Redirect</a>& <a class="code" href="namespaceprocess_1_1io.html#ab9c4a52a88fcc9983438e391643424ca">redirect</a>);</div> +<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div> +<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div> +<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment">// Creates a basic packet filter with given protocol attached to the</span></div> +<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment">// given parent on the link which will mirror all matched packets to a</span></div> +<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment">// set of links (specified in the mirror action). Returns false if a</span></div> +<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment">// basic packet filter with the give protocol attached to the given</span></div> +<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment">// parent already exists on the link. The user can choose to specify</span></div> +<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="comment">// an optional priority for the filter.</span></div> +<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <a class="code" href="classTry.html">Try<bool></a> <a class="code" href="namespacerouting_1_1filter_1_1basic.html#a35b72778ac9c32776fdbdda05a74cf70">create</a>(</div> +<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">const</span> std::string& link,</div> +<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">const</span> <a class="code" href="classrouting_1_1Handle.html">Handle</a>& parent,</div> +<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  uint16_t protocol,</div> +<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<Priority></a>& priority,</div> +<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">const</span> <a class="code" href="structrouting_1_1action_1_1Mirror.html">action::Mirror</a>& mirror);</div> +<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div> +<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div> +<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="comment">// Removes the basic packet filter with given protocol attached to</span></div> +<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="comment">// the parent from the link. Returns false if no basic packet filter</span></div> +<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="comment">// with the given protocol attached to the given parent is found on</span></div> +<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="comment">// the link.</span></div> +<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <a class="code" href="classTry.html">Try<bool></a> <span class="keyword">remove</span>(</div> +<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keyword">const</span> std::string& link,</div> +<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">const</span> <a class="code" href="classrouting_1_1Handle.html">Handle</a>& parent,</div> +<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  uint16_t protocol);</div> +<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div> +<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div> +<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="comment">// Updates the action of a basic packet filter with give protocol</span></div> +<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="comment">// attached to the given parent on the link. Returns false if no</span></div> +<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="comment">// basic packet filter with the given protocol attached to the parent</span></div> +<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="comment">// is found on the link.</span></div> +<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <a class="code" href="classTry.html">Try<bool></a> <a class="code" href="namespacerouting_1_1filter_1_1basic.html#a088d88712e011acb0673da92045b365b">update</a>(</div> +<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keyword">const</span> std::string& link,</div> +<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keyword">const</span> <a class="code" href="classrouting_1_1Handle.html">Handle</a>& parent,</div> +<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  uint16_t protocol,</div> +<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keyword">const</span> <a class="code" href="structrouting_1_1action_1_1Mirror.html">action::Mirror</a>& mirror);</div> +<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div> +<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> } <span class="comment">// namespace basic {</span></div> +<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> } <span class="comment">// namespace filter {</span></div> +<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> } <span class="comment">// namespace routing {</span></div> +<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div> +<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor">#endif // __LINUX_ROUTING_FILTER_BASIC_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="namespacerouting_1_1filter_1_1basic_html_a088d88712e011acb0673da92045b365b"><div class="ttname"><a href="namespacerouting_1_1filter_1_1basic.html#a088d88712e011acb0673da92045b365b">routing::filter::basic::update</a></div><div class="ttdeci">Try< bool > update(const std::string &link, const Handle &parent, uint16_t protocol, const action::Mirror &mirror)</div></div> +<div class="ttc" id="action_8hpp_html"><div class="ttname"><a href="action_8hpp.html">action.hpp</a></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="classrouting_1_1Handle_html"><div class="ttname"><a href="classrouting_1_1Handle.html">routing::Handle</a></div><div class="ttdef"><b>Definition:</b> handle.hpp:38</div></div> +<div class="ttc" id="namespacerouting_1_1filter_1_1basic_html_a4a0bd9f850acdad91233da0e33907f4c"><div class="ttname"><a href="namespacerouting_1_1filter_1_1basic.html#a4a0bd9f850acdad91233da0e33907f4c">routing::filter::basic::exists</a></div><div class="ttdeci">Try< bool > exists(const std::string &link, const Handle &parent, uint16_t protocol)</div></div> +<div class="ttc" id="src_2linux_2routing_2filter_2filter_8hpp_html"><div class="ttname"><a href="src_2linux_2routing_2filter_2filter_8hpp.html">filter.hpp</a></div></div> +<div class="ttc" id="namespaceprocess_1_1io_html_ab9c4a52a88fcc9983438e391643424ca"><div class="ttname"><a href="namespaceprocess_1_1io.html#ab9c4a52a88fcc9983438e391643424ca">process::io::redirect</a></div><div class="ttdeci">Future< Nothing > redirect(int_fd from, Option< int_fd > to, size_t chunk=4096, const std::vector< lambda::function< void(const std::string &)>> &hooks={})</div><div class="ttdoc">Redirect output from the &#39;from&#39; file descriptor to the &#39;to&#39; file descriptor (or /dev/null if &#39;to&#39; is ...</div></div> +<div class="ttc" id="structrouting_1_1action_1_1Redirect_html"><div class="ttname"><a href="structrouting_1_1action_1_1Redirect.html">routing::action::Redirect</a></div><div class="ttdef"><b>Definition:</b> action.hpp:41</div></div> +<div class="ttc" id="priority_8hpp_html"><div class="ttname"><a href="priority_8hpp.html">priority.hpp</a></div></div> +<div class="ttc" id="structrouting_1_1filter_1_1basic_1_1Classifier_html_a42246ead3654b5644ab9822eb7804b4d"><div class="ttname"><a href="structrouting_1_1filter_1_1basic_1_1Classifier.html#a42246ead3654b5644ab9822eb7804b4d">routing::filter::basic::Classifier::Classifier</a></div><div class="ttdeci">Classifier(uint16_t _protocol)</div><div class="ttdef"><b>Definition:</b> basic.hpp:49</div></div> +<div class="ttc" id="namespacerouting_1_1filter_1_1basic_html_a35b72778ac9c32776fdbdda05a74cf70"><div class="ttname"><a href="namespacerouting_1_1filter_1_1basic.html#a35b72778ac9c32776fdbdda05a74cf70">routing::filter::basic::create</a></div><div class="ttdeci">Try< bool > create(const std::string &link, const Handle &parent, uint16_t protocol, const Option< Priority > &priority, const Option< Handle > &classid)</div></div> +<div class="ttc" id="option_8hpp_html"><div class="ttname"><a href="option_8hpp.html">option.hpp</a></div></div> +<div class="ttc" id="structrouting_1_1filter_1_1basic_1_1Classifier_html_a18a5159e074dd940511858f96144e37f"><div class="ttname"><a href="structrouting_1_1filter_1_1basic_1_1Classifier.html#a18a5159e074dd940511858f96144e37f">routing::filter::basic::Classifier::protocol</a></div><div class="ttdeci">uint16_t protocol</div><div class="ttdef"><b>Definition:</b> basic.hpp:57</div></div> +<div class="ttc" id="structrouting_1_1filter_1_1basic_1_1Classifier_html_a432560ec58e0e168d7e06734b17b7bca"><div class="ttname"><a href="structrouting_1_1filter_1_1basic_1_1Classifier.html#a432560ec58e0e168d7e06734b17b7bca">routing::filter::basic::Classifier::operator==</a></div><div class="ttdeci">bool operator==(const Classifier &that) const </div><div class="ttdef"><b>Definition:</b> basic.hpp:52</div></div> +<div class="ttc" id="try_8hpp_html"><div class="ttname"><a href="try_8hpp.html">try.hpp</a></div></div> +<div class="ttc" id="namespacecgroups_1_1net__cls_html_a4be3a8048a2534d857fc1ba1aac7c5ea"><div class="ttname"><a href="namespacecgroups_1_1net__cls.html#a4be3a8048a2534d857fc1ba1aac7c5ea">cgroups::net_cls::classid</a></div><div class="ttdeci">Try< uint32_t > classid(const std::string &hierarchy, const std::string &cgroup)</div></div> +<div class="ttc" id="handle_8hpp_html"><div class="ttname"><a href="handle_8hpp.html">handle.hpp</a></div></div> +<div class="ttc" id="structrouting_1_1action_1_1Mirror_html"><div class="ttname"><a href="structrouting_1_1action_1_1Mirror.html">routing::action::Mirror</a></div><div class="ttdef"><b>Definition:</b> action.hpp:54</div></div> +<div class="ttc" id="structrouting_1_1filter_1_1basic_1_1Classifier_html"><div class="ttname"><a href="structrouting_1_1filter_1_1basic_1_1Classifier.html">routing::filter::basic::Classifier</a></div><div class="ttdef"><b>Definition:</b> basic.hpp:47</div></div> +<div class="ttc" id="namespaceprocess_html_a3054d5443603436a6315f210a412cbbc"><div class="ttname"><a href="namespaceprocess.html#a3054d5443603436a6315f210a412cbbc">process::filter</a></div><div class="ttdeci">void filter(Filter *filter)</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++/basic__authenticator__factory_8hpp.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/basic__authenticator__factory_8hpp.html b/content/api/latest/c++/basic__authenticator__factory_8hpp.html new file mode 100644 index 0000000..6f37a47 --- /dev/null +++ b/content/api/latest/c++/basic__authenticator__factory_8hpp.html @@ -0,0 +1,88 @@ +<!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/authentication/http/basic_authenticator_factory.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_561a4a6b181552a034e3bcd8dbedf91f.html">authentication</a></li><li class="navelem"><a class="el" href="dir_f235782f46b11b9cd008a0026f5b6286.html">http</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">basic_authenticator_factory.hpp File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include <string></code><br/> +<code>#include <<a class="el" href="include_2mesos_2mesos_8hpp_source.html">mesos/mesos.hpp</a>></code><br/> +<code>#include <<a class="el" href="3rdparty_2libprocess_2include_2process_2authenticator_8hpp_source.html">process/authenticator.hpp</a>></code><br/> +<code>#include <<a class="el" href="try_8hpp_source.html">stout/try.hpp</a>></code><br/> +<code>#include <<a class="el" href="hashmap_8hpp_source.html">stout/hashmap.hpp</a>></code><br/> +</div> +<p><a href="basic__authenticator__factory_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_1http_1_1authentication_1_1BasicAuthenticatorFactory.html">mesos::http::authentication::BasicAuthenticatorFactory</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_1http"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1http.html">mesos::http</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:namespacemesos_1_1http_1_1authentication"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1http_1_1authentication.html">mesos::http::authentication</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++/basic__authenticator__factory_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/basic__authenticator__factory_8hpp_source.html b/content/api/latest/c++/basic__authenticator__factory_8hpp_source.html new file mode 100644 index 0000000..b9fc925 --- /dev/null +++ b/content/api/latest/c++/basic__authenticator__factory_8hpp_source.html @@ -0,0 +1,130 @@ +<!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/authentication/http/basic_authenticator_factory.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_561a4a6b181552a034e3bcd8dbedf91f.html">authentication</a></li><li class="navelem"><a class="el" href="dir_f235782f46b11b9cd008a0026f5b6286.html">http</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="headertitle"> +<div class="title">basic_authenticator_factory.hpp</div> </div> +</div><!--header--> +<div class="contents"> +<a href="basic__authenticator__factory_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_AUTHENTICATION_HTTP_AUTHENTICATOR_FACTORY_HPP__</span></div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span><span class="preprocessor">#define __MESOS_AUTHENTICATION_HTTP_AUTHENTICATOR_FACTORY_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 <string></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="preprocessor">#include <<a class="code" href="include_2mesos_2mesos_8hpp.html">mesos/mesos.hpp</a>></span></div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2libprocess_2include_2process_2authenticator_8hpp.html">process/authenticator.hpp</a>></span></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="preprocessor">#include <<a class="code" href="try_8hpp.html">stout/try.hpp</a>></span></div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="hashmap_8hpp.html">stout/hashmap.hpp</a>></span></div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span>mesos {</div> +<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="namespacemesos_1_1http.html"> 30</a></span> <span class="keyword">namespace </span><a class="code" href="namespacemesos_1_1uri.html#a5dff7c4a2df7be12fb642b5801c34f9f">http</a> {</div> +<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="namespacemesos_1_1http_1_1authentication.html"> 31</a></span> <span class="keyword">namespace </span>authentication {</div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div> +<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory.html"> 33</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory.html">BasicAuthenticatorFactory</a> {</div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory.html#a230c6fb8f5e02d0a0d649d6299670f46"> 35</a></span>  <a class="code" href="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory.html#a230c6fb8f5e02d0a0d649d6299670f46">~BasicAuthenticatorFactory</a>() {}</div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">static</span> <a class="code" href="classTry.html">Try<process::http::authentication::Authenticator*></a> <a class="code" href="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory.html#adcff8207f6e5884cb0e73173c7eb5eeb">create</a>(</div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">const</span> Parameters& parameters);</div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div> +<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">static</span> <a class="code" href="classTry.html">Try<process::http::authentication::Authenticator*></a> <a class="code" href="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory.html#adcff8207f6e5884cb0e73173c7eb5eeb">create</a>(</div> +<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keyword">const</span> std::string& realm,</div> +<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">const</span> Credentials& credentials);</div> +<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div> +<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">static</span> <a class="code" href="classTry.html">Try<process::http::authentication::Authenticator*></a> <a class="code" href="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory.html#adcff8207f6e5884cb0e73173c7eb5eeb">create</a>(</div> +<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keyword">const</span> std::string& realm,</div> +<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keyword">const</span> <a class="code" href="classhashmap.html">hashmap<std::string, std::string></a>& credentials);</div> +<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div> +<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="keyword">protected</span>:</div> +<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory.html#a2e380dd2dac19f8903e8d9a25c9e4b3c"> 100</a></span>  <a class="code" href="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory.html#a2e380dd2dac19f8903e8d9a25c9e4b3c">BasicAuthenticatorFactory</a>() {}</div> +<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> };</div> +<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div> +<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> } <span class="comment">// namespace authentication {</span></div> +<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> } <span class="comment">// namespace http {</span></div> +<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> } <span class="comment">// namespace mesos {</span></div> +<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div> +<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="preprocessor">#endif // __MESOS_AUTHENTICATION_HTTP_AUTHENTICATOR_FACTORY_HPP__</span></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="include_2mesos_2mesos_8hpp_html"><div class="ttname"><a href="include_2mesos_2mesos_8hpp.html">mesos.hpp</a></div></div> +<div class="ttc" id="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory_html_a230c6fb8f5e02d0a0d649d6299670f46"><div class="ttname"><a href="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory.html#a230c6fb8f5e02d0a0d649d6299670f46">mesos::http::authentication::BasicAuthenticatorFactory::~BasicAuthenticatorFactory</a></div><div class="ttdeci">~BasicAuthenticatorFactory()</div><div class="ttdef"><b>Definition:</b> basic_authenticator_factory.hpp:35</div></div> +<div class="ttc" id="classhashmap_html"><div class="ttname"><a href="classhashmap.html">hashmap< std::string, std::string ></a></div></div> +<div class="ttc" id="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory_html_a2e380dd2dac19f8903e8d9a25c9e4b3c"><div class="ttname"><a href="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory.html#a2e380dd2dac19f8903e8d9a25c9e4b3c">mesos::http::authentication::BasicAuthenticatorFactory::BasicAuthenticatorFactory</a></div><div class="ttdeci">BasicAuthenticatorFactory()</div><div class="ttdef"><b>Definition:</b> basic_authenticator_factory.hpp:100</div></div> +<div class="ttc" id="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory_html_adcff8207f6e5884cb0e73173c7eb5eeb"><div class="ttname"><a href="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory.html#adcff8207f6e5884cb0e73173c7eb5eeb">mesos::http::authentication::BasicAuthenticatorFactory::create</a></div><div class="ttdeci">static Try< process::http::authentication::Authenticator * > create(const Parameters &parameters)</div><div class="ttdoc">Creates a basic HTTP authenticator from module parameters. </div></div> +<div class="ttc" id="try_8hpp_html"><div class="ttname"><a href="try_8hpp.html">try.hpp</a></div></div> +<div class="ttc" id="3rdparty_2libprocess_2include_2process_2authenticator_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2authenticator_8hpp.html">authenticator.hpp</a></div></div> +<div class="ttc" id="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory_html"><div class="ttname"><a href="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatorFactory.html">mesos::http::authentication::BasicAuthenticatorFactory</a></div><div class="ttdef"><b>Definition:</b> basic_authenticator_factory.hpp:33</div></div> +<div class="ttc" id="namespacemesos_1_1uri_html_a5dff7c4a2df7be12fb642b5801c34f9f"><div class="ttname"><a href="namespacemesos_1_1uri.html#a5dff7c4a2df7be12fb642b5801c34f9f">mesos::uri::http</a></div><div class="ttdeci">URI http(const std::string &host, const std::string &path="/", const Option< int > &port=None(), const Option< std::string > &query=None(), const Option< std::string > &fragment=None(), const Option< std::string > &user=None(), const Option< std::string > &password=None())</div><div class="ttdoc">Creates an http URI with the given parameters. </div><div class="ttdef"><b>Definition:</b> http.hpp:35</div></div> +<div class="ttc" id="hashmap_8hpp_html"><div class="ttname"><a href="hashmap_8hpp.html">hashmap.hpp</a></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++/bc_s.png ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/bc_s.png b/content/api/latest/c++/bc_s.png new file mode 100644 index 0000000..224b29a Binary files /dev/null and b/content/api/latest/c++/bc_s.png differ http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/bdwn.png ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/bdwn.png b/content/api/latest/c++/bdwn.png new file mode 100644 index 0000000..940a0b9 Binary files /dev/null and b/content/api/latest/c++/bdwn.png differ http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/benchmark_8hpp.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/benchmark_8hpp.html b/content/api/latest/c++/benchmark_8hpp.html new file mode 100644 index 0000000..1f5eb42 --- /dev/null +++ b/content/api/latest/c++/benchmark_8hpp.html @@ -0,0 +1,91 @@ +<!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/log/tool/benchmark.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_2241064965c8d9ca993f08b926076f7d.html">log</a></li><li class="navelem"><a class="el" href="dir_e44ae340f80a4cbf7e6fefde5ac671fb.html">tool</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">benchmark.hpp File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include <<a class="el" href="3rdparty_2stout_2include_2stout_2flags_8hpp_source.html">stout/flags.hpp</a>></code><br/> +<code>#include <<a class="el" href="option_8hpp_source.html">stout/option.hpp</a>></code><br/> +<code>#include "<a class="el" href="tool_8hpp_source.html">log/tool.hpp</a>"</code><br/> +<code>#include "<a class="el" href="src_2logging_2flags_8hpp_source.html">logging/flags.hpp</a>"</code><br/> +</div> +<p><a href="benchmark_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_1log_1_1tool_1_1Benchmark.html">mesos::internal::log::tool::Benchmark</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </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_1log_1_1tool_1_1Benchmark_1_1Flags.html">mesos::internal::log::tool::Benchmark::Flags</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_1log"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1internal_1_1log.html">mesos::internal::log</a></td></tr> +<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:namespacemesos_1_1internal_1_1log_1_1tool"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos_1_1internal_1_1log_1_1tool.html">mesos::internal::log::tool</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++/benchmark_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/benchmark_8hpp_source.html b/content/api/latest/c++/benchmark_8hpp_source.html new file mode 100644 index 0000000..0cc9e1d --- /dev/null +++ b/content/api/latest/c++/benchmark_8hpp_source.html @@ -0,0 +1,149 @@ +<!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/log/tool/benchmark.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_2241064965c8d9ca993f08b926076f7d.html">log</a></li><li class="navelem"><a class="el" href="dir_e44ae340f80a4cbf7e6fefde5ac671fb.html">tool</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="headertitle"> +<div class="title">benchmark.hpp</div> </div> +</div><!--header--> +<div class="contents"> +<a href="benchmark_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 __LOG_TOOL_BENCHMARK_HPP__</span></div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span><span class="preprocessor">#define __LOG_TOOL_BENCHMARK_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="3rdparty_2stout_2include_2stout_2flags_8hpp.html">stout/flags.hpp</a>></span></div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <<a class="code" href="option_8hpp.html">stout/option.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="preprocessor">#include "<a class="code" href="tool_8hpp.html">log/tool.hpp</a>"</span></div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="src_2logging_2flags_8hpp.html">logging/flags.hpp</a>"</span></div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span>mesos {</div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span>internal {</div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span>log {</div> +<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="namespacemesos_1_1internal_1_1log_1_1tool.html"> 30</a></span> <span class="keyword">namespace </span>tool {</div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div> +<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark.html"> 32</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark.html">Benchmark</a> : <span class="keyword">public</span> <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Tool.html">Tool</a></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">public</span>:</div> +<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html"> 35</a></span>  <span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html">Flags</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="classmesos_1_1internal_1_1logging_1_1Flags.html">logging::Flags</a></div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  {</div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">public</span>:</div> +<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a4ea7ff269d502cdc61fb97b57f56dcc7">Flags</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"><a class="line" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a1f7605587832a0cca2f75806134d749b"> 40</a></span>  <a class="code" href="classOption.html">Option<size_t></a> <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a1f7605587832a0cca2f75806134d749b">quorum</a>;</div> +<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a4aa9b8119d1bd2fa73be65208369a2e4"> 41</a></span>  <a class="code" href="classOption.html">Option<std::string></a> <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a4aa9b8119d1bd2fa73be65208369a2e4">path</a>;</div> +<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a6aed778f1f32099c8e0b0cca23cf08d9"> 42</a></span>  <a class="code" href="classOption.html">Option<std::string></a> <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a6aed778f1f32099c8e0b0cca23cf08d9">servers</a>;</div> +<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a25e251cabc98e630206a6cc3be159e6d"> 43</a></span>  <a class="code" href="classOption.html">Option<std::string></a> <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a25e251cabc98e630206a6cc3be159e6d">znode</a>;</div> +<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a380cb9956d9600e23e23990170f2b8b0"> 44</a></span>  <a class="code" href="classOption.html">Option<std::string></a> <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a380cb9956d9600e23e23990170f2b8b0">input</a>;</div> +<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a6e6f5dd035c7ac0547ab6978b2e47758"> 45</a></span>  <a class="code" href="classOption.html">Option<std::string></a> <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a6e6f5dd035c7ac0547ab6978b2e47758">output</a>;</div> +<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a523f498c1c3ca96190b8a654b9a329f2"> 46</a></span>  std::string <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a523f498c1c3ca96190b8a654b9a329f2">type</a>;</div> +<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a2eefe67adaf3acdf3fc179608c69019c"> 47</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a2eefe67adaf3acdf3fc179608c69019c">initialize</a>;</div> +<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a5a68082954cf1cadab9e388fa6ce6d20"> 48</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a5a68082954cf1cadab9e388fa6ce6d20">help</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> </div> +<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark.html#af042e030ddb4a36a4eb26f867fcd9c85"> 51</a></span>  <span class="keyword">virtual</span> std::string <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark.html#af042e030ddb4a36a4eb26f867fcd9c85">name</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="stringliteral">"benchmark"</span>; }</div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">virtual</span> <a class="code" href="classTry.html">Try<Nothing></a> <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark.html#a8d41e8ce86b767ff1d0da9ce841186ee">execute</a>(<span class="keywordtype">int</span> argc = 0, <span class="keywordtype">char</span>** argv = <span class="keyword">nullptr</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="comment">// Users can change the default configuration by setting this flags.</span></div> +<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark.html#a31082cfdfa0b5047dc7b2437a50b2c01"> 55</a></span>  <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html">Flags</a> <a class="code" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark.html#a31082cfdfa0b5047dc7b2437a50b2c01">flags</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"> 57</span> </div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> } <span class="comment">// namespace tool {</span></div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> } <span class="comment">// namespace log {</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 // __LOG_TOOL_BENCHMARK_HPP__</span></div> +<div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option< size_t ></a></div></div> +<div class="ttc" id="classmesos_1_1internal_1_1logging_1_1Flags_html"><div class="ttname"><a href="classmesos_1_1internal_1_1logging_1_1Flags.html">mesos::internal::logging::Flags</a></div><div class="ttdef"><b>Definition:</b> flags.hpp:29</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_1log_1_1tool_1_1Benchmark_1_1Flags_html_a6e6f5dd035c7ac0547ab6978b2e47758"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a6e6f5dd035c7ac0547ab6978b2e47758">mesos::internal::log::tool::Benchmark::Flags::output</a></div><div class="ttdeci">Option< std::string > output</div><div class="ttdef"><b>Definition:</b> benchmark.hpp:45</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_html_a8d41e8ce86b767ff1d0da9ce841186ee"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark.html#a8d41e8ce86b767ff1d0da9ce841186ee">mesos::internal::log::tool::Benchmark::execute</a></div><div class="ttdeci">virtual Try< Nothing > execute(int argc=0, char **argv=nullptr)</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags_html_a25e251cabc98e630206a6cc3be159e6d"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a25e251cabc98e630206a6cc3be159e6d">mesos::internal::log::tool::Benchmark::Flags::znode</a></div><div class="ttdeci">Option< std::string > znode</div><div class="ttdef"><b>Definition:</b> benchmark.hpp:43</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_html_a31082cfdfa0b5047dc7b2437a50b2c01"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark.html#a31082cfdfa0b5047dc7b2437a50b2c01">mesos::internal::log::tool::Benchmark::flags</a></div><div class="ttdeci">Flags flags</div><div class="ttdef"><b>Definition:</b> benchmark.hpp:55</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags_html_a380cb9956d9600e23e23990170f2b8b0"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a380cb9956d9600e23e23990170f2b8b0">mesos::internal::log::tool::Benchmark::Flags::input</a></div><div class="ttdeci">Option< std::string > input</div><div class="ttdef"><b>Definition:</b> benchmark.hpp:44</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags_html_a5a68082954cf1cadab9e388fa6ce6d20"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a5a68082954cf1cadab9e388fa6ce6d20">mesos::internal::log::tool::Benchmark::Flags::help</a></div><div class="ttdeci">bool help</div><div class="ttdef"><b>Definition:</b> benchmark.hpp:48</div></div> +<div class="ttc" id="3rdparty_2stout_2include_2stout_2flags_8hpp_html"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2flags_8hpp.html">flags.hpp</a></div></div> +<div class="ttc" id="option_8hpp_html"><div class="ttname"><a href="option_8hpp.html">option.hpp</a></div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags_html_a2eefe67adaf3acdf3fc179608c69019c"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a2eefe67adaf3acdf3fc179608c69019c">mesos::internal::log::tool::Benchmark::Flags::initialize</a></div><div class="ttdeci">bool initialize</div><div class="ttdef"><b>Definition:</b> benchmark.hpp:47</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags_html_a4aa9b8119d1bd2fa73be65208369a2e4"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a4aa9b8119d1bd2fa73be65208369a2e4">mesos::internal::log::tool::Benchmark::Flags::path</a></div><div class="ttdeci">Option< std::string > path</div><div class="ttdef"><b>Definition:</b> benchmark.hpp:41</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags_html"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html">mesos::internal::log::tool::Benchmark::Flags</a></div><div class="ttdef"><b>Definition:</b> benchmark.hpp:35</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Tool_html"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Tool.html">mesos::internal::log::tool::Tool</a></div><div class="ttdef"><b>Definition:</b> tool.hpp:31</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags_html_a4ea7ff269d502cdc61fb97b57f56dcc7"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a4ea7ff269d502cdc61fb97b57f56dcc7">mesos::internal::log::tool::Benchmark::Flags::Flags</a></div><div class="ttdeci">Flags()</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_html"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark.html">mesos::internal::log::tool::Benchmark</a></div><div class="ttdef"><b>Definition:</b> benchmark.hpp:32</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_html_af042e030ddb4a36a4eb26f867fcd9c85"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark.html#af042e030ddb4a36a4eb26f867fcd9c85">mesos::internal::log::tool::Benchmark::name</a></div><div class="ttdeci">virtual std::string name() const </div><div class="ttdef"><b>Definition:</b> benchmark.hpp:51</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags_html_a1f7605587832a0cca2f75806134d749b"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a1f7605587832a0cca2f75806134d749b">mesos::internal::log::tool::Benchmark::Flags::quorum</a></div><div class="ttdeci">Option< size_t > quorum</div><div class="ttdef"><b>Definition:</b> benchmark.hpp:40</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags_html_a523f498c1c3ca96190b8a654b9a329f2"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a523f498c1c3ca96190b8a654b9a329f2">mesos::internal::log::tool::Benchmark::Flags::type</a></div><div class="ttdeci">std::string type</div><div class="ttdef"><b>Definition:</b> benchmark.hpp:46</div></div> +<div class="ttc" id="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags_html_a6aed778f1f32099c8e0b0cca23cf08d9"><div class="ttname"><a href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a6aed778f1f32099c8e0b0cca23cf08d9">mesos::internal::log::tool::Benchmark::Flags::servers</a></div><div class="ttdeci">Option< std::string > servers</div><div class="ttdef"><b>Definition:</b> benchmark.hpp:42</div></div> +<div class="ttc" id="src_2logging_2flags_8hpp_html"><div class="ttname"><a href="src_2logging_2flags_8hpp.html">flags.hpp</a></div></div> +<div class="ttc" id="tool_8hpp_html"><div class="ttname"><a href="tool_8hpp.html">tool.hpp</a></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++/bind_8hpp.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/bind_8hpp.html b/content/api/latest/c++/bind_8hpp.html new file mode 100644 index 0000000..555cae7 --- /dev/null +++ b/content/api/latest/c++/bind_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/provisioner/backends/bind.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_f319675d4a0209ee44e08f6c8dad3e25.html">provisioner</a></li><li class="navelem"><a class="el" href="dir_d77c8f8e469340eab433d8e642b86d28.html">backends</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">bind.hpp File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include "<a class="el" href="backend_8hpp_source.html">slave/containerizer/mesos/provisioner/backend.hpp</a>"</code><br/> +</div> +<p><a href="bind_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_1BindBackend.html">mesos::internal::slave::BindBackend</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>