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

#include <program_schedule_samsung.h>

Inheritance diagram for pp::ProgramScheduleSamsung:
Inheritance graph
Collaboration diagram for pp::ProgramScheduleSamsung:
Collaboration graph

Public Member Functions

 ProgramScheduleSamsung ()
 
 ProgramScheduleSamsung (PP_Resource resource)
 
 ProgramScheduleSamsung (PassRef, PP_Resource resource)
 
 ProgramScheduleSamsung (const ProgramScheduleSamsung &other)
 
uint64_t GetID ()
 
Var GetName ()
 
PP_ServiceType GetType ()
 
int32_t GetScheduledEvents (PP_Time start_time, PP_Time end_time, const CompletionCallbackWithOutput< std::vector< PP_EPGEvent > > &callback)
 
int32_t GetPresentFollowing (const CompletionCallbackWithOutput< std::vector< PP_EPGEvent > > &callback)
 
int32_t SetRatingLock (const struct PP_RatingInfo *ratingInfo, PP_Bool setLock, const CompletionCallback &callback)
 
int32_t GetRatingLock (const struct PP_RatingInfo *ratingInfo, const CompletionCallbackWithOutput< PP_Bool > &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 24 of file program_schedule_samsung.h.

Constructor & Destructor Documentation

pp::ProgramScheduleSamsung::ProgramScheduleSamsung ( )
pp::ProgramScheduleSamsung::ProgramScheduleSamsung ( PP_Resource  resource)
pp::ProgramScheduleSamsung::ProgramScheduleSamsung ( PassRef  ,
PP_Resource  resource 
)
pp::ProgramScheduleSamsung::ProgramScheduleSamsung ( const ProgramScheduleSamsung other)

Member Function Documentation

uint64_t pp::ProgramScheduleSamsung::GetID ( )

GetID() provides ID of service identified by resource.

Returns
uint64_t with ID of service.
Var pp::ProgramScheduleSamsung::GetName ( )

GetName() providing name of service identified by resource.

Returns
PP_Var of type string, with name of service.
int32_t pp::ProgramScheduleSamsung::GetPresentFollowing ( const CompletionCallbackWithOutput< std::vector< PP_EPGEvent > > &  callback)

GetPresentFollowing() providing array of EPG events from present/following table for service associated with program schedule resource.

Parameters
[in]callbackCompletionCallbackWithOutput that will be run when output will be ready.
Returns
PP_Error with error code.
int32_t pp::ProgramScheduleSamsung::GetRatingLock ( const struct PP_RatingInfo *  ratingInfo,
const CompletionCallbackWithOutput< PP_Bool > &  callback 
)

GetRatingLock() gets lock status for displaying programs of certain rating.

Parameters
[in]programPP_RatingInfo from which rating is taken to be edited.
[out]statePP_Bool of the lock.
[in]callbackPP_CompletionCallback that will be run when output will be ready.
Returns
PP_Error with error code.R
int32_t pp::ProgramScheduleSamsung::GetScheduledEvents ( PP_Time  start_time,
PP_Time  end_time,
const CompletionCallbackWithOutput< std::vector< PP_EPGEvent > > &  callback 
)

GetScheduledEvents() providing array of EPG events from scheduled table for service associated whit program schedule resource.

Parameters
[in]start_timePP_Time with beginning of requested schedule.
[in]end_timePP_Time with end of requested schedule.
[in]callbackCompletionCallbackWithOutput that will be run when output will be ready.
Returns
PP_Error with error code.
PP_ServiceType pp::ProgramScheduleSamsung::GetType ( )

GetType() providing type of service identified by resource.

Returns
PP_ServiceType with type of service. More information in pp_epg_event.h.
int32_t pp::ProgramScheduleSamsung::SetRatingLock ( const struct PP_RatingInfo *  ratingInfo,
PP_Bool  setLock,
const CompletionCallback callback 
)

SetRatingLock() sets lock for displaying programs of certain rating.

Parameters
[in]programPP_RatingInfo from which rating is taken
[in]statePP_Bool of lock to be set.
[in]callbackPP_CompletionCallback that will be run when output will be ready.
Returns
PP_Error with error code.

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