Pepper_31_C++_interfaces
|
The C++ interface to the Pepper API. More...
Namespaces | |
deprecated | |
ext | |
internal | |
Classes | |
class | ArrayOutputAdapterBase |
class | ArrayOutputAdapter |
class | ResourceArrayOutputAdapter |
class | ArrayOutputAdapterWithStorage |
class | VarArrayOutputAdapterWithStorage |
class | ResourceArrayOutputAdapterWithStorage |
class | Audio |
class | AudioConfig |
class | CompletionCallback |
class | CompletionCallbackWithOutput |
class | Core |
APIs related to memory management, time, and threads. More... | |
class | AudioInput_Dev |
class | Buffer_Dev |
class | Crypto_Dev |
APIs related to cryptography. More... | |
class | CursorControl_Dev |
APIs for controlling the cursor. More... | |
class | DeviceRef_Dev |
class | FileChooser_Dev |
class | Find_Dev |
class | FontDescription_Dev |
class | TextRun_Dev |
class | Font_Dev |
class | Graphics2D_Dev |
class | IMEInputEvent_Dev |
class | Memory_Dev |
APIs related to memory management, time, and threads. More... | |
class | Printing_Dev |
class | RemovableStorage_Dev |
class | ResourceArray_Dev |
class | Scrollbar_Dev |
class | Selection_Dev |
class | TextInput_Dev |
class | TrueTypeFontDesc_Dev |
class | TrueTypeFont_Dev |
The TrueTypeFont_Dev class represents a TrueType font resource. More... | |
class | URLUtil_Dev |
class | VideoCaptureClient_Dev |
class | VideoCapture_Dev |
class | VideoDecoderClient_Dev |
class | VideoDecoder_Dev |
class | ViewDev |
class | WidgetClient_Dev |
class | Widget_Dev |
class | Zoom_Dev |
class | DirectoryEntry |
class | FileIO |
The FileIO class represents a regular file. More... | |
class | FileRef |
class | FileSystem |
class | Fullscreen |
The Fullscreen class allowing you to check and toggle fullscreen mode. More... | |
class | Graphics2D |
class | Graphics3D |
This class represents a 3D rendering context in the browser. More... | |
class | Graphics3DClient |
class | HostResolver |
class | ImageData |
class | InputEvent |
class | MouseInputEvent |
This class handles mouse events. More... | |
class | WheelInputEvent |
class | KeyboardInputEvent |
class | TouchInputEvent |
class | IMEInputEvent |
class | Instance |
class | InstanceHandle |
class | MessageLoop |
class | Module |
class | MouseCursor |
class | MouseLock |
class | NetAddress |
The NetAddress class represents a network address. More... | |
class | NetworkList |
class | NetworkMonitor |
class | NetworkProxy |
class | Point |
A 2 dimensional point with 0,0 being the upper-left starting coordinate. More... | |
class | FloatPoint |
class | ExtCrxFileSystemPrivate |
class | FileIO_Private |
class | HostResolverPrivate |
class | NetAddressPrivate |
class | PassFileHandle |
class | TCPServerSocketPrivate |
class | TCPSocketPrivate |
class | UDPSocketPrivate |
class | X509CertificatePrivate |
class | Rect |
class | Resource |
A reference counted module resource. More... | |
class | ContentDecryptor_Samsung |
class | MediaControl_Samsung |
class | MediaSource_Samsung |
class | SefClientSamsung |
class | StreamParser_Samsung |
Interface allowing NaCl applicaton to implement its own stream demuxer. More... | |
class | Size |
A size of an object based on width and height. More... | |
class | TCPSocket |
class | TextInputController |
class | TouchPoint |
Wrapper class for PP_TouchPoint. More... | |
class | UDPSocket |
class | URLLoader |
class | URLRequestInfo |
URLRequestInfo provides an API for creating and manipulating URL requests. More... | |
class | URLResponseInfo |
URLResponseInfo provides an API for examining URL responses. More... | |
class | Var |
A generic type used for passing data types between the module and the page. More... | |
class | VarArray |
class | VarArrayBuffer |
class | VarDictionary |
class | View |
class | WebSocket |
Enumerations | |
enum | PassRef { PASS_REF } |
Functions | |
template<typename ResourceObjectType > | |
void | ConvertPPResourceArrayToObjects (PassRef, const std::vector< PP_Resource > &input, std::vector< ResourceObjectType > *output) |
CompletionCallback | BlockUntilComplete () |
pp::Module * | CreateModule () |
void | SetBrokerGetInterfaceFunc (PP_GetInterface_Func broker_get_interface) |
The C++ interface to the Pepper API.
enum pp::PassRef |
An annotation for constructors and other functions that take ownership of a pointer. For example, a resource constructor that takes ownership of a provided PP_Resource
ref count would take this enumeration to differentiate from the more typical use case of taking its own reference.
Enumerator | |
---|---|
PASS_REF |
Definition at line 17 of file pass_ref.h.
|
inline |
BlockUntilComplete() is used in place of an actual completion callback to request blocking behavior. If specified, the calling thread will block until the function completes. Blocking completion callbacks are only allowed from background threads.
CompletionCallback
corresponding to a NULL callback. Definition at line 375 of file completion_callback.h.
|
inline |
Definition at line 27 of file array_output.h.
References PASS_REF.
Referenced by pp::ResourceArrayOutputAdapterWithStorage< T >::output(), and pp::ResourceArrayOutputAdapter< T >::~ResourceArrayOutputAdapter().
pp::Module* pp::CreateModule | ( | ) |
This function creates the pp::Module
object associated with this module.
Note: NaCl module developers must implement this function.
void pp::SetBrokerGetInterfaceFunc | ( | PP_GetInterface_Func | broker_get_interface | ) |
Sets the get interface function in the broker process.
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.