namespacepp.html revision a02191e04bc25c4935f804f2c080ae28663d096d
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> 13Namespaces</h2><table class="memberdecls"> 14 15<tr><td class="memItemLeft" align="right" valign="top">namespace  </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  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepp_1_1internal.html">internal</a></td></tr> 17</table><h2> 18Classes</h2><table class="memberdecls"> 19<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_audio.html">Audio</a></td></tr> 20<tr><td class="mdescLeft"> </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  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_audio_buffer.html">AudioBuffer</a></td></tr> 22<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_audio_config.html">AudioConfig</a></td></tr> 23<tr><td class="mdescLeft"> </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> 24<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_completion_callback.html">CompletionCallback</a></td></tr> 25<tr><td class="mdescLeft"> </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> 26<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_completion_callback_with_output.html">CompletionCallbackWithOutput</a></td></tr> 27<tr><td class="mdescLeft"> </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> 28<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_core.html">Core</a></td></tr> 29<tr><td class="mdescLeft"> </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> 30<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_directory_entry.html">DirectoryEntry</a></td></tr> 31<tr><td class="mdescLeft"> </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> 32<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_file_i_o.html">FileIO</a></td></tr> 33<tr><td class="mdescLeft"> </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> 34<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_file_ref.html">FileRef</a></td></tr> 35<tr><td class="mdescLeft"> </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> 36<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_file_system.html">FileSystem</a></td></tr> 37<tr><td class="mdescLeft"> </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> 38<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_fullscreen.html">Fullscreen</a></td></tr> 39<tr><td class="mdescLeft"> </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> 40<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_graphics2_d.html">Graphics2D</a></td></tr> 41<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_graphics3_d.html">Graphics3D</a></td></tr> 42<tr><td class="mdescLeft"> </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> 43<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_graphics3_d_client.html">Graphics3DClient</a></td></tr> 44<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_host_resolver.html">HostResolver</a></td></tr> 45<tr><td class="mdescLeft"> </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> 46<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_image_data.html">ImageData</a></td></tr> 47<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_input_event.html">InputEvent</a></td></tr> 48<tr><td class="mdescLeft"> </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> 49<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_mouse_input_event.html">MouseInputEvent</a></td></tr> 50<tr><td class="mdescLeft"> </td><td class="mdescRight">This class handles mouse events. <a href="classpp_1_1_mouse_input_event.html#details">More...</a><br /></td></tr> 51<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_wheel_input_event.html">WheelInputEvent</a></td></tr> 52<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_keyboard_input_event.html">KeyboardInputEvent</a></td></tr> 53<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_touch_input_event.html">TouchInputEvent</a></td></tr> 54<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_i_m_e_input_event.html">IMEInputEvent</a></td></tr> 55<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_instance.html">Instance</a></td></tr> 56<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_instance_handle.html">InstanceHandle</a></td></tr> 57<tr><td class="mdescLeft"> </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> 58<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_media_stream_audio_track.html">MediaStreamAudioTrack</a></td></tr> 59<tr><td class="mdescLeft"> </td><td class="mdescRight">The <code><a class="el" href="classpp_1_1_media_stream_audio_track.html" title="The MediaStreamAudioTrack class contains methods for receiving audio buffers from a MediaStream audio...">MediaStreamAudioTrack</a></code> class contains methods for receiving audio buffers from a MediaStream audio track in the browser. <a href="classpp_1_1_media_stream_audio_track.html#details">More...</a><br /></td></tr> 60<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_media_stream_video_track.html">MediaStreamVideoTrack</a></td></tr> 61<tr><td class="mdescLeft"> </td><td class="mdescRight">The <code><a class="el" href="classpp_1_1_media_stream_video_track.html" title="The MediaStreamVideoTrack class contains methods for receiving video frames from a MediaStream video ...">MediaStreamVideoTrack</a></code> class contains methods for receiving video frames from a MediaStream video track in the browser. <a href="classpp_1_1_media_stream_video_track.html#details">More...</a><br /></td></tr> 62<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_message_loop.html">MessageLoop</a></td></tr> 63<tr><td class="mdescLeft"> </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> 64<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_module.html">Module</a></td></tr> 65<tr><td class="mdescLeft"> </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> 66<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_mouse_cursor.html">MouseCursor</a></td></tr> 67<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_mouse_lock.html">MouseLock</a></td></tr> 68<tr><td class="mdescLeft"> </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> 69<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_net_address.html">NetAddress</a></td></tr> 70<tr><td class="mdescLeft"> </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> 71<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_network_list.html">NetworkList</a></td></tr> 72<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_network_monitor.html">NetworkMonitor</a></td></tr> 73<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_network_proxy.html">NetworkProxy</a></td></tr> 74<tr><td class="mdescLeft"> </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> 75<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_point.html">Point</a></td></tr> 76<tr><td class="mdescLeft"> </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> 77<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_float_point.html">FloatPoint</a></td></tr> 78<tr><td class="mdescLeft"> </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> 79<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_rect.html">Rect</a></td></tr> 80<tr><td class="mdescLeft"> </td><td class="mdescRight">A 2 dimensional rectangle. <a href="classpp_1_1_rect.html#details">More...</a><br /></td></tr> 81<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_resource.html">Resource</a></td></tr> 82<tr><td class="mdescLeft"> </td><td class="mdescRight">A reference counted module resource. <a href="classpp_1_1_resource.html#details">More...</a><br /></td></tr> 83<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_size.html">Size</a></td></tr> 84<tr><td class="mdescLeft"> </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> 85<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_t_c_p_socket.html">TCPSocket</a></td></tr> 86<tr><td class="mdescLeft"> </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> 87<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_text_input_controller.html">TextInputController</a></td></tr> 88<tr><td class="mdescLeft"> </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> 89<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_touch_point.html">TouchPoint</a></td></tr> 90<tr><td class="mdescLeft"> </td><td class="mdescRight">Wrapper class for PP_TouchPoint. <a href="classpp_1_1_touch_point.html#details">More...</a><br /></td></tr> 91<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_u_d_p_socket.html">UDPSocket</a></td></tr> 92<tr><td class="mdescLeft"> </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> 93<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_u_r_l_loader.html">URLLoader</a></td></tr> 94<tr><td class="mdescLeft"> </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> 95<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_u_r_l_request_info.html">URLRequestInfo</a></td></tr> 96<tr><td class="mdescLeft"> </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> 97<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_u_r_l_response_info.html">URLResponseInfo</a></td></tr> 98<tr><td class="mdescLeft"> </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> 99<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_var.html">Var</a></td></tr> 100<tr><td class="mdescLeft"> </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> 101<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_var_array.html">VarArray</a></td></tr> 102<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_var_array_buffer.html">VarArrayBuffer</a></td></tr> 103<tr><td class="mdescLeft"> </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> 104<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_var_dictionary.html">VarDictionary</a></td></tr> 105<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_video_frame.html">VideoFrame</a></td></tr> 106<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_view.html">View</a></td></tr> 107<tr><td class="mdescLeft"> </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> 108<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_web_socket.html">WebSocket</a></td></tr> 109<tr><td class="mdescLeft"> </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> 110<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_completion_callback_factory.html">CompletionCallbackFactory</a></td></tr> 111<tr><td class="mdescLeft"> </td><td class="mdescRight">CompletionCallbackFactory<T> 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> 112</table><h2> 113Enumerations</h2><table class="memberdecls"> 114<tr><td class="memItemLeft" align="right" valign="top">enum  </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> 115 }</td></tr> 116</table><h2> 117Functions</h2><table class="memberdecls"> 118<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_completion_callback.html">CompletionCallback</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepp.html#a720b2df07621eabf59bdbae84ab80f47">BlockUntilComplete</a> ()</td></tr> 119<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_module.html">pp::Module</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepp.html#ac861e0e00515a40d07a40e0dcc0fd728">CreateModule</a> ()</td></tr> 120<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepp.html#a819119da5e9818961e9ab5306f3655d7">SetBrokerGetInterfaceFunc</a> (PP_GetInterface_Func broker_get_interface)</td></tr> 121</table> 122<hr /><a name="details" id="details"></a><h2>Detailed Description</h2> 123<div class="textblock"><p>The C++ interface to the Pepper API. </p> 124</div><hr /><h2>Enumeration Type Documentation</h2> 125<a class="anchor" id="a339083c1beec620267bf8b3c55decaa5"></a><!-- doxytag: member="pp::PassRef" ref="a339083c1beec620267bf8b3c55decaa5" args="" --> 126<div class="memitem"> 127<div class="memproto"> 128<table class="memname"> 129<tr> 130<td class="memname">enum <a class="el" href="namespacepp.html#a339083c1beec620267bf8b3c55decaa5">pp::PassRef</a></td> 131</tr> 132</table> 133</div> 134<div class="memdoc"> 135<p>An annotation for constructors and other functions that take ownership of a pointer. </p> 136<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> 137<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> 138<tr><td valign="top"><em><a class="anchor" id="a339083c1beec620267bf8b3c55decaa5a82ae1b20e3ad488539b9dbc6ab4dd585"></a><!-- doxytag: member="PASS_REF" ref="a339083c1beec620267bf8b3c55decaa5a82ae1b20e3ad488539b9dbc6ab4dd585" args="" -->PASS_REF</em> </td><td> 139</td></tr> 140</table> 141</dd> 142</dl> 143</div> 144</div> 145<hr /><h2>Function Documentation</h2> 146<a class="anchor" id="a720b2df07621eabf59bdbae84ab80f47"></a><!-- doxytag: member="pp::BlockUntilComplete" ref="a720b2df07621eabf59bdbae84ab80f47" args="()" --> 147<div class="memitem"> 148<div class="memproto"> 149<table class="memname"> 150<tr> 151<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> 152<td>(</td> 153<td class="paramname"></td><td>)</td> 154<td><code> [inline]</code></td> 155</tr> 156</table> 157</div> 158<div class="memdoc"> 159<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> 160<p>If specified, the calling thread will block until the function completes. Blocking completion callbacks are only allowed from background threads.</p> 161<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> 162</div> 163</div> 164<a class="anchor" id="ac861e0e00515a40d07a40e0dcc0fd728"></a><!-- doxytag: member="pp::CreateModule" ref="ac861e0e00515a40d07a40e0dcc0fd728" args="()" --> 165<div class="memitem"> 166<div class="memproto"> 167<table class="memname"> 168<tr> 169<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> 170<td>(</td> 171<td class="paramname"></td><td>)</td> 172<td></td> 173</tr> 174</table> 175</div> 176<div class="memdoc"> 177<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> 178<p><b>Note: </b>NaCl module developers must implement this function.</p> 179<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> 180</div> 181</div> 182<a class="anchor" id="a819119da5e9818961e9ab5306f3655d7"></a><!-- doxytag: member="pp::SetBrokerGetInterfaceFunc" ref="a819119da5e9818961e9ab5306f3655d7" args="(PP_GetInterface_Func broker_get_interface)" --> 183<div class="memitem"> 184<div class="memproto"> 185<table class="memname"> 186<tr> 187<td class="memname">void <a class="el" href="namespacepp.html#a819119da5e9818961e9ab5306f3655d7">pp::SetBrokerGetInterfaceFunc</a> </td> 188<td>(</td> 189<td class="paramtype">PP_GetInterface_Func </td> 190<td class="paramname"><em>broker_get_interface</em></td><td>)</td> 191<td></td> 192</tr> 193</table> 194</div> 195<div class="memdoc"> 196<p>Sets the get interface function in the broker process. </p> 197<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> 198</div> 199</div> 200</div><!-- contents --> 201</div> 202{{/partials.standard_nacl_article}} 203