v8  4.5.103(node4.8.4)
V8 is Google's open source JavaScript engine
WeakCallbackInfo< T > Class Template Reference

#include <v8.h>

Public Types

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

Public Member Functions

 WeakCallbackInfo (Isolate *isolate, T *parameter, void *internal_fields[kInternalFieldsInWeakCallback], Callback *callback)
 
V8_INLINE IsolateGetIsolate () const
 
V8_INLINE T * GetParameter () const
 
V8_INLINE void * GetInternalField (int index) const
 
V8_INLINE V8_DEPRECATE_SOON ("use indexed version", void *GetInternalField1() const)
 
V8_INLINE V8_DEPRECATE_SOON ("use indexed version", void *GetInternalField2() const)
 
bool IsFirstPass () const
 
void SetSecondPassCallback (Callback callback) const
 

Detailed Description

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

Definition at line 404 of file v8.h.

Member Typedef Documentation

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

Definition at line 406 of file v8.h.

Constructor & Destructor Documentation

WeakCallbackInfo ( Isolate isolate,
T *  parameter,
void *  internal_fields[kInternalFieldsInWeakCallback],
Callback callback 
)
inline

Definition at line 408 of file v8.h.

Member Function Documentation

void * GetInternalField ( int  index) const

Definition at line 7138 of file v8.h.

V8_INLINE Isolate* GetIsolate ( ) const
inline

Definition at line 417 of file v8.h.

V8_INLINE T* GetParameter ( ) const
inline

Definition at line 418 of file v8.h.

bool IsFirstPass ( ) const
inline

Definition at line 430 of file v8.h.

void SetSecondPassCallback ( Callback  callback) const
inline

Definition at line 438 of file v8.h.

V8_INLINE V8_DEPRECATE_SOON ( "use indexed version"  ,
void *GetInternalField1()  const 
)
inline

Definition at line 421 of file v8.h.

V8_INLINE V8_DEPRECATE_SOON ( "use indexed version"  ,
void *GetInternalField2()  const 
)
inline

Definition at line 425 of file v8.h.


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