Flutter Engine
The Flutter Engine
|
#include <message.h>
Public Types | |
enum | Priority { kNormalPriority = 0 , kOOBPriority = 1 , kFirstPriority = 0 , kNumPriorities = 2 } |
enum | OOBMsgTag { kIllegalOOB = 0 , kServiceOOBMsg = 1 , kIsolateLibOOBMsg = 2 , kDelayedIsolateLibOOBMsg = 3 } |
Public Member Functions | |
Message (Dart_Port dest_port, uint8_t *snapshot, intptr_t snapshot_length, MessageFinalizableData *finalizable_data, Priority priority) | |
Message (Dart_Port dest_port, ObjectPtr raw_obj, Priority priority) | |
Message (Dart_Port dest_port, PersistentHandle *handle, Priority priority) | |
Message (PersistentHandle *handle, Priority priority) | |
~Message () | |
Dart_Port | dest_port () const |
uint8_t * | snapshot () const |
intptr_t | snapshot_length () const |
MessageFinalizableData * | finalizable_data () |
intptr_t | Size () const |
ObjectPtr | raw_obj () const |
PersistentHandle * | persistent_handle () const |
Priority | priority () const |
bool | IsOOB () const |
bool | IsSnapshot () const |
bool | IsRaw () const |
bool | IsPersistentHandle () const |
bool | IsFinalizerInvocationRequest () const |
void | DropFinalizers () |
intptr_t | Id () const |
Static Public Member Functions | |
template<typename... Args> | |
static std::unique_ptr< Message > | New (Args &&... args) |
static const char * | PriorityAsString (Priority priority) |
Static Public Attributes | |
static const Dart_Port | kIllegalPort = 0 |
Friends | |
class | MessageQueue |
Enumerator | |
---|---|
kIllegalOOB | |
kServiceOOBMsg | |
kIsolateLibOOBMsg | |
kDelayedIsolateLibOOBMsg |
Definition at line 39 of file message.h.
Enumerator | |
---|---|
kNormalPriority | |
kOOBPriority | |
kFirstPriority | |
kNumPriorities |
Message::Message | ( | Dart_Port | dest_port, |
uint8_t * | snapshot, | ||
intptr_t | snapshot_length, | ||
MessageFinalizableData * | finalizable_data, | ||
Priority | priority | ||
) |
Definition at line 19 of file message.cc.
Definition at line 32 of file message.cc.
Message::Message | ( | Dart_Port | dest_port, |
PersistentHandle * | handle, | ||
Priority | priority | ||
) |
Definition at line 38 of file message.cc.
Message::Message | ( | PersistentHandle * | handle, |
Priority | priority | ||
) |
Definition at line 48 of file message.cc.
Message::~Message | ( | ) |
Definition at line 56 of file message.cc.
|
inline |
|
inline |
|
inline |
intptr_t Message::Id | ( | ) | const |
Definition at line 68 of file message.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Definition at line 72 of file message.h.
|
inline |
|
inline |
|
static |
Definition at line 73 of file message.cc.
|
inline |
|
inline |
Definition at line 86 of file message.h.
|
inline |
|
inline |
|
friend |