Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::SendPortMessageDeserializationCluster Class Reference
Inheritance diagram for dart::SendPortMessageDeserializationCluster:
dart::MessageDeserializationCluster dart::ZoneAllocated

Public Member Functions

 SendPortMessageDeserializationCluster ()
 
 ~SendPortMessageDeserializationCluster ()
 
void ReadNodes (MessageDeserializer *d)
 
void ReadNodesApi (ApiMessageDeserializer *d)
 
- Public Member Functions inherited from dart::MessageDeserializationCluster
 MessageDeserializationCluster (const char *name, bool is_canonical=false)
 
virtual ~MessageDeserializationCluster ()
 
virtual void ReadNodes (MessageDeserializer *d)=0
 
virtual void ReadEdges (MessageDeserializer *d)
 
virtual ObjectPtr PostLoad (MessageDeserializer *d)
 
virtual void ReadNodesApi (ApiMessageDeserializer *d)
 
virtual void ReadEdgesApi (ApiMessageDeserializer *d)
 
virtual void PostLoadApi (ApiMessageDeserializer *d)
 
void ReadNodesWrapped (MessageDeserializer *d)
 
void ReadNodesWrappedApi (ApiMessageDeserializer *d)
 
const char * name () const
 
bool is_canonical () const
 
- Public Member Functions inherited from dart::ZoneAllocated
 ZoneAllocated ()
 
void * operator new (size_t size)
 
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *pointer)
 

Additional Inherited Members

- Protected Member Functions inherited from dart::MessageDeserializationCluster
ObjectPtr PostLoadAbstractType (MessageDeserializer *d)
 
ObjectPtr PostLoadLinkedHash (MessageDeserializer *d)
 
 DISALLOW_COPY_AND_ASSIGN (MessageDeserializationCluster)
 
- Protected Attributes inherited from dart::MessageDeserializationCluster
const char *const name_
 
const bool is_canonical_
 
intptr_t start_index_
 
intptr_t stop_index_
 

Detailed Description

Definition at line 2009 of file message_snapshot.cc.

Constructor & Destructor Documentation

◆ SendPortMessageDeserializationCluster()

dart::SendPortMessageDeserializationCluster::SendPortMessageDeserializationCluster ( )
inline

Definition at line 2012 of file message_snapshot.cc.

2013 : MessageDeserializationCluster("SendPort") {}
MessageDeserializationCluster(const char *name, bool is_canonical=false)

◆ ~SendPortMessageDeserializationCluster()

dart::SendPortMessageDeserializationCluster::~SendPortMessageDeserializationCluster ( )
inline

Definition at line 2014 of file message_snapshot.cc.

2014{}

Member Function Documentation

◆ ReadNodes()

void dart::SendPortMessageDeserializationCluster::ReadNodes ( MessageDeserializer d)
inlinevirtual

Implements dart::MessageDeserializationCluster.

Definition at line 2016 of file message_snapshot.cc.

2016 {
2017 const intptr_t count = d->ReadUnsigned();
2018 for (intptr_t i = 0; i < count; i++) {
2019 Dart_Port id = d->Read<Dart_Port>();
2020 Dart_Port origin_id = d->Read<Dart_Port>();
2021 d->AssignRef(SendPort::New(id, origin_id));
2022 }
2023 }
int count
Definition: FontMgrTest.cpp:50
static SendPortPtr New(Dart_Port id, Heap::Space space=Heap::kNew)
Definition: object.cc:25812
int64_t Dart_Port
Definition: dart_api.h:1525
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE auto & d
Definition: main.cc:19

◆ ReadNodesApi()

void dart::SendPortMessageDeserializationCluster::ReadNodesApi ( ApiMessageDeserializer d)
inlinevirtual

Reimplemented from dart::MessageDeserializationCluster.

Definition at line 2025 of file message_snapshot.cc.

2025 {
2026 intptr_t count = d->ReadUnsigned();
2027 for (intptr_t i = 0; i < count; i++) {
2029 port->value.as_send_port.id = d->Read<Dart_Port>();
2030 port->value.as_send_port.origin_id = d->Read<Dart_Port>();
2031 d->AssignRef(port);
2032 }
2033 }
@ Dart_CObject_kSendPort
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service port
Definition: switches.h:87

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