proj home

Files   Classes   Functions   Hierarchy  

callbacks.h File Reference

#include <fnobjTfn.h>

Include dependency graph for callbacks.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename A0 , typename T >
fnobj0< A0 > * callback0createnew (T &data, A0(T::*fn)())
 Callback with 0 arguments.
template<typename A0 , typename A1 , typename T >
fnobj1< A0, A1 > * callback1createnew (T &data, A0(T::*fn)(A1))
 Callback with 1 argument.
template<typename A0 , typename A1 , typename A2 , typename T >
fnobj2< A0, A1, A2 > * callback2createnew (T &data, A0(T::*fn)(A1, A2))
 Callback with 2 arguments.
template<typename A0 , typename A1 , typename A2 , typename A3 , typename T >
fnobj3< A0, A1, A2, A3 > * callback3createnew (T &data, A0(T::*fn)(A1, A2, A3))
 Callback with 3 arguments.


Function Documentation

template<typename A0 , typename T >
fnobj0<A0>* callback0createnew ( T data,
A0(T::*)()  fn 
) [inline]

Callback with 0 arguments.

Definition at line 8 of file callbacks.h.

00009 {
00010   return new fnobj0Tfn<T,A0>(data,fn);
00011 }

template<typename A0 , typename A1 , typename T >
fnobj1<A0,A1>* callback1createnew ( T data,
A0(T::*)(A1)  fn 
) [inline]

Callback with 1 argument.

Definition at line 15 of file callbacks.h.

Referenced by menusystemtest04::menusystemtest04().

00016 {
00017   return new fnobj1Tfn<T,A0,A1>(data,fn);
00018 }

template<typename A0 , typename A1 , typename A2 , typename T >
fnobj2<A0,A1,A2>* callback2createnew ( T data,
A0(T::*)(A1, A2)  fn 
) [inline]

Callback with 2 arguments.

Definition at line 22 of file callbacks.h.

00023 {
00024   return new fnobj2Tfn<T,A0,A1,A2>(data,fn);
00025 }

template<typename A0 , typename A1 , typename A2 , typename A3 , typename T >
fnobj3<A0,A1,A2,A3>* callback3createnew ( T data,
A0(T::*)(A1, A2, A3)  fn 
) [inline]

Callback with 3 arguments.

Definition at line 29 of file callbacks.h.

00030 {
00031   return new fnobj3Tfn<T,A0,A1,A2,A3>(data,fn);
00032 }


Generated on Fri Mar 4 00:49:42 2011 for Chelton Evans Source by  doxygen 1.5.8