Flutter Engine
The Flutter Engine
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
dart::MessageSerializationCluster Class Referenceabstract
Inheritance diagram for dart::MessageSerializationCluster:
dart::ZoneAllocated dart::ArrayMessageSerializationCluster dart::CapabilityMessageSerializationCluster dart::ClassMessageSerializationCluster dart::DoubleMessageSerializationCluster dart::ExternalTypedDataMessageSerializationCluster dart::GrowableObjectArrayMessageSerializationCluster dart::MapMessageSerializationCluster dart::MintMessageSerializationCluster dart::NativePointerMessageSerializationCluster dart::OneByteStringMessageSerializationCluster dart::SendPortMessageSerializationCluster dart::SetMessageSerializationCluster dart::Simd128MessageSerializationCluster dart::SmiMessageSerializationCluster dart::TransferableTypedDataMessageSerializationCluster dart::TwoByteStringMessageSerializationCluster dart::TypeArgumentsMessageSerializationCluster dart::TypeMessageSerializationCluster dart::TypedDataMessageSerializationCluster dart::TypedDataViewMessageSerializationCluster

Public Member Functions

 MessageSerializationCluster (const char *name, MessagePhase phase, intptr_t cid, bool is_canonical=false)
 
virtual ~MessageSerializationCluster ()
 
virtual void Trace (MessageSerializer *s, Object *object)=0
 
virtual void WriteNodes (MessageSerializer *s)=0
 
virtual void WriteEdges (MessageSerializer *s)
 
virtual void TraceApi (ApiMessageSerializer *s, Dart_CObject *object)
 
virtual void WriteNodesApi (ApiMessageSerializer *s)
 
virtual void WriteEdgesApi (ApiMessageSerializer *s)
 
const char * name () const
 
MessagePhase phase () const
 
intptr_t cid () 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)
 

Protected Member Functions

 DISALLOW_COPY_AND_ASSIGN (MessageSerializationCluster)
 

Protected Attributes

const char *const name_
 
const MessagePhase phase_
 
const intptr_t cid_
 
const bool is_canonical_
 

Detailed Description

Definition at line 80 of file message_snapshot.cc.

Constructor & Destructor Documentation

◆ MessageSerializationCluster()

dart::MessageSerializationCluster::MessageSerializationCluster ( const char *  name,
MessagePhase  phase,
intptr_t  cid,
bool  is_canonical = false 
)
inlineexplicit

◆ ~MessageSerializationCluster()

virtual dart::MessageSerializationCluster::~MessageSerializationCluster ( )
inlinevirtual

Definition at line 87 of file message_snapshot.cc.

87{}

Member Function Documentation

◆ cid()

intptr_t dart::MessageSerializationCluster::cid ( ) const
inline

Definition at line 99 of file message_snapshot.cc.

99{ return cid_; }

◆ DISALLOW_COPY_AND_ASSIGN()

dart::MessageSerializationCluster::DISALLOW_COPY_AND_ASSIGN ( MessageSerializationCluster  )
protected

◆ is_canonical()

bool dart::MessageSerializationCluster::is_canonical ( ) const
inline

Definition at line 100 of file message_snapshot.cc.

100{ return is_canonical_; }

◆ name()

const char * dart::MessageSerializationCluster::name ( ) const
inline

Definition at line 97 of file message_snapshot.cc.

97{ return name_; }

◆ phase()

MessagePhase dart::MessageSerializationCluster::phase ( ) const
inline

Definition at line 98 of file message_snapshot.cc.

98{ return phase_; }

◆ Trace()

virtual void dart::MessageSerializationCluster::Trace ( MessageSerializer s,
Object object 
)
pure virtual

◆ TraceApi()

virtual void dart::MessageSerializationCluster::TraceApi ( ApiMessageSerializer s,
Dart_CObject object 
)
inlinevirtual

◆ WriteEdges()

virtual void dart::MessageSerializationCluster::WriteEdges ( MessageSerializer s)
inlinevirtual

◆ WriteEdgesApi()

virtual void dart::MessageSerializationCluster::WriteEdgesApi ( ApiMessageSerializer s)
inlinevirtual

Reimplemented in dart::ArrayMessageSerializationCluster.

Definition at line 95 of file message_snapshot.cc.

95{}

◆ WriteNodes()

virtual void dart::MessageSerializationCluster::WriteNodes ( MessageSerializer s)
pure virtual

◆ WriteNodesApi()

virtual void dart::MessageSerializationCluster::WriteNodesApi ( ApiMessageSerializer s)
inlinevirtual

Member Data Documentation

◆ cid_

const intptr_t dart::MessageSerializationCluster::cid_
protected

Definition at line 105 of file message_snapshot.cc.

◆ is_canonical_

const bool dart::MessageSerializationCluster::is_canonical_
protected

Definition at line 106 of file message_snapshot.cc.

◆ name_

const char* const dart::MessageSerializationCluster::name_
protected

Definition at line 103 of file message_snapshot.cc.

◆ phase_

const MessagePhase dart::MessageSerializationCluster::phase_
protected

Definition at line 104 of file message_snapshot.cc.


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