Scale Stack 0.3 Developer Documentation

scalestack::event::handler_provider Class Reference

#include <handler.h>

Inheritance diagram for scalestack::event::handler_provider:
scalestack::event::libevent::handler_provider

Public Member Functions

 handler_provider (kernel::module &module, handler *handler)
virtual ~handler_provider ()
virtual void start (void)=0
virtual void stop (void)=0
virtual void set_timer (uint64_t milliseconds)=0
virtual void set_file_descriptor (int file_descriptor)=0
virtual void watch_read (void)=0
virtual void watch_write (void)=0
virtual void run_now (void)=0

Protected Member Functions

void _stop (void)

Protected Attributes

kernel::module_module
handler_handler

Private Member Functions

 handler_provider (const handler_provider &)
handler_provideroperator= (const handler_provider &)

Detailed Description

This is the base class for classes that provide event handlers. Instances of this class are bound to handler instances to provide the implementation.

Definition at line 188 of file handler.h.


Constructor & Destructor Documentation

scalestack::event::handler_provider::handler_provider ( kernel::module module,
handler handler 
) [inline]

Definition at line 352 of file handler.h.

scalestack::event::handler_provider::~handler_provider (  )  [inline, virtual]

Reimplemented in scalestack::event::libevent::handler_provider.

Definition at line 359 of file handler.h.

scalestack::event::handler_provider::handler_provider ( const handler_provider  )  [private]

Don't allow copying of objects.


Member Function Documentation

virtual void scalestack::event::handler_provider::start ( void   )  [pure virtual]
virtual void scalestack::event::handler_provider::stop ( void   )  [pure virtual]
virtual void scalestack::event::handler_provider::set_timer ( uint64_t  milliseconds  )  [pure virtual]
virtual void scalestack::event::handler_provider::set_file_descriptor ( int  file_descriptor  )  [pure virtual]
virtual void scalestack::event::handler_provider::watch_read ( void   )  [pure virtual]
virtual void scalestack::event::handler_provider::watch_write ( void   )  [pure virtual]
virtual void scalestack::event::handler_provider::run_now ( void   )  [pure virtual]
void scalestack::event::handler_provider::_stop ( void   )  [inline, protected]

See handler::_stop().

Definition at line 367 of file handler.h.

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

Don't allow assignment of objects.


Field Documentation

Definition at line 238 of file handler.h.

Definition at line 239 of file handler.h.


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