Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
Nan::AsyncProgressWorkerBase< T > Class Template Reference

#include <nan.h>

Inheritance diagram for Nan::AsyncProgressWorkerBase< T >:
Inheritance graph
[legend]

List of all members.

Classes

class  ExecutionProgress

Public Member Functions

 AsyncProgressWorkerBase (Callback *callback_)
virtual void Destroy ()
virtual void Execute (const ExecutionProgress &progress)=0
virtual void HandleProgressCallback (const T *data, size_t size)=0
void WorkProgress ()
virtual ~AsyncProgressWorkerBase ()

Private Member Functions

void Execute ()
void SendProgress_ (const T *data, size_t size)

Static Private Member Functions

static void AsyncClose_ (uv_handle_t *handle)
static NAUV_WORK_CB (AsyncProgress_)

Private Attributes

uv_async_t * async
uv_mutex_t async_lock
T * asyncdata_
size_t asyncsize_

Detailed Description

template<class T>
class Nan::AsyncProgressWorkerBase< T >

Definition at line 1583 of file nan.h.


Constructor & Destructor Documentation

template<class T >
Nan::AsyncProgressWorkerBase< T >::AsyncProgressWorkerBase ( Callback callback_) [inline, explicit]

Definition at line 1585 of file nan.h.

template<class T >
virtual Nan::AsyncProgressWorkerBase< T >::~AsyncProgressWorkerBase ( ) [inline, virtual]

Definition at line 1598 of file nan.h.


Member Function Documentation

template<class T >
static void Nan::AsyncProgressWorkerBase< T >::AsyncClose_ ( uv_handle_t *  handle) [inline, static, private]

Definition at line 1671 of file nan.h.

template<class T >
virtual void Nan::AsyncProgressWorkerBase< T >::Destroy ( ) [inline, virtual]

Reimplemented from Nan::AsyncWorker.

Definition at line 1638 of file nan.h.

template<class T >
virtual void Nan::AsyncProgressWorkerBase< T >::Execute ( const ExecutionProgress progress) [pure virtual]
template<class T >
void Nan::AsyncProgressWorkerBase< T >::Execute ( ) [inline, private, virtual]

Implements Nan::AsyncWorker.

Definition at line 1643 of file nan.h.

template<class T >
virtual void Nan::AsyncProgressWorkerBase< T >::HandleProgressCallback ( const T *  data,
size_t  size 
) [pure virtual]
template<class T >
static Nan::AsyncProgressWorkerBase< T >::NAUV_WORK_CB ( AsyncProgress_  ) [inline, static, private]

Definition at line 1665 of file nan.h.

template<class T >
void Nan::AsyncProgressWorkerBase< T >::SendProgress_ ( const T *  data,
size_t  size 
) [inline, private]

Definition at line 1648 of file nan.h.

template<class T >
void Nan::AsyncProgressWorkerBase< T >::WorkProgress ( ) [inline]

Definition at line 1604 of file nan.h.


Member Data Documentation

template<class T >
uv_async_t* Nan::AsyncProgressWorkerBase< T >::async [private]

Definition at line 1678 of file nan.h.

template<class T >
uv_mutex_t Nan::AsyncProgressWorkerBase< T >::async_lock [private]

Definition at line 1679 of file nan.h.

template<class T >
T* Nan::AsyncProgressWorkerBase< T >::asyncdata_ [private]

Definition at line 1680 of file nan.h.

template<class T >
size_t Nan::AsyncProgressWorkerBase< T >::asyncsize_ [private]

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