#include <nan_weak.h>
Public Types | |
typedef void(* | Callback )(const WeakCallbackInfo< T > &data) |
Public Member Functions | |
void * | GetInternalField (int index) const |
v8::Isolate * | GetIsolate () const |
T * | GetParameter () const |
WeakCallbackInfo (Persistent< v8::Value > *persistent, Callback callback, void *parameter, void *field1=0, void *field2=0) | |
Static Private Member Functions | |
static void | invoke (NAN_WEAK_CALLBACK_SIG_ data) |
static WeakCallbackInfo * | unwrap (NAN_WEAK_CALLBACK_DATA_TYPE_ data) |
Private Attributes | |
Callback | callback_ |
void * | internal_fields_ [kInternalFieldsInWeakCallback] |
v8::Isolate * | isolate_ |
void * | parameter_ |
v8::Persistent< v8::Value > | persistent_ |
Friends | |
class | Persistent |
class | PersistentBase |
Definition at line 48 of file nan_weak.h.
typedef void(* WeakCallbackInfo< T >::Callback)(const WeakCallbackInfo< T > &data) |
Definition at line 50 of file nan_weak.h.
WeakCallbackInfo< T >::WeakCallbackInfo | ( | Persistent< v8::Value > * | persistent, |
Callback | callback, | ||
void * | parameter, | ||
void * | field1 = 0 , |
||
void * | field2 = 0 |
||
) | [inline] |
Definition at line 51 of file nan_weak.h.
void* WeakCallbackInfo< T >::GetInternalField | ( | int | index | ) | const [inline] |
Definition at line 64 of file nan_weak.h.
v8::Isolate* WeakCallbackInfo< T >::GetIsolate | ( | ) | const [inline] |
Definition at line 62 of file nan_weak.h.
T* WeakCallbackInfo< T >::GetParameter | ( | ) | const [inline] |
Definition at line 63 of file nan_weak.h.
void WeakCallbackInfo< T >::invoke | ( | NAN_WEAK_CALLBACK_SIG_ | data | ) | [static, private] |
Definition at line 233 of file nan_weak.h.
WeakCallbackInfo< T > * WeakCallbackInfo< T >::unwrap | ( | NAN_WEAK_CALLBACK_DATA_TYPE_ | data | ) | [static, private] |
Definition at line 242 of file nan_weak.h.
friend class Persistent [friend] |
Definition at line 80 of file nan_weak.h.
friend class PersistentBase [friend] |
Definition at line 81 of file nan_weak.h.
Callback WeakCallbackInfo< T >::callback_ [private] |
Definition at line 75 of file nan_weak.h.
void* WeakCallbackInfo< T >::internal_fields_[kInternalFieldsInWeakCallback] [private] |
Definition at line 78 of file nan_weak.h.
v8::Isolate* WeakCallbackInfo< T >::isolate_ [private] |
Definition at line 76 of file nan_weak.h.
void* WeakCallbackInfo< T >::parameter_ [private] |
Definition at line 77 of file nan_weak.h.
v8::Persistent<v8::Value> WeakCallbackInfo< T >::persistent_ [private] |
Definition at line 79 of file nan_weak.h.