Public Member Functions | Static Public Member Functions | List of all members
pp::VideoCapture_Dev Class Reference

#include <video_capture_dev.h>

Inheritance diagram for pp::VideoCapture_Dev:
Inheritance graph
Collaboration diagram for pp::VideoCapture_Dev:
Collaboration graph

Public Member Functions

 VideoCapture_Dev (const InstanceHandle &instance)
 VideoCapture_Dev (PP_Resource resource)
virtual ~VideoCapture_Dev ()
int32_t EnumerateDevices (const CompletionCallbackWithOutput< std::vector< DeviceRef_Dev > > &callback)
int32_t MonitorDeviceChange (PP_MonitorDeviceChangeCallback callback, void *user_data)
int32_t Open (const DeviceRef_Dev &device_ref, const PP_VideoCaptureDeviceInfo_Dev &requested_info, uint32_t buffer_count, const CompletionCallback &callback)
int32_t StartCapture ()
int32_t ReuseBuffer (uint32_t buffer)
int32_t StopCapture ()
void Close ()
- Public Member Functions inherited from pp::Resource
 Resource ()
 The default constructor. More...
 Resource (const Resource &other)
virtual ~Resource ()
 Destructor. More...
Resourceoperator= (const Resource &other)
bool is_null () const
PP_Resource pp_resource () const
PP_Resource detach ()

Static Public Member Functions

static bool IsAvailable ()

Additional Inherited Members

- Protected Member Functions inherited from pp::Resource
 Resource (PP_Resource resource)
 Resource (PassRef, PP_Resource resource)
void PassRefFromConstructor (PP_Resource resource)
void Clear ()
 Sets this resource to null. This releases ownership of the resource. More...

Detailed Description

Definition at line 19 of file video_capture_dev.h.

Constructor & Destructor Documentation

pp::VideoCapture_Dev::VideoCapture_Dev ( const InstanceHandle instance)
pp::VideoCapture_Dev::VideoCapture_Dev ( PP_Resource  resource)
virtual pp::VideoCapture_Dev::~VideoCapture_Dev ( )

Member Function Documentation

void pp::VideoCapture_Dev::Close ( )
int32_t pp::VideoCapture_Dev::EnumerateDevices ( const CompletionCallbackWithOutput< std::vector< DeviceRef_Dev > > &  callback)
static bool pp::VideoCapture_Dev::IsAvailable ( )
int32_t pp::VideoCapture_Dev::MonitorDeviceChange ( PP_MonitorDeviceChangeCallback  callback,
void *  user_data 
int32_t pp::VideoCapture_Dev::Open ( const DeviceRef_Dev device_ref,
const PP_VideoCaptureDeviceInfo_Dev &  requested_info,
uint32_t  buffer_count,
const CompletionCallback callback 
int32_t pp::VideoCapture_Dev::ReuseBuffer ( uint32_t  buffer)
int32_t pp::VideoCapture_Dev::StartCapture ( )
int32_t pp::VideoCapture_Dev::StopCapture ( )

The documentation for this class was generated from the following file: