Native Client

pp Namespace Reference

The C++ interface to the Pepper API. More...

Classes

class  Audio
 An audio resource. More...
class  AudioConfig
 A 16 bit stereo AudioConfig resource. More...
class  CompletionCallback
 This API enables you to implement and receive callbacks when Pepper operations complete asynchronously. More...
class  CompletionCallbackFactory
 CompletionCallbackFactory<T> may be used to create CompletionCallback objects that are bound to member functions. More...
class  Core
 APIs related to memory management, time, and threads. More...
class  FileIO
 The FileIO class represents a regular file. More...
class  FileRef
 The FileRef class represents a "weak pointer" to a file in a file system. More...
class  FileSystem
 The FileSystem class identifies the file system type associated with a file. More...
class  Fullscreen
class  Graphics2D
class  Graphics3D
class  Graphics3DClient
class  ImageData
class  InputEvent
 This class represents an input event resource. More...
class  MouseInputEvent
 This class handles mouse events. More...
class  WheelInputEvent
class  KeyboardInputEvent
class  Instance
class  Module
 The Module class. More...
class  MouseLock
class  NonThreadSafeRefCount
 A simple reference counter that is not thread-safe. More...
class  PaintAggregator
 This class is responsible for aggregating multiple invalidation and scroll commands to produce a scroll and repaint sequence. More...
class  PaintManager
 This class converts the "instance push" model of painting in PPAPI to a paint request at a later time. More...
class  Point
 A 2 dimensional point with 0,0 being the upper-left starting coordinate. More...
class  FloatPoint
 A 2 dimensional floating-point point with 0,0 being the upper-left starting coordinate. More...
class  Rect
 A 2 dimensional rectangle. More...
class  Resource
 A reference counted module resource. More...
class  Size
 A size of an object based on width and height. More...
class  URLLoader
 URLLoader provides an API for loading URLs. More...
class  URLRequestInfo
 URLRequestInfo provides an API for creating and manipulating URL requests. More...
class  URLResponseInfo
 URLResponseInfo provides an API for examaning URL responses. More...
class  Var
 A generic type used for passing data types between the module and the page. More...

Functions

CompletionCallback BlockUntilComplete ()
pp::ModuleCreateModule ()

Detailed Description

The C++ interface to the Pepper API.


Function Documentation

CompletionCallback pp::BlockUntilComplete ( )

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.

Returns:
A CompletionCallback corresponding to a NULL callback.
pp::Module* pp::CreateModule ( )

This function creates the pp::Module object associated with this module.

Note: NaCl module developers must implement this function.

Returns:
Returns the module if it was successfully created, or NULL on failure. Upon failure, the module will be unloaded.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.