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

#include <service_list_samsung.h>

Inheritance diagram for pp::ServiceListSamsung:
Inheritance graph
Collaboration diagram for pp::ServiceListSamsung:
Collaboration graph

Public Member Functions

 ServiceListSamsung (const InstanceHandle &instance)
 
 ServiceListSamsung ()
 
 ServiceListSamsung (PP_Resource resource)
 
 ServiceListSamsung (PassRef, PP_Resource resource)
 
 ServiceListSamsung (const ServiceListSamsung &other)
 
int32_t ListServices (const CompletionCallbackWithOutput< std::vector< ProgramScheduleSamsung > > &callback)
 
int32_t MonitorScheduleChanges (PPB_ProgramSchedule_Monitoring_Callback callback, void *user_data)
 
int32_t FindService (const struct PP_SearchCriteria *criteria, const CompletionCallbackWithOutput< ProgramScheduleSamsung > &callback)
 
int32_t ChangeService (uint64_t serviceID, 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 23 of file service_list_samsung.h.

Constructor & Destructor Documentation

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

Member Function Documentation

int32_t pp::ServiceListSamsung::ChangeService ( uint64_t  serviceID,
const CompletionCallback callback 
)

ChangeService() changes current service to one identified by provided serviceID.

Parameters
[in]serviceIDuint32_t for service identification.
[in]callbackCompletionCallback that will be run when output will be ready.
Returns
PP_OK if succeed. Error from PP_ERROR otherwise.
int32_t pp::ServiceListSamsung::FindService ( const struct PP_SearchCriteria *  criteria,
const CompletionCallbackWithOutput< ProgramScheduleSamsung > &  callback 
)

FindService() finds first ProgramScheduleSamsung identifying first Program Schedule Resource fitting criteria.

Parameters
[in]criteriaPP_SearchCriteria for service search.
[in]callbackCompletionCallbackWithOutput that will be run when output will be ready.
Returns
PP_OK if succeed. Error from PP_ERROR otherwise.
int32_t pp::ServiceListSamsung::ListServices ( const CompletionCallbackWithOutput< std::vector< ProgramScheduleSamsung > > &  callback)

ListServices() provides list ProgramScheduleSamsung identifying available Program Schedule Resources for available services.

Parameters
[in]callbackCompletionCallbackWithOutput that will be run when output will be ready.
Returns
PP_OK if succeed. Error from PP_ERROR otherwise.
int32_t pp::ServiceListSamsung::MonitorScheduleChanges ( PPB_ProgramSchedule_Monitoring_Callback  callback,
void *  user_data 
)

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