#include <nan.h>

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_ |
| Nan::AsyncProgressWorkerBase< T >::AsyncProgressWorkerBase | ( | Callback * | callback_ | ) | [inline, explicit] |
| virtual Nan::AsyncProgressWorkerBase< T >::~AsyncProgressWorkerBase | ( | ) | [inline, virtual] |
| static void Nan::AsyncProgressWorkerBase< T >::AsyncClose_ | ( | uv_handle_t * | handle | ) | [inline, static, private] |
| virtual void Nan::AsyncProgressWorkerBase< T >::Destroy | ( | ) | [inline, virtual] |
Reimplemented from Nan::AsyncWorker.
| virtual void Nan::AsyncProgressWorkerBase< T >::Execute | ( | const ExecutionProgress & | progress | ) | [pure virtual] |
| void Nan::AsyncProgressWorkerBase< T >::Execute | ( | ) | [inline, private, virtual] |
Implements Nan::AsyncWorker.
| virtual void Nan::AsyncProgressWorkerBase< T >::HandleProgressCallback | ( | const T * | data, |
| size_t | size | ||
| ) | [pure virtual] |
| static Nan::AsyncProgressWorkerBase< T >::NAUV_WORK_CB | ( | AsyncProgress_ | ) | [inline, static, private] |
| void Nan::AsyncProgressWorkerBase< T >::SendProgress_ | ( | const T * | data, |
| size_t | size | ||
| ) | [inline, private] |
| void Nan::AsyncProgressWorkerBase< T >::WorkProgress | ( | ) | [inline] |
uv_async_t* Nan::AsyncProgressWorkerBase< T >::async [private] |
uv_mutex_t Nan::AsyncProgressWorkerBase< T >::async_lock [private] |
T* Nan::AsyncProgressWorkerBase< T >::asyncdata_ [private] |
size_t Nan::AsyncProgressWorkerBase< T >::asyncsize_ [private] |