Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / native_client_sdk / doc_generated / pepper_stable / cpp / namespacepp.html
1 {{+bindTo:partials.standard_nacl_article}}
2 <h1>pp Namespace Reference</h1>
3 <div id="doxygen-ref">
4 {{- dummy div to appease doxygen -}}
5   <div>
6 <!-- Generated by Doxygen 1.7.6.1 -->
7
8
9 </div>
10 <!--header-->
11 <div class="contents">
12 <h2>
13 Namespaces</h2><table class="memberdecls">
14
15 <tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepp_1_1ext.html">ext</a></td></tr>
16 <tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepp_1_1internal.html">internal</a></td></tr>
17 </table><h2>
18 Classes</h2><table class="memberdecls">
19 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_audio.html">Audio</a></td></tr>
20 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">An audio resource.  <a href="classpp_1_1_audio.html#details">More...</a><br /></td></tr>
21 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_audio_config.html">AudioConfig</a></td></tr>
22 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A 16 bit stereo <a class="el" href="classpp_1_1_audio_config.html" title="A 16 bit stereo AudioConfig resource.">AudioConfig</a> resource.  <a href="classpp_1_1_audio_config.html#details">More...</a><br /></td></tr>
23 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_completion_callback.html">CompletionCallback</a></td></tr>
24 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This API enables you to implement and receive callbacks when Pepper operations complete asynchronously.  <a href="classpp_1_1_completion_callback.html#details">More...</a><br /></td></tr>
25 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_completion_callback_with_output.html">CompletionCallbackWithOutput</a></td></tr>
26 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="classpp_1_1_completion_callback_with_output.html" title="A CompletionCallbackWithOutput defines a completion callback that additionally stores a pointer to so...">CompletionCallbackWithOutput</a> defines a completion callback that additionally stores a pointer to some output data.  <a href="classpp_1_1_completion_callback_with_output.html#details">More...</a><br /></td></tr>
27 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_core.html">Core</a></td></tr>
28 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">APIs related to memory management, time, and threads.  <a href="classpp_1_1_core.html#details">More...</a><br /></td></tr>
29 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_directory_entry.html">DirectoryEntry</a></td></tr>
30 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <code><a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a></code> class represents information about a directory entry.  <a href="classpp_1_1_directory_entry.html#details">More...</a><br /></td></tr>
31 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_file_i_o.html">FileIO</a></td></tr>
32 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <code><a class="el" href="classpp_1_1_file_i_o.html" title="The FileIO class represents a regular file.">FileIO</a></code> class represents a regular file.  <a href="classpp_1_1_file_i_o.html#details">More...</a><br /></td></tr>
33 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_file_ref.html">FileRef</a></td></tr>
34 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <code><a class="el" href="classpp_1_1_file_ref.html" title='The FileRef class represents a "weak pointer" to a file in a file system.'>FileRef</a></code> class represents a "weak pointer" to a file in a file system.  <a href="classpp_1_1_file_ref.html#details">More...</a><br /></td></tr>
35 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_file_system.html">FileSystem</a></td></tr>
36 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <code><a class="el" href="classpp_1_1_file_system.html" title="The FileSystem class identifies the file system type associated with a file.">FileSystem</a></code> class identifies the file system type associated with a file.  <a href="classpp_1_1_file_system.html#details">More...</a><br /></td></tr>
37 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_fullscreen.html">Fullscreen</a></td></tr>
38 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="classpp_1_1_fullscreen.html" title="The Fullscreen class allowing you to check and toggle fullscreen mode.">Fullscreen</a> class allowing you to check and toggle fullscreen mode.  <a href="classpp_1_1_fullscreen.html#details">More...</a><br /></td></tr>
39 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_graphics2_d.html">Graphics2D</a></td></tr>
40 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_graphics3_d.html">Graphics3D</a></td></tr>
41 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This class represents a 3D rendering context in the browser.  <a href="classpp_1_1_graphics3_d.html#details">More...</a><br /></td></tr>
42 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_graphics3_d_client.html">Graphics3DClient</a></td></tr>
43 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_host_resolver.html">HostResolver</a></td></tr>
44 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <code><a class="el" href="classpp_1_1_host_resolver.html" title="The HostResolver class supports host name resolution.">HostResolver</a></code> class supports host name resolution.  <a href="classpp_1_1_host_resolver.html#details">More...</a><br /></td></tr>
45 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_image_data.html">ImageData</a></td></tr>
46 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_input_event.html">InputEvent</a></td></tr>
47 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This class represents an input event resource.  <a href="classpp_1_1_input_event.html#details">More...</a><br /></td></tr>
48 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_mouse_input_event.html">MouseInputEvent</a></td></tr>
49 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This class handles mouse events.  <a href="classpp_1_1_mouse_input_event.html#details">More...</a><br /></td></tr>
50 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_wheel_input_event.html">WheelInputEvent</a></td></tr>
51 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_keyboard_input_event.html">KeyboardInputEvent</a></td></tr>
52 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_touch_input_event.html">TouchInputEvent</a></td></tr>
53 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_i_m_e_input_event.html">IMEInputEvent</a></td></tr>
54 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_instance.html">Instance</a></td></tr>
55 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_instance_handle.html">InstanceHandle</a></td></tr>
56 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">An instance handle identifies an instance in a constructor for a resource.  <a href="classpp_1_1_instance_handle.html#details">More...</a><br /></td></tr>
57 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_message_loop.html">MessageLoop</a></td></tr>
58 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A message loop allows PPAPI calls to be issued on a thread.  <a href="classpp_1_1_message_loop.html#details">More...</a><br /></td></tr>
59 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_module.html">Module</a></td></tr>
60 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="classpp_1_1_module.html" title="The Module class.">Module</a> class.  <a href="classpp_1_1_module.html#details">More...</a><br /></td></tr>
61 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_mouse_cursor.html">MouseCursor</a></td></tr>
62 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_mouse_lock.html">MouseLock</a></td></tr>
63 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This class allows you to associate the <code>PPP_MouseLock</code> and <code>PPB_MouseLock</code> C-based interfaces with an object.  <a href="classpp_1_1_mouse_lock.html#details">More...</a><br /></td></tr>
64 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_net_address.html">NetAddress</a></td></tr>
65 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <code><a class="el" href="classpp_1_1_net_address.html" title="The NetAddress class represents a network address.">NetAddress</a></code> class represents a network address.  <a href="classpp_1_1_net_address.html#details">More...</a><br /></td></tr>
66 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_network_list.html">NetworkList</a></td></tr>
67 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_network_monitor.html">NetworkMonitor</a></td></tr>
68 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_network_proxy.html">NetworkProxy</a></td></tr>
69 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This class provides a way to determine the appropriate proxy settings for for a given URL.  <a href="classpp_1_1_network_proxy.html#details">More...</a><br /></td></tr>
70 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_point.html">Point</a></td></tr>
71 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A 2 dimensional point with 0,0 being the upper-left starting coordinate.  <a href="classpp_1_1_point.html#details">More...</a><br /></td></tr>
72 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a></td></tr>
73 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate.  <a href="classpp_1_1_float_point.html#details">More...</a><br /></td></tr>
74 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_rect.html">Rect</a></td></tr>
75 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A 2 dimensional rectangle.  <a href="classpp_1_1_rect.html#details">More...</a><br /></td></tr>
76 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_resource.html">Resource</a></td></tr>
77 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A reference counted module resource.  <a href="classpp_1_1_resource.html#details">More...</a><br /></td></tr>
78 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_size.html">Size</a></td></tr>
79 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A size of an object based on width and height.  <a href="classpp_1_1_size.html#details">More...</a><br /></td></tr>
80 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_t_c_p_socket.html">TCPSocket</a></td></tr>
81 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <code><a class="el" href="classpp_1_1_t_c_p_socket.html" title="The TCPSocket class provides TCP socket operations.">TCPSocket</a></code> class provides TCP socket operations.  <a href="classpp_1_1_t_c_p_socket.html#details">More...</a><br /></td></tr>
82 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_text_input_controller.html">TextInputController</a></td></tr>
83 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This class can be used for giving hints to the browser about the text input status of plugins.  <a href="classpp_1_1_text_input_controller.html#details">More...</a><br /></td></tr>
84 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_touch_point.html">TouchPoint</a></td></tr>
85 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrapper class for PP_TouchPoint.  <a href="classpp_1_1_touch_point.html#details">More...</a><br /></td></tr>
86 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_u_d_p_socket.html">UDPSocket</a></td></tr>
87 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <code><a class="el" href="classpp_1_1_u_d_p_socket.html" title="The UDPSocket class provides UDP socket operations.">UDPSocket</a></code> class provides UDP socket operations.  <a href="classpp_1_1_u_d_p_socket.html#details">More...</a><br /></td></tr>
88 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_u_r_l_loader.html">URLLoader</a></td></tr>
89 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classpp_1_1_u_r_l_loader.html" title="URLLoader provides an API for loading URLs.">URLLoader</a> provides an API for loading URLs.  <a href="classpp_1_1_u_r_l_loader.html#details">More...</a><br /></td></tr>
90 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_u_r_l_request_info.html">URLRequestInfo</a></td></tr>
91 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classpp_1_1_u_r_l_request_info.html" title="URLRequestInfo provides an API for creating and manipulating URL requests.">URLRequestInfo</a> provides an API for creating and manipulating URL requests.  <a href="classpp_1_1_u_r_l_request_info.html#details">More...</a><br /></td></tr>
92 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_u_r_l_response_info.html">URLResponseInfo</a></td></tr>
93 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classpp_1_1_u_r_l_response_info.html" title="URLResponseInfo provides an API for examining URL responses.">URLResponseInfo</a> provides an API for examining URL responses.  <a href="classpp_1_1_u_r_l_response_info.html#details">More...</a><br /></td></tr>
94 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_var.html">Var</a></td></tr>
95 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A generic type used for passing data types between the module and the page.  <a href="classpp_1_1_var.html#details">More...</a><br /></td></tr>
96 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_var_array.html">VarArray</a></td></tr>
97 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_var_array_buffer.html">VarArrayBuffer</a></td></tr>
98 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><code><a class="el" href="classpp_1_1_var_array_buffer.html" title="VarArrayBuffer provides a way to interact with JavaScript ArrayBuffers, which represent a contiguous ...">VarArrayBuffer</a></code> provides a way to interact with JavaScript ArrayBuffers, which represent a contiguous sequence of bytes.  <a href="classpp_1_1_var_array_buffer.html#details">More...</a><br /></td></tr>
99 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_var_dictionary.html">VarDictionary</a></td></tr>
100 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_view.html">View</a></td></tr>
101 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This class represents the state of the view for an instance and contains functions for retrieving the current state of that view.  <a href="classpp_1_1_view.html#details">More...</a><br /></td></tr>
102 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_web_socket.html">WebSocket</a></td></tr>
103 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <code><a class="el" href="classpp_1_1_web_socket.html" title="The WebSocket class providing bi-directional, full-duplex, communications over a single TCP socket...">WebSocket</a></code> class providing bi-directional, full-duplex, communications over a single TCP socket.  <a href="classpp_1_1_web_socket.html#details">More...</a><br /></td></tr>
104 <tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_completion_callback_factory.html">CompletionCallbackFactory</a></td></tr>
105 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">CompletionCallbackFactory&lt;T&gt; may be used to create <a class="el" href="classpp_1_1_completion_callback.html" title="This API enables you to implement and receive callbacks when Pepper operations complete asynchronousl...">CompletionCallback</a> objects that are bound to member functions.  <a href="classpp_1_1_completion_callback_factory.html#details">More...</a><br /></td></tr>
106 </table><h2>
107 Enumerations</h2><table class="memberdecls">
108 <tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepp.html#a339083c1beec620267bf8b3c55decaa5">PassRef</a> { <a class="el" href="namespacepp.html#a339083c1beec620267bf8b3c55decaa5a82ae1b20e3ad488539b9dbc6ab4dd585">PASS_REF</a>
109  }</td></tr>
110 </table><h2>
111 Functions</h2><table class="memberdecls">
112 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_completion_callback.html">CompletionCallback</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepp.html#a720b2df07621eabf59bdbae84ab80f47">BlockUntilComplete</a> ()</td></tr>
113 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_module.html">pp::Module</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepp.html#ac861e0e00515a40d07a40e0dcc0fd728">CreateModule</a> ()</td></tr>
114 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepp.html#a819119da5e9818961e9ab5306f3655d7">SetBrokerGetInterfaceFunc</a> (PP_GetInterface_Func broker_get_interface)</td></tr>
115 </table>
116 <hr /><a name="details" id="details"></a><h2>Detailed Description</h2>
117 <div class="textblock"><p>The C++ interface to the Pepper API. </p>
118 </div><hr /><h2>Enumeration Type Documentation</h2>
119 <a class="anchor" id="a339083c1beec620267bf8b3c55decaa5"></a><!-- doxytag: member="pp::PassRef" ref="a339083c1beec620267bf8b3c55decaa5" args="" -->
120 <div class="memitem">
121 <div class="memproto">
122 <table class="memname">
123 <tr>
124 <td class="memname">enum <a class="el" href="namespacepp.html#a339083c1beec620267bf8b3c55decaa5">pp::PassRef</a></td>
125 </tr>
126 </table>
127 </div>
128 <div class="memdoc">
129 <p>An annotation for constructors and other functions that take ownership of a pointer. </p>
130 <p>For example, a resource constructor that takes ownership of a provided <code>PP_Resource</code> ref count would take this enumeration to differentiate from the more typical use case of taking its own reference. </p>
131 <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
132 <tr><td valign="top"><em><a class="anchor" id="a339083c1beec620267bf8b3c55decaa5a82ae1b20e3ad488539b9dbc6ab4dd585"></a><!-- doxytag: member="PASS_REF" ref="a339083c1beec620267bf8b3c55decaa5a82ae1b20e3ad488539b9dbc6ab4dd585" args="" -->PASS_REF</em>&nbsp;</td><td>
133 </td></tr>
134 </table>
135 </dd>
136 </dl>
137 </div>
138 </div>
139 <hr /><h2>Function Documentation</h2>
140 <a class="anchor" id="a720b2df07621eabf59bdbae84ab80f47"></a><!-- doxytag: member="pp::BlockUntilComplete" ref="a720b2df07621eabf59bdbae84ab80f47" args="()" -->
141 <div class="memitem">
142 <div class="memproto">
143 <table class="memname">
144 <tr>
145 <td class="memname"><a class="el" href="classpp_1_1_completion_callback.html">CompletionCallback</a> <a class="el" href="namespacepp.html#a720b2df07621eabf59bdbae84ab80f47">pp::BlockUntilComplete</a> </td>
146 <td>(</td>
147 <td class="paramname"></td><td>)</td>
148 <td><code> [inline]</code></td>
149 </tr>
150 </table>
151 </div>
152 <div class="memdoc">
153 <p><a class="el" href="namespacepp.html#a720b2df07621eabf59bdbae84ab80f47" title="BlockUntilComplete() is used in place of an actual completion callback to request blocking behavior...">BlockUntilComplete()</a> is used in place of an actual completion callback to request blocking behavior. </p>
154 <p>If specified, the calling thread will block until the function completes. Blocking completion callbacks are only allowed from background threads.</p>
155 <dl class="return"><dt><b>Returns:</b></dt><dd>A <code><a class="el" href="classpp_1_1_completion_callback.html" title="This API enables you to implement and receive callbacks when Pepper operations complete asynchronousl...">CompletionCallback</a></code> corresponding to a NULL callback. </dd></dl>
156 </div>
157 </div>
158 <a class="anchor" id="ac861e0e00515a40d07a40e0dcc0fd728"></a><!-- doxytag: member="pp::CreateModule" ref="ac861e0e00515a40d07a40e0dcc0fd728" args="()" -->
159 <div class="memitem">
160 <div class="memproto">
161 <table class="memname">
162 <tr>
163 <td class="memname"><a class="el" href="classpp_1_1_module.html">pp::Module</a>* <a class="el" href="namespacepp.html#ac861e0e00515a40d07a40e0dcc0fd728">pp::CreateModule</a> </td>
164 <td>(</td>
165 <td class="paramname"></td><td>)</td>
166 <td></td>
167 </tr>
168 </table>
169 </div>
170 <div class="memdoc">
171 <p>This function creates the <code><a class="el" href="classpp_1_1_module.html" title="The Module class.">pp::Module</a></code> object associated with this module. </p>
172 <p><b>Note: </b>NaCl module developers must implement this function.</p>
173 <dl class="return"><dt><b>Returns:</b></dt><dd>Returns the module if it was successfully created, or NULL on failure. Upon failure, the module will be unloaded. </dd></dl>
174 </div>
175 </div>
176 <a class="anchor" id="a819119da5e9818961e9ab5306f3655d7"></a><!-- doxytag: member="pp::SetBrokerGetInterfaceFunc" ref="a819119da5e9818961e9ab5306f3655d7" args="(PP_GetInterface_Func broker_get_interface)" -->
177 <div class="memitem">
178 <div class="memproto">
179 <table class="memname">
180 <tr>
181 <td class="memname">void <a class="el" href="namespacepp.html#a819119da5e9818961e9ab5306f3655d7">pp::SetBrokerGetInterfaceFunc</a> </td>
182 <td>(</td>
183 <td class="paramtype">PP_GetInterface_Func&#160;</td>
184 <td class="paramname"><em>broker_get_interface</em></td><td>)</td>
185 <td></td>
186 </tr>
187 </table>
188 </div>
189 <div class="memdoc">
190 <p>Sets the get interface function in the broker process. </p>
191 <p>This function is only relevant when you're using the PPB_Broker interface in a trusted native plugin. In this case, you may need to implement PPP_GetInterface when the plugin is loaded in the unsandboxed process. Normally the C++ wrappers implement PPP_GetInterface for you but this doesn't work in the context of the broker process. So if you need to implement PPP_* interfaces in the broker process, call this function in your PPP_InitializeBroker implementation which will set up the given function as implementing PPP_GetInterface. </p>
192 </div>
193 </div>
194 </div><!-- contents -->
195 </div>
196 {{/partials.standard_nacl_article}}