Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
pp Namespace Reference

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

Classes

class  ArrayOutputAdapterBase
 
class  ArrayOutputAdapter
 
class  ResourceArrayOutputAdapter
 
class  ArrayOutputAdapterWithStorage
 
class  VarArrayOutputAdapterWithStorage
 
class  ResourceArrayOutputAdapterWithStorage
 
class  Audio
 
class  AudioConfig
 
class  CompletionCallback
 
class  CompletionCallbackWithOutput
 
class  Compositor
 
class  CompositorLayer
 
class  Core
 APIs related to memory management, time, and threads. More...
 
class  AudioInput_Dev
 
class  Buffer_Dev
 
class  DeviceRef_Dev
 
class  RemovableStorage_Dev
 
class  ResourceArray_Dev
 
class  URLUtil_Dev
 
class  VideoCaptureClient_Dev
 
class  VideoCapture_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  MessageHandler
 
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  FileIO_Private
 
class  HostResolverPrivate
 
class  InstancePrivate
 
class  NetAddressPrivate
 
class  PassFileHandle
 
class  TCPServerSocketPrivate
 
class  TCPSocketPrivate
 
class  UDPSocketPrivate
 
class  VarPrivate
 
class  X509CertificatePrivate
 
class  Rect
 
class  FloatRect
 
class  Resource
 A reference counted module resource. More...
 
class  AudioConfigSamsung
 
class  BufferingListener_Samsung
 
class  CompositorLayerSamsung
 
class  DRMListener_Samsung
 
class  ElementaryStreamListener_Samsung
 Listener for receiving elementary stream related events. More...
 
class  ElementaryStream_Samsung
 
class  AudioElementaryStream_Samsung
 
class  VideoElementaryStream_Samsung
 
class  ESDataSource_Samsung
 
struct  ElementaryStreamTraits_Samsung
 
struct  ElementaryStreamTraits_Samsung< VideoElementaryStream_Samsung >
 
struct  ElementaryStreamTraits_Samsung< AudioElementaryStream_Samsung >
 
class  ExtensionSystemSamsung
 
class  ExtensionSystemSamsungTizen
 
class  ExtensionSystemSamsungWRT
 
class  MediaDataSource_Samsung
 
class  MediaEventsListener_Samsung
 
class  MediaPlayer_Samsung
 
class  RemoteControllerSamsung
 
class  SubtitleListener_Samsung
 
class  TEECContext_Samsung
 
class  TEECSession_Samsung
 
class  TEECSharedMemory_Samsung
 
class  UDPSocketExtensionSamsung
 
class  URLDataSource_Samsung
 
class  Size
 A size of an object based on width and height. More...
 
class  FloatSize
 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  VideoDecoder
 
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::ModuleCreateModule ()
 
void SetBrokerGetInterfaceFunc (PP_GetInterface_Func broker_get_interface)
 

Detailed Description

The C++ interface to the Pepper API.

The C++ interface to the Pepper API.

Enumeration Type Documentation

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.

Function Documentation

CompletionCallback pp::BlockUntilComplete ( )
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.

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.
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.