Shaka Packager SDK
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
shaka::media::JobManager Class Reference
Inheritance diagram for shaka::media::JobManager:
shaka::media::SingleThreadJobManager

Public Member Functions

 JobManager (std::unique_ptr< SyncPointQueue > sync_points)
 
void Add (const std::string &name, std::shared_ptr< OriginHandler > handler)
 
Status InitializeJobs ()
 
virtual Status RunJobs ()
 
void CancelJobs ()
 
SyncPointQueuesync_points ()
 

Protected Member Functions

 JobManager (const JobManager &)=delete
 
JobManageroperator= (const JobManager &)=delete
 
void OnJobComplete (Job *job)
 
std::map< Job *, bool > complete_ ABSL_GUARDED_BY (mutex_)
 
absl::CondVar any_job_complete_ ABSL_GUARDED_BY (mutex_)
 

Protected Attributes

std::unique_ptr< SyncPointQueuesync_points_
 
std::vector< std::unique_ptr< Job > > jobs_
 
absl::Mutex mutex_
 

Detailed Description

Definition at line 80 of file job_manager.h.


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