Flutter Engine
The Flutter Engine
Protected Member Functions | Friends | List of all members
fml::ConcurrentMessageLoopDarwin Class Reference
Inheritance diagram for fml::ConcurrentMessageLoopDarwin:
fml::ConcurrentMessageLoop

Protected Member Functions

 ConcurrentMessageLoopDarwin (size_t worker_count)
 
void ExecuteTask (const fml::closure &task) override
 
- Protected Member Functions inherited from fml::ConcurrentMessageLoop
 ConcurrentMessageLoop (size_t worker_count)
 
virtual void ExecuteTask (const fml::closure &task)
 

Friends

class ConcurrentMessageLoop
 

Additional Inherited Members

- Public Member Functions inherited from fml::ConcurrentMessageLoop
virtual ~ConcurrentMessageLoop ()
 
size_t GetWorkerCount () const
 
std::shared_ptr< ConcurrentTaskRunnerGetTaskRunner ()
 
void Terminate ()
 
void PostTaskToAllWorkers (const fml::closure &task)
 
bool RunsTasksOnCurrentThread ()
 
- Static Public Member Functions inherited from fml::ConcurrentMessageLoop
static std::shared_ptr< ConcurrentMessageLoopCreate (size_t worker_count=std::thread::hardware_concurrency())
 

Detailed Description

Definition at line 9 of file concurrent_message_loop_factory.mm.

Constructor & Destructor Documentation

◆ ConcurrentMessageLoopDarwin()

fml::ConcurrentMessageLoopDarwin::ConcurrentMessageLoopDarwin ( size_t  worker_count)
inlineexplicitprotected

Definition at line 13 of file concurrent_message_loop_factory.mm.

Member Function Documentation

◆ ExecuteTask()

void fml::ConcurrentMessageLoopDarwin::ExecuteTask ( const fml::closure task)
inlineoverrideprotectedvirtual

Reimplemented from fml::ConcurrentMessageLoop.

Definition at line 15 of file concurrent_message_loop_factory.mm.

15 {
16 @autoreleasepool {
17 task();
18 }
19 }

Friends And Related Function Documentation

◆ ConcurrentMessageLoop

friend class ConcurrentMessageLoop
friend

Definition at line 10 of file concurrent_message_loop_factory.mm.


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