Public Member Functions | Friends | List of all members
v8::BasicTracedReference< T > Class Template Reference

#include <v8.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
 
T * operator-> () const
 
T * operator* () const
 
- Public Member Functions inherited from v8::TracedReferenceBase
bool IsEmpty () const
 
void Reset ()
 
v8::Local< v8::ValueGet (v8::Isolate *isolate) const
 
bool IsEmptyThreadSafe () const
 
void SetWrapperClassId (uint16_t class_id)
 
uint16_t WrapperClassId () const
 

Friends

class EmbedderHeapTracer
 
template<typename F >
class Local
 
class Object
 
template<typename F >
class TracedGlobal
 
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
void SetSlotThreadSafe (void *new_val)
 
const void * GetSlotThreadSafe () const
 
- Protected Attributes inherited from v8::TracedReferenceBase
internal::Addressval_ = nullptr
 

Detailed Description

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

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

The exact semantics are:

Note that the base class cannot be instantiated itself. Choose from

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:

◆ operator*()

template<typename T >
T* v8::BasicTracedReference< T >::operator* ( ) const
inline

◆ operator->()

template<typename T >
T* v8::BasicTracedReference< T >::operator-> ( ) const
inline

Friends And Related Function Documentation

◆ BasicTracedReference

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

◆ EmbedderHeapTracer

template<typename T >
friend class EmbedderHeapTracer
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

◆ TracedGlobal

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

◆ TracedReference

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

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