Flutter Engine
The Flutter Engine
|
#include <native_message_handler.h>
Additional Inherited Members | |
Public Types inherited from dart::MessageHandler | |
enum | MessageStatus { kOK , kError , kShutdown } |
typedef uword | CallbackData |
typedef MessageStatus(* | StartCallback) (CallbackData data) |
typedef void(* | EndCallback) (CallbackData data) |
Static Public Member Functions inherited from dart::MessageHandler | |
static const char * | MessageStatusString (MessageStatus status) |
Protected Member Functions inherited from dart::MessageHandler | |
MessageHandler () | |
virtual bool | IsCurrentIsolate () const |
virtual Isolate * | isolate () const |
void | PostMessage (std::unique_ptr< Message > message, bool before_events=false) |
void | ClosePort (Dart_Port port) |
void | CloseAllPorts () |
virtual void | MessageNotify (Message::Priority priority) |
virtual MessageStatus | HandleMessage (std::unique_ptr< Message > message)=0 |
virtual void | NotifyPauseOnStart () |
virtual void | NotifyPauseOnExit () |
Thread * | thread () const |
Definition at line 18 of file native_message_handler.h.
dart::NativeMessageHandler::NativeMessageHandler | ( | const char * | name, |
Dart_NativeMessageHandler | func | ||
) |
Definition at line 17 of file native_message_handler.cc.
dart::NativeMessageHandler::~NativeMessageHandler | ( | ) |
Definition at line 21 of file native_message_handler.cc.
|
inline |
Definition at line 24 of file native_message_handler.h.
|
virtual |
Implements dart::MessageHandler.
Definition at line 31 of file native_message_handler.cc.
|
inlinevirtual |
Reimplemented from dart::MessageHandler.
Definition at line 23 of file native_message_handler.h.