Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::MessageEvent Class Reference
Inheritance diagram for dart::MessageEvent:
dart::Event

Public Member Functions

 MessageEvent (Dart_Isolate isolate)
 
 ~MessageEvent ()
 
virtual void Process ()
 
- Public Member Functions inherited from dart::Event
virtual ~Event ()
 
virtual void Process ()=0
 
Dart_Isolate isolate () const
 

Additional Inherited Members

- Protected Member Functions inherited from dart::Event
 Event (Dart_Isolate isolate)
 

Detailed Description

Definition at line 188 of file custom_isolate_test.cc.

Constructor & Destructor Documentation

◆ MessageEvent()

dart::MessageEvent::MessageEvent ( Dart_Isolate  isolate)
inlineexplicit

Definition at line 190 of file custom_isolate_test.cc.

190: Event(isolate) {}
Event(Dart_Isolate isolate)
Dart_Isolate isolate() const

◆ ~MessageEvent()

dart::MessageEvent::~MessageEvent ( )
inline

Definition at line 192 of file custom_isolate_test.cc.

192{}

Member Function Documentation

◆ Process()

void dart::MessageEvent::Process ( )
virtual

Implements dart::Event.

Definition at line 197 of file custom_isolate_test.cc.

197 {
198 OS::PrintErr("$$ MessageEvent with isolate(%p)\n", isolate());
201
204
205 if (!Dart_HasLivePorts()) {
206 OS::PrintErr("<< Shutting down isolate(%p)\n", isolate());
211 } else {
214 }
215 ASSERT(Dart_CurrentIsolate() == nullptr);
216}
void RemoveEventsForIsolate(Dart_Isolate isolate)
static void static void PrintErr(const char *format,...) PRINTF_ATTRIBUTE(1
struct _Dart_Handle * Dart_Handle
Definition: dart_api.h:258
#define ASSERT(E)
GAsyncResult * result
DART_EXPORT void Dart_EnterScope()
DART_EXPORT void Dart_EnterIsolate(Dart_Isolate isolate)
DART_EXPORT Dart_Isolate Dart_CurrentIsolate()
DART_EXPORT void Dart_ExitIsolate()
DART_EXPORT void Dart_ExitScope()
DART_EXPORT void Dart_SetMessageNotifyCallback(Dart_MessageNotifyCallback message_notify_callback)
EventQueue * event_queue
DART_EXPORT void Dart_ShutdownIsolate()
DART_EXPORT bool Dart_HasLivePorts()
DART_EXPORT Dart_Handle Dart_HandleMessage()
#define EXPECT_VALID(handle)
Definition: unit_test.h:643

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