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

Public Member Functions

 CapabilityMessageDeserializationCluster ()
 
 ~CapabilityMessageDeserializationCluster ()
 
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 2079 of file message_snapshot.cc.

Constructor & Destructor Documentation

◆ CapabilityMessageDeserializationCluster()

dart::CapabilityMessageDeserializationCluster::CapabilityMessageDeserializationCluster ( )
inline

Definition at line 2082 of file message_snapshot.cc.

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

◆ ~CapabilityMessageDeserializationCluster()

dart::CapabilityMessageDeserializationCluster::~CapabilityMessageDeserializationCluster ( )
inline

Definition at line 2084 of file message_snapshot.cc.

2084{}

Member Function Documentation

◆ ReadNodes()

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

Implements dart::MessageDeserializationCluster.

Definition at line 2086 of file message_snapshot.cc.

2086 {
2087 const intptr_t count = d->ReadUnsigned();
2088 for (intptr_t i = 0; i < count; i++) {
2089 uint64_t id = d->Read<uint64_t>();
2090 d->AssignRef(Capability::New(id));
2091 }
2092 }
int count
Definition: FontMgrTest.cpp:50
static CapabilityPtr New(uint64_t id, Heap::Space space=Heap::kNew)
Definition: object.cc:25773
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE auto & d
Definition: main.cc:19

◆ ReadNodesApi()

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

Reimplemented from dart::MessageDeserializationCluster.

Definition at line 2094 of file message_snapshot.cc.

2094 {
2095 intptr_t count = d->ReadUnsigned();
2096 for (intptr_t i = 0; i < count; i++) {
2097 Dart_CObject* cap = d->Allocate(Dart_CObject_kCapability);
2098 cap->value.as_capability.id = d->Read<uint64_t>();
2099 d->AssignRef(cap);
2100 }
2101 }
@ Dart_CObject_kCapability
union _Dart_CObject::@86 value
struct _Dart_CObject::@86::@88 as_capability

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