Skia
2D Graphics Library
SkExecutor Class Referenceabstract

#include <SkExecutor.h>

Public Member Functions

virtual ~SkExecutor ()
 
virtual void add (std::function< void(void)>)=0
 
virtual void borrow ()
 

Static Public Member Functions

static std::unique_ptr< SkExecutorMakeFIFOThreadPool (int threads=0, bool allowBorrowing=true)
 
static std::unique_ptr< SkExecutorMakeLIFOThreadPool (int threads=0, bool allowBorrowing=true)
 
static SkExecutorGetDefault ()
 
static void SetDefault (SkExecutor *)
 

Protected Member Functions

 SkExecutor ()=default
 
 SkExecutor (const SkExecutor &)=delete
 
SkExecutoroperator= (const SkExecutor &)=delete
 

Constructor & Destructor Documentation

◆ ~SkExecutor()

virtual SkExecutor::~SkExecutor ( )
virtual

◆ SkExecutor() [1/2]

SkExecutor::SkExecutor ( )
protecteddefault

◆ SkExecutor() [2/2]

SkExecutor::SkExecutor ( const SkExecutor )
protecteddelete

Member Function Documentation

◆ add()

virtual void SkExecutor::add ( std::function< void(void)>  )
pure virtual

◆ borrow()

virtual void SkExecutor::borrow ( )
inlinevirtual

◆ GetDefault()

static SkExecutor& SkExecutor::GetDefault ( )
static

◆ MakeFIFOThreadPool()

static std::unique_ptr<SkExecutor> SkExecutor::MakeFIFOThreadPool ( int  threads = 0,
bool  allowBorrowing = true 
)
static

◆ MakeLIFOThreadPool()

static std::unique_ptr<SkExecutor> SkExecutor::MakeLIFOThreadPool ( int  threads = 0,
bool  allowBorrowing = true 
)
static

◆ operator=()

SkExecutor& SkExecutor::operator= ( const SkExecutor )
protecteddelete

◆ SetDefault()

static void SkExecutor::SetDefault ( SkExecutor )
static

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