Logo Search packages:      
Sourcecode: pan version File versions  Download package

Classes | Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends

pan::WorkerPool::Worker Class Reference

Inheritance diagram for pan::WorkerPool::Worker:
Inheritance graph
[legend]
Collaboration diagram for pan::WorkerPool::Worker:
Collaboration graph
[legend]

List of all members.

Classes

struct  Listener

Public Member Functions

virtual void cancel ()
void cancel_silently ()
virtual bool was_cancelled () const

Protected Member Functions

virtual void do_work ()=0

Private Member Functions

void main_thread_cleanup ()

Static Private Member Functions

static gboolean main_thread_cleanup_cb (gpointer worker)
static void worker_thread_func (gpointer worker, gpointer unused)

Private Attributes

volatile bool cancelled
bool delete_worker
Listenerlistener
WorkerPoolpool
volatile bool silent

Friends

class WorkerPool

Detailed Description

Definition at line 60 of file worker-pool.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index