Page Speed Optimization Libraries
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::RewriteDriverFactory::Deleter< T > Class Template Reference

Helper for users of defer_cleanup; see below. More...

#include "rewrite_driver_factory.h"

Inheritance diagram for net_instaweb::RewriteDriverFactory::Deleter< T >:

Public Member Functions

 Deleter (T *obj)
virtual void Run ()
- Public Member Functions inherited from net_instaweb::Function
void set_quit_requested_pointer (AtomicBool *x)
bool quit_requested () const
void CallRun ()
void CallCancel ()
void set_delete_after_callback (bool x)
void Reset ()

Additional Inherited Members

- Protected Member Functions inherited from net_instaweb::Function
virtual void Cancel ()

Detailed Description

template<class T>
class net_instaweb::RewriteDriverFactory::Deleter< T >

Helper for users of defer_cleanup; see below.

Helper for users of RewriterDriverFactory::defer_cleanup — instantiates into objects that call the appropriate delete operator when Run.

Member Function Documentation

template<class T >
virtual void net_instaweb::RewriteDriverFactory::Deleter< T >::Run ( )

Callers must override this to define the action to take when a closure is run. If this is called, Cancel() should not be called. This is a convention that's expected of callers of Function objects, but is not enforced by the Function implementation.

Implements net_instaweb::Function.

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