Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Attributes
Nan::AsyncWorker Class Reference

#include <nan.h>

Inheritance diagram for Nan::AsyncWorker:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AsyncWorker (Callback *callback_)
virtual void Destroy ()
virtual void Execute ()=0
v8::Local< v8::Value > GetFromPersistent (const char *key) const
v8::Local< v8::Value > GetFromPersistent (const v8::Local< v8::String > &key) const
v8::Local< v8::Value > GetFromPersistent (uint32_t index) const
void SaveToPersistent (const char *key, const v8::Local< v8::Value > &value)
void SaveToPersistent (const v8::Local< v8::String > &key, const v8::Local< v8::Value > &value)
void SaveToPersistent (uint32_t index, const v8::Local< v8::Value > &value)
virtual void WorkComplete ()
virtual ~AsyncWorker ()

Public Attributes

uv_work_t request

Protected Member Functions

const char * ErrorMessage () const
virtual void HandleErrorCallback ()
virtual void HandleOKCallback ()
void SetErrorMessage (const char *msg)

Protected Attributes

Callbackcallback
Persistent< v8::Object > persistentHandle

Private Attributes

char * errmsg_

Detailed Description

Definition at line 1473 of file nan.h.


Constructor & Destructor Documentation

Nan::AsyncWorker::AsyncWorker ( Callback callback_) [inline, explicit]

Definition at line 1475 of file nan.h.

virtual Nan::AsyncWorker::~AsyncWorker ( ) [inline, virtual]

Definition at line 1484 of file nan.h.


Member Function Documentation

virtual void Nan::AsyncWorker::Destroy ( ) [inline, virtual]

Reimplemented in Nan::AsyncProgressWorkerBase< T >.

Definition at line 1543 of file nan.h.

const char* Nan::AsyncWorker::ErrorMessage ( ) const [inline, protected]

Definition at line 1572 of file nan.h.

virtual void Nan::AsyncWorker::Execute ( ) [pure virtual]
v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent ( const char *  key) const [inline]

Definition at line 1522 of file nan.h.

v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent ( const v8::Local< v8::String > &  key) const [inline]

Definition at line 1529 of file nan.h.

v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent ( uint32_t  index) const [inline]

Definition at line 1534 of file nan.h.

virtual void Nan::AsyncWorker::HandleErrorCallback ( ) [inline, protected, virtual]

Definition at line 1555 of file nan.h.

virtual void Nan::AsyncWorker::HandleOKCallback ( ) [inline, protected, virtual]

Definition at line 1551 of file nan.h.

void Nan::AsyncWorker::SaveToPersistent ( const char *  key,
const v8::Local< v8::Value > &  value 
) [inline]

Definition at line 1504 of file nan.h.

void Nan::AsyncWorker::SaveToPersistent ( const v8::Local< v8::String > &  key,
const v8::Local< v8::Value > &  value 
) [inline]

Definition at line 1510 of file nan.h.

void Nan::AsyncWorker::SaveToPersistent ( uint32_t  index,
const v8::Local< v8::Value > &  value 
) [inline]

Definition at line 1516 of file nan.h.

void Nan::AsyncWorker::SetErrorMessage ( const char *  msg) [inline, protected]

Definition at line 1564 of file nan.h.

virtual void Nan::AsyncWorker::WorkComplete ( ) [inline, virtual]

Definition at line 1493 of file nan.h.


Member Data Documentation

Definition at line 1549 of file nan.h.

char* Nan::AsyncWorker::errmsg_ [private]

Definition at line 1578 of file nan.h.

Definition at line 1548 of file nan.h.

Definition at line 1541 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