![]() |
v8 14.1.146 (node 25.0.0)
V8 is Google's open source JavaScript engine
|
#include <cross-thread-persistent.h>


Data Structures | |
| class | UnsafeCtorTag |
Public Types | |
| using | PointeeType = T |
Friends | |
| class | internal::RootVisitor |
Additional Inherited Members | |
Protected Member Functions inherited from PersistentBase | |
| PersistentBase ()=default | |
| PersistentBase (const void *raw) | |
| const void * | GetValue () const |
| void | SetValue (const void *value) |
| PersistentNode * | GetNode () const |
| void | SetNode (PersistentNode *node) |
| void | ClearFromGC () const |
Protected Attributes inherited from PersistentBase | |
| const void * | raw_ = nullptr |
| PersistentNode * | node_ = nullptr |
Definition at line 71 of file cross-thread-persistent.h.
Definition at line 77 of file cross-thread-persistent.h.
|
inline |
Definition at line 79 of file cross-thread-persistent.h.
References CrossThreadPersistentRegion::FreeNode(), PersistentBase::GetNode(), CrossThreadPersistentBase::GetNodeSafe(), PersistentBase::GetValue(), and PersistentBase::SetNode().
|
inline |
Definition at line 105 of file cross-thread-persistent.h.
|
inline |
Definition at line 108 of file cross-thread-persistent.h.
|
inline |
Definition at line 112 of file cross-thread-persistent.h.
|
inline |
Definition at line 116 of file cross-thread-persistent.h.
References CrossThreadPersistentRegion::AllocateNode(), and PersistentBase::SetNode().
|
inline |
Definition at line 134 of file cross-thread-persistent.h.
References CrossThreadPersistentRegion::AllocateNode(), and PersistentBase::SetNode().
|
inline |
Definition at line 143 of file cross-thread-persistent.h.
|
inline |
Definition at line 151 of file cross-thread-persistent.h.
|
inline |
Definition at line 158 of file cross-thread-persistent.h.
|
inline |
Definition at line 169 of file cross-thread-persistent.h.
|
inlinenoexcept |
Definition at line 177 of file cross-thread-persistent.h.
|
inline |
Clears the stored object.
Definition at line 277 of file cross-thread-persistent.h.
Referenced by BasicCrossThreadPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::operator=(), BasicCrossThreadPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::operator=(), and BasicCrossThreadPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::Release().
|
inline |
Definition at line 340 of file cross-thread-persistent.h.
Conversio to boolean.
Note: Not thread-safe.
Definition at line 302 of file cross-thread-persistent.h.
Conversion to object of type T.
Note: Not thread-safe.
Definition at line 311 of file cross-thread-persistent.h.
Definition at line 319 of file cross-thread-persistent.h.
Dereferences the stored object.
Note: Not thread-safe.
Definition at line 318 of file cross-thread-persistent.h.
|
inline |
Definition at line 203 of file cross-thread-persistent.h.
References BasicCrossThreadPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::Clear(), PersistentBase::GetNode(), and PersistentBase::GetValue().
|
inline |
Definition at line 184 of file cross-thread-persistent.h.
|
inline |
Definition at line 194 of file cross-thread-persistent.h.
|
inline |
Definition at line 232 of file cross-thread-persistent.h.
|
inline |
Assigns the sentinel pointer.
Definition at line 254 of file cross-thread-persistent.h.
|
inline |
Assigns a nullptr.
Definition at line 244 of file cross-thread-persistent.h.
References BasicCrossThreadPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::Clear().
|
inline |
Assigns a raw pointer.
Note: Not thread-safe.
Definition at line 222 of file cross-thread-persistent.h.
|
inline |
Returns a pointer to the stored object and releases it.
Note: Not thread-safe.
Definition at line 289 of file cross-thread-persistent.h.
References BasicCrossThreadPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::Clear().
|
inline |
Definition at line 326 of file cross-thread-persistent.h.
Returns a pointer to the stored object.
Note: Not thread-safe.
Definition at line 270 of file cross-thread-persistent.h.
References PersistentBase::GetValue().
Definition at line 416 of file cross-thread-persistent.h.