casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
casa::functor::f Class Reference

#include <functor.h>

Public Member Functions

 f (const f &other)
 
void operator() (args *a)
 
void operator() (args &a)
 
std::string state () const
 
virtual ~f ()
 

Private Member Functions

 f ()
 
 f (f_ *p)
 
void operator= (const f &)
 

Private Attributes

memory::cptr< f_ptr
 

Friends

template<class C >
f make (C *o, void(C::*i)())
 
template<class C , class P1 >
f make (C *o, void(C::*i)(P1))
 
template<class C , class P1 , class P2 >
f make (C *o, void(C::*i)(P1, P2))
 
template<class C , class P1 , class P2 , class P3 >
f make (C *o, void(C::*i)(P1, P2, P3))
 
template<class C , class P1 , class P2 , class P3 , class P4 >
f make (C *o, void(C::*i)(P1, P2, P3, P4))
 

Detailed Description

Definition at line 100 of file functor.h.

Constructor & Destructor Documentation

casa::functor::f::f ( const f other)
inline

Definition at line 102 of file functor.h.

virtual casa::functor::f::~f ( )
inlinevirtual

Definition at line 106 of file functor.h.

casa::functor::f::f ( )
private
casa::functor::f::f ( f_ p)
inlineprivate

Definition at line 109 of file functor.h.

Member Function Documentation

void casa::functor::f::operator() ( args a)
inline

Definition at line 103 of file functor.h.

References ptr.

void casa::functor::f::operator() ( args a)
inline

Definition at line 104 of file functor.h.

References ptr.

void casa::functor::f::operator= ( const f )
private
std::string casa::functor::f::state ( ) const
inline

Definition at line 105 of file functor.h.

References ptr.

Friends And Related Function Documentation

template<class C >
f make ( C *  o,
void(C::*)()  i 
)
friend

Definition at line 187 of file functor.h.

template<class C , class P1 >
f make ( C *  o,
void(C::*)(P1)  i 
)
friend

Definition at line 189 of file functor.h.

template<class C , class P1 , class P2 >
f make ( C *  o,
void(C::*)(P1, P2)  i 
)
friend

Definition at line 191 of file functor.h.

template<class C , class P1 , class P2 , class P3 >
f make ( C *  o,
void(C::*)(P1, P2, P3)  i 
)
friend

Definition at line 193 of file functor.h.

template<class C , class P1 , class P2 , class P3 , class P4 >
f make ( C *  o,
void(C::*)(P1, P2, P3, P4)  i 
)
friend

Definition at line 195 of file functor.h.

Member Data Documentation

memory::cptr<f_> casa::functor::f::ptr
private

Definition at line 111 of file functor.h.

Referenced by operator()(), and state().


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