Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Functions
function.h File Reference
#include "pagespeed/kernel/base/atomic_bool.h"
#include "pagespeed/kernel/base/basictypes.h"

Go to the source code of this file.

Classes

class  net_instaweb::Function
 
class  net_instaweb::MemberFunctionBase< C >
 
class  net_instaweb::MemberFunction0< C >
 Captures a delayed call to a 0-arg member function as a closure. More...
 
class  net_instaweb::MemberFunction1< C, T1 >
 Captures a delayed call to a 1-arg member function as a closure. More...
 
class  net_instaweb::MemberFunction2< C, T1, T2 >
 Captures a delayed call to a 2-arg member function as a closure. More...
 
class  net_instaweb::MemberFunction3< C, T1, T2, T3 >
 Captures a delayed call to a 3-arg member function as a closure. More...
 
class  net_instaweb::MemberFunction4< C, T1, T2, T3, T4 >
 Captures a delayed call to a 4-arg member function as a closure. More...
 

Namespaces

 net_instaweb
 Unit-test framework for wget fetcher.
 

Macros

#define CALL_MEMBER_FN(object, ptrToMember)   ((this->object)->*(ptrToMember))
 

Functions

template<class C >
Function * net_instaweb::MakeFunction (C *object, void(C::*run)())
 Makes a Function* that calls a 0-arg class method.
 
template<class C >
Function * net_instaweb::MakeFunction (C *object, void(C::*run)(), void(C::*cancel)())
 
template<class C , class T >
Function * net_instaweb::MakeFunction (C *object, void(C::*run)(T), T t)
 Makes a Function* that calls a 1-arg class method.
 
template<class C , class T >
Function * net_instaweb::MakeFunction (C *object, void(C::*run)(T), void(C::*cancel)(T), T t)
 
template<class C , class T , class U >
Function * net_instaweb::MakeFunction (C *object, void(C::*run)(T, U), T t, U u)
 Makes a Function* that calls a 2-arg class method.
 
template<class C , class T , class U >
Function * net_instaweb::MakeFunction (C *object, void(C::*run)(T, U), void(C::*cancel)(T, U), T t, U u)
 
template<class C , class T , class U , class V >
Function * net_instaweb::MakeFunction (C *object, void(C::*run)(T, U, V), T t, U u, V v)
 Makes a Function* that calls a 3-arg class method.
 
template<class C , class T , class U , class V >
Function * net_instaweb::MakeFunction (C *object, void(C::*run)(T, U, V), void(C::*cancel)(T, U, V), T t, U u, V v)
 
template<class C , class T , class U , class V , class W >
Function * net_instaweb::MakeFunction (C *object, void(C::*run)(T, U, V, W), T t, U u, V v, W w)
 Makes a Function* that calls a 4-arg class method.
 
template<class C , class T , class U , class V , class W >
Function * net_instaweb::MakeFunction (C *object, void(C::*run)(T, U, V, W), void(C::*cancel)(T, U, V, W), T t, U u, V v, W w)
 

Macro Definition Documentation

#define CALL_MEMBER_FN (   object,
  ptrToMember 
)    ((this->object)->*(ptrToMember))

A Macro is recommended for making a readable call to a pointer-to-member function per section 33.6 of http://www.parashift.com/c++-faq-lite/pointers-to-members.html