Pepper_42_C++_interfaces
Public Member Functions | List of all members
pp::DeviceControlSamsung Class Reference

#include <device_control_samsung.h>

Inheritance diagram for pp::DeviceControlSamsung:
Inheritance graph
Collaboration diagram for pp::DeviceControlSamsung:
Collaboration graph

Public Member Functions

 DeviceControlSamsung (const InstanceHandle &instance)
 
 DeviceControlSamsung ()
 
 DeviceControlSamsung (PP_Resource resource)
 
 DeviceControlSamsung (PassRef, PP_Resource resource)
 
 DeviceControlSamsung (const DeviceControlSamsung &other)
 
int32_t ChangeSource (uint32_t sourceID, const CompletionCallback &callback)
 
- 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 ()
 

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 22 of file device_control_samsung.h.

Constructor & Destructor Documentation

pp::DeviceControlSamsung::DeviceControlSamsung ( const InstanceHandle instance)
pp::DeviceControlSamsung::DeviceControlSamsung ( )
pp::DeviceControlSamsung::DeviceControlSamsung ( PP_Resource  resource)
pp::DeviceControlSamsung::DeviceControlSamsung ( PassRef  ,
PP_Resource  resource 
)
pp::DeviceControlSamsung::DeviceControlSamsung ( const DeviceControlSamsung other)

Member Function Documentation

int32_t pp::DeviceControlSamsung::ChangeSource ( uint32_t  sourceID,
const CompletionCallback callback 
)

ChangeSource() changes current TV source to the specified one.

Parameters
[in]sourceIDA uint32_t identifying source to change to.
[in]callbackCompletionCallback that will be called upon completion.
Returns
PP_Error with error code.

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