Public Types | Public Member Functions | Static Private Member Functions | Private Attributes | Friends
WeakCallbackInfo< T > Class Template Reference

#include <nan_weak.h>

List of all members.

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 WeakCallbackInfounwrap (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

Detailed Description

template<typename T>
class WeakCallbackInfo< T >

Definition at line 48 of file nan_weak.h.


Member Typedef Documentation

template<typename T>
typedef void(* WeakCallbackInfo< T >::Callback)(const WeakCallbackInfo< T > &data)

Definition at line 50 of file nan_weak.h.


Constructor & Destructor Documentation

template<typename T>
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.


Member Function Documentation

template<typename T>
void* WeakCallbackInfo< T >::GetInternalField ( int  index) const [inline]

Definition at line 64 of file nan_weak.h.

template<typename T>
v8::Isolate* WeakCallbackInfo< T >::GetIsolate ( ) const [inline]

Definition at line 62 of file nan_weak.h.

template<typename T>
T* WeakCallbackInfo< T >::GetParameter ( ) const [inline]

Definition at line 63 of file nan_weak.h.

template<typename T >
void WeakCallbackInfo< T >::invoke ( NAN_WEAK_CALLBACK_SIG_  data) [static, private]

Definition at line 233 of file nan_weak.h.

template<typename T >
WeakCallbackInfo< T > * WeakCallbackInfo< T >::unwrap ( NAN_WEAK_CALLBACK_DATA_TYPE_  data) [static, private]

Definition at line 242 of file nan_weak.h.


Friends And Related Function Documentation

template<typename T>
friend class Persistent [friend]

Definition at line 80 of file nan_weak.h.

template<typename T>
friend class PersistentBase [friend]

Definition at line 81 of file nan_weak.h.


Member Data Documentation

template<typename T>
Callback WeakCallbackInfo< T >::callback_ [private]

Definition at line 75 of file nan_weak.h.

template<typename T>
void* WeakCallbackInfo< T >::internal_fields_[kInternalFieldsInWeakCallback] [private]

Definition at line 78 of file nan_weak.h.

template<typename T>
v8::Isolate* WeakCallbackInfo< T >::isolate_ [private]

Definition at line 76 of file nan_weak.h.

template<typename T>
void* WeakCallbackInfo< T >::parameter_ [private]

Definition at line 77 of file nan_weak.h.

template<typename T>
v8::Persistent<v8::Value> WeakCallbackInfo< T >::persistent_ [private]

Definition at line 79 of file nan_weak.h.


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


dji_ronin
Author(s):
autogenerated on Sat Jun 8 2019 20:15:32