v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cppgc::internal::CrossThreadPersistentBase Class Reference

#include <cross-thread-persistent.h>

Inheritance diagram for cppgc::internal::CrossThreadPersistentBase:
Collaboration diagram for cppgc::internal::CrossThreadPersistentBase:

Public Member Functions

 CrossThreadPersistentBase ()=default
 
 CrossThreadPersistentBase (const void *raw)
 
 V8_CLANG_NO_SANITIZE ("address") const void *GetValueFromGC() const
 
PersistentNodeGetNodeFromGC () const
 
void ClearFromGC () const
 
PersistentNodeGetNodeSafe () const
 
void SetNodeSafe (PersistentNode *value) const
 

Additional Inherited Members

- Protected Member Functions inherited from cppgc::internal::PersistentBase
 PersistentBase ()=default
 
 PersistentBase (const void *raw)
 
const void * GetValue () const
 
void SetValue (const void *value)
 
PersistentNodeGetNode () const
 
void SetNode (PersistentNode *node)
 
void ClearFromGC () const
 
- Protected Attributes inherited from cppgc::internal::PersistentBase
const void * raw_ = nullptr
 
PersistentNodenode_ = nullptr
 

Detailed Description

Definition at line 22 of file cross-thread-persistent.h.

Constructor & Destructor Documentation

◆ CrossThreadPersistentBase() [1/2]

cppgc::internal::CrossThreadPersistentBase::CrossThreadPersistentBase ( )
default

◆ CrossThreadPersistentBase() [2/2]

cppgc::internal::CrossThreadPersistentBase::CrossThreadPersistentBase ( const void * raw)
inlineexplicit

Definition at line 25 of file cross-thread-persistent.h.

Member Function Documentation

◆ ClearFromGC()

void cppgc::internal::CrossThreadPersistentBase::ClearFromGC ( ) const
inline

Definition at line 35 of file cross-thread-persistent.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetNodeFromGC()

PersistentNode * cppgc::internal::CrossThreadPersistentBase::GetNodeFromGC ( ) const
inline

Definition at line 32 of file cross-thread-persistent.h.

Here is the caller graph for this function:

◆ GetNodeSafe()

PersistentNode * cppgc::internal::CrossThreadPersistentBase::GetNodeSafe ( ) const
inline

Definition at line 42 of file cross-thread-persistent.h.

Here is the caller graph for this function:

◆ SetNodeSafe()

void cppgc::internal::CrossThreadPersistentBase::SetNodeSafe ( PersistentNode * value) const
inline

Definition at line 49 of file cross-thread-persistent.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ V8_CLANG_NO_SANITIZE()

cppgc::internal::CrossThreadPersistentBase::V8_CLANG_NO_SANITIZE ( "address" ) const
inline

Definition at line 27 of file cross-thread-persistent.h.


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