Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Private Member Functions | Private Attributes
ObjectWrap Class Reference

#include <nan_object_wrap.h>

Inheritance diagram for ObjectWrap:
Inheritance graph
[legend]

List of all members.

Public Member Functions

v8::Local< v8::Object > handle () const
 ObjectWrap ()
Persistent< v8::Object > & persistent ()
virtual ~ObjectWrap ()

Static Public Member Functions

template<class T >
static T * Unwrap (v8::Local< v8::Object > object)

Protected Member Functions

void MakeWeak ()
virtual void Ref ()
virtual void Unref ()
void Wrap (v8::Local< v8::Object > object)

Protected Attributes

int refs_

Static Private Member Functions

static void WeakCallback (v8::Persistent< v8::Value > value, void *data)

Private Attributes

Persistent< v8::Object > handle_

Detailed Description

Definition at line 12 of file nan_object_wrap.h.


Constructor & Destructor Documentation

ObjectWrap::ObjectWrap ( ) [inline]

Definition at line 14 of file nan_object_wrap.h.

virtual ObjectWrap::~ObjectWrap ( ) [inline, virtual]

Definition at line 19 of file nan_object_wrap.h.


Member Function Documentation

v8::Local<v8::Object> ObjectWrap::handle ( ) const [inline]

Definition at line 42 of file nan_object_wrap.h.

void ObjectWrap::MakeWeak ( ) [inline, protected]

Definition at line 79 of file nan_object_wrap.h.

Persistent<v8::Object>& ObjectWrap::persistent ( ) [inline]

Definition at line 47 of file nan_object_wrap.h.

virtual void ObjectWrap::Ref ( ) [inline, protected, virtual]

Definition at line 90 of file nan_object_wrap.h.

virtual void ObjectWrap::Unref ( ) [inline, protected, virtual]

Definition at line 105 of file nan_object_wrap.h.

template<class T >
static T* ObjectWrap::Unwrap ( v8::Local< v8::Object >  object) [inline, static]

Definition at line 31 of file nan_object_wrap.h.

static void ObjectWrap::WeakCallback ( v8::Persistent< v8::Value >  value,
void *  data 
) [inline, static, private]

Definition at line 142 of file nan_object_wrap.h.

void ObjectWrap::Wrap ( v8::Local< v8::Object >  object) [inline, protected]

Definition at line 53 of file nan_object_wrap.h.


Member Data Documentation

Persistent<v8::Object> ObjectWrap::handle_ [private]

Definition at line 151 of file nan_object_wrap.h.

int ObjectWrap::refs_ [protected]

Definition at line 113 of file nan_object_wrap.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