Scale Stack 0.3 Developer Documentation

scalestack::event::libevent::service Class Reference

#include <service.h>

Inheritance diagram for scalestack::event::libevent::service:
scalestack::event::service scalestack::kernel::service

Public Member Functions

 service (kernel::module &module)
 ~service ()

Private Types

typedef std::vector< thread * > threads

Private Member Functions

 service (const service &)
serviceoperator= (const service &)
event::handler_provider_add_handler (handler *handler)
void _remove_threads (void)

Private Attributes

size_t _current_thread
threads _threads

Detailed Description

Definition at line 40 of file service.h.


Member Typedef Documentation

typedef std::vector<thread*> scalestack::event::libevent::service::threads [private]

Definition at line 75 of file service.h.


Constructor & Destructor Documentation

scalestack::event::libevent::service::service ( kernel::module module  ) 

Add the number of threads specified in the "threads" option.

Parameters:
[in] module Module that the service is associated with.

Reimplemented from scalestack::event::service.

Definition at line 50 of file service.cc.

scalestack::event::libevent::service::~service (  )  [virtual]

Reimplemented from scalestack::event::service.

Definition at line 81 of file service.cc.

scalestack::event::libevent::service::service ( const service  )  [private]

Don't allow copying of objects.


Member Function Documentation

service& scalestack::event::libevent::service::operator= ( const service  )  [private]

Don't allow assignment of objects.

event::handler_provider * scalestack::event::libevent::service::_add_handler ( handler handler  )  [private, virtual]

See event::service::_add_handler().

Implements scalestack::event::service.

Definition at line 90 of file service.cc.

void scalestack::event::libevent::service::_remove_threads ( void   )  [private]

Remove all threads that were created in the constructor.

Definition at line 98 of file service.cc.


Field Documentation

Definition at line 77 of file service.h.

Definition at line 78 of file service.h.


The documentation for this class was generated from the following files:
Generated on Thu Feb 17 13:10:22 2011 by  doxygen 1.6.3