Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Friends | List of all members
v8::TracedReferenceBase Class Reference

#include <v8-traced-handle.h>

Inheritance diagram for v8::TracedReferenceBase:
[legend]
Collaboration diagram for v8::TracedReferenceBase:
[legend]

Public Member Functions

void Reset ()
 
Local< DataGet (Isolate *isolate) const
 
bool IsEmptyThreadSafe () const
 
- Public Member Functions inherited from v8::api_internal::IndirectHandleBase
bool IsEmpty () const
 
void Clear ()
 

Protected Member Functions

 TracedReferenceBase ()=default
 
void SetSlotThreadSafe (internal::Address *new_val)
 
const internal::AddressGetSlotThreadSafe () const
 
void CheckValue () const
 
- Protected Member Functions inherited from v8::api_internal::IndirectHandleBase
 IndirectHandleBase ()=default
 
 IndirectHandleBase (const IndirectHandleBase &other)=default
 
IndirectHandleBaseoperator= (const IndirectHandleBase &that)=default
 
 IndirectHandleBase (internal::Address *location)
 
internal::Address ptr () const
 
internal::Address *const & slot () const
 
internal::Address *& slot ()
 
template<typename T , bool check_null = false>
T * value () const
 
internal::ValueHelper::InternalRepresentationType repr () const
 

Friends

class internal::BasicTracedReferenceExtractor
 
template<typename F >
class Local
 
template<typename U >
bool operator== (const TracedReferenceBase &, const Local< U > &)
 
bool operator== (const TracedReferenceBase &, const TracedReferenceBase &)
 

Detailed Description

An indirect handle, where the indirect pointer points to a GlobalHandles node.

Constructor & Destructor Documentation

◆ TracedReferenceBase()

v8::TracedReferenceBase::TracedReferenceBase ( )
inlineprotecteddefault

Member Function Documentation

◆ CheckValue()

void v8::TracedReferenceBase::CheckValue ( ) const
protected

◆ Get()

Local< Data > v8::TracedReferenceBase::Get ( Isolate isolate) const
inline

Construct a Local<Data> from this handle.

Here is the call graph for this function:

◆ GetSlotThreadSafe()

const internal::Address * v8::TracedReferenceBase::GetSlotThreadSafe ( ) const
inlineprotected

Get this reference in a thread-safe way

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

◆ IsEmptyThreadSafe()

bool v8::TracedReferenceBase::IsEmptyThreadSafe ( ) const
inline

Returns true if this TracedReference is empty, i.e., has not been assigned an object. This version of IsEmpty is thread-safe.

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

◆ Reset()

void v8::TracedReferenceBase::Reset ( )
inline

If non-empty, destroy the underlying storage cell. |IsEmpty| will return true after this call.

Here is the call graph for this function:

◆ SetSlotThreadSafe()

void v8::TracedReferenceBase::SetSlotThreadSafe ( internal::Address new_val)
inlineprotected

Update this reference in a thread-safe way.

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

Friends And Related Function Documentation

◆ internal::BasicTracedReferenceExtractor

friend class internal::BasicTracedReferenceExtractor
friend

◆ Local

template<typename F >
friend class Local
friend

◆ operator== [1/2]

template<typename U >
bool operator== ( const TracedReferenceBase lhs,
const Local< U > &  rhs 
)
friend

◆ operator== [2/2]

bool operator== ( const TracedReferenceBase lhs,
const TracedReferenceBase rhs 
)
friend

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