Public Member Functions | Private Member Functions | Private Attributes
Nan::Callback Class Reference

#include <nan.h>

List of all members.

Public Member Functions

v8::Local< v8::Value > Call (v8::Local< v8::Object > target, int argc, v8::Local< v8::Value > argv[]) const
v8::Local< v8::Value > Call (int argc, v8::Local< v8::Value > argv[]) const
 Callback ()
 Callback (const v8::Local< v8::Function > &fn)
v8::Local< v8::Function > GetFunction () const
bool IsEmpty () const
bool operator!= (const Callback &other) const
v8::Local< v8::Value > operator() (v8::Local< v8::Object > target, int argc=0, v8::Local< v8::Value > argv[]=0) const
v8::Local< v8::Value > operator() (int argc=0, v8::Local< v8::Value > argv[]=0) const
v8::Local< v8::Function > operator* () const
bool operator== (const Callback &other) const
void Reset (const v8::Local< v8::Function > &fn)
void Reset ()
void SetFunction (const v8::Local< v8::Function > &fn)
 ~Callback ()

Private Member Functions

v8::Local< v8::Value > Call_ (v8::Local< v8::Object > target, int argc, v8::Local< v8::Value > argv[]) const

Private Attributes

Persistent< v8::Function > handle_

Detailed Description

Definition at line 1349 of file nan.h.


Constructor & Destructor Documentation

Definition at line 1351 of file nan.h.

Nan::Callback::Callback ( const v8::Local< v8::Function > &  fn) [inline, explicit]

Definition at line 1353 of file nan.h.

Definition at line 1355 of file nan.h.


Member Function Documentation

v8::Local<v8::Value> Nan::Callback::Call ( v8::Local< v8::Object >  target,
int  argc,
v8::Local< v8::Value >  argv[] 
) const [inline]

Definition at line 1405 of file nan.h.

v8::Local<v8::Value> Nan::Callback::Call ( int  argc,
v8::Local< v8::Value >  argv[] 
) const [inline]

Definition at line 1417 of file nan.h.

v8::Local<v8::Value> Nan::Callback::Call_ ( v8::Local< v8::Object >  target,
int  argc,
v8::Local< v8::Value >  argv[] 
) const [inline, private]

Definition at line 1457 of file nan.h.

v8::Local<v8::Function> Nan::Callback::GetFunction ( ) const [inline]

Definition at line 1396 of file nan.h.

bool Nan::Callback::IsEmpty ( ) const [inline]

Definition at line 1400 of file nan.h.

bool Nan::Callback::operator!= ( const Callback other) const [inline]

Definition at line 1363 of file nan.h.

v8::Local<v8::Value> Nan::Callback::operator() ( v8::Local< v8::Object >  target,
int  argc = 0,
v8::Local< v8::Value >  argv[] = 0 
) const [inline]

Definition at line 1370 of file nan.h.

v8::Local<v8::Value> Nan::Callback::operator() ( int  argc = 0,
v8::Local< v8::Value >  argv[] = 0 
) const [inline]

Definition at line 1377 of file nan.h.

v8::Local<v8::Function> Nan::Callback::operator* ( ) const [inline]

Definition at line 1368 of file nan.h.

bool Nan::Callback::operator== ( const Callback other) const [inline]

Definition at line 1359 of file nan.h.

void Nan::Callback::Reset ( const v8::Local< v8::Function > &  fn) [inline]

Definition at line 1388 of file nan.h.

void Nan::Callback::Reset ( ) [inline]

Definition at line 1392 of file nan.h.

void Nan::Callback::SetFunction ( const v8::Local< v8::Function > &  fn) [inline]

Definition at line 1384 of file nan.h.


Member Data Documentation

Persistent<v8::Function> Nan::Callback::handle_ [private]

Definition at line 1428 of file nan.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