Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::MessageHandlerTask Class Reference
Inheritance diagram for dart::MessageHandlerTask:
dart::ThreadPool::Task dart::IntrusiveDListEntry< Task >

Public Member Functions

 MessageHandlerTask (MessageHandler *handler)
 
virtual void Run ()
 
- Public Member Functions inherited from dart::ThreadPool::Task
virtual ~Task ()
 
virtual void Run ()=0
 
- Public Member Functions inherited from dart::IntrusiveDListEntry< Task >
 IntrusiveDListEntry ()
 
 ~IntrusiveDListEntry ()
 

Additional Inherited Members

- Protected Member Functions inherited from dart::ThreadPool::Task
 Task ()
 

Detailed Description

Definition at line 23 of file message_handler.cc.

Constructor & Destructor Documentation

◆ MessageHandlerTask()

dart::MessageHandlerTask::MessageHandlerTask ( MessageHandler handler)
inlineexplicit

Definition at line 25 of file message_handler.cc.

25 : handler_(handler) {
26 ASSERT(handler != nullptr);
27 }
#define ASSERT(E)

Member Function Documentation

◆ Run()

virtual void dart::MessageHandlerTask::Run ( )
inlinevirtual

Implements dart::ThreadPool::Task.

Definition at line 29 of file message_handler.cc.

29 {
30 ASSERT(handler_ != nullptr);
31 handler_->TaskCallback();
32 }

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