Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
v8::BasicTracedReference< T > Class Template Reference

#include <v8-traced-handle.h>

Inheritance diagram for v8::BasicTracedReference< T >:
[legend]
Collaboration diagram for v8::BasicTracedReference< T >:
[legend]

Public Member Functions

Local< T > Get (Isolate *isolate) const
 
template<class S >
BasicTracedReference< S > & As () const
 
- Public Member Functions inherited from v8::TracedReferenceBase
void Reset ()
 
Local< DataGet (Isolate *isolate) const
 
bool IsEmptyThreadSafe () const
 
- Public Member Functions inherited from v8::api_internal::IndirectHandleBase
bool IsEmpty () const
 
void Clear ()
 

Friends

template<typename F >
class Local
 
class Object
 
template<typename F >
class TracedReference
 
template<typename F >
class BasicTracedReference
 
template<typename F >
class ReturnValue
 

Additional Inherited Members

- Protected Member Functions inherited from v8::TracedReferenceBase
 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
 

Detailed Description

template<typename T>
class v8::BasicTracedReference< T >

A traced handle with copy and move semantics. The handle is to be used together as part of GarbageCollected objects (see v8-cppgc.h) or from stack and specifies edges from C++ objects to JavaScript.

The exact semantics are:

Note that the base class cannot be instantiated itself, use |TracedReference| instead.

Member Function Documentation

◆ As()

template<typename T >
template<class S >
BasicTracedReference< S > & v8::BasicTracedReference< T >::As ( ) const
inline

◆ Get()

template<typename T >
Local< T > v8::BasicTracedReference< T >::Get ( Isolate isolate) const
inline

Construct a Local<T> from this handle.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ BasicTracedReference

template<typename T >
template<typename F >
friend class BasicTracedReference
friend

◆ Local

template<typename T >
template<typename F >
friend class Local
friend

◆ Object

template<typename T >
friend class Object
friend

◆ ReturnValue

template<typename T >
template<typename F >
friend class ReturnValue
friend

◆ TracedReference

template<typename T >
template<typename F >
friend class TracedReference
friend

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