Kochol Game Engine  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
kge::core::PFunctor3< Treturn, Targ1, Targ2, Targ3 > Class Template Reference

This class is for storing pointer to functions with three argument(s). More...

#include <ptr_fun.h>

Inheritance diagram for kge::core::PFunctor3< Treturn, Targ1, Targ2, Targ3 >:
kge::core::Functor3< Treturn, Targ1, Targ2, Targ3 >

Public Member Functions

 PFunctor3 (Treturn(*_fun)(Targ1, Targ2, Targ3))
 Constructor.
Treturn Call (Targ1 arg1, Targ2 arg2, Targ3 arg3)
 Call the user function with three argument.

Protected Attributes

Treturn(* m_pFun )(Targ1, Targ2, Targ3)

Detailed Description

template<class Treturn, class Targ1, class Targ2, class Targ3>
class kge::core::PFunctor3< Treturn, Targ1, Targ2, Targ3 >

This class is for storing pointer to functions with three argument(s).

Definition at line 128 of file ptr_fun.h.

Constructor & Destructor Documentation

template<class Treturn, class Targ1, class Targ2, class Targ3>
kge::core::PFunctor3< Treturn, Targ1, Targ2, Targ3 >::PFunctor3 ( Treturn(*)(Targ1, Targ2, Targ3)  _fun)
inline

Constructor.

Definition at line 133 of file ptr_fun.h.

Member Function Documentation

template<class Treturn, class Targ1, class Targ2, class Targ3>
Treturn kge::core::PFunctor3< Treturn, Targ1, Targ2, Targ3 >::Call ( Targ1  arg1,
Targ2  arg2,
Targ3  arg3 
)
inlinevirtual

Call the user function with three argument.

Implements kge::core::Functor3< Treturn, Targ1, Targ2, Targ3 >.

Definition at line 139 of file ptr_fun.h.

References kge::core::PFunctor3< Treturn, Targ1, Targ2, Targ3 >::m_pFun.

Member Data Documentation

template<class Treturn, class Targ1, class Targ2, class Targ3>
Treturn(* kge::core::PFunctor3< Treturn, Targ1, Targ2, Targ3 >::m_pFun)(Targ1, Targ2, Targ3)
protected

Pointer to member function

Definition at line 145 of file ptr_fun.h.

Referenced by kge::core::PFunctor3< Treturn, Targ1, Targ2, Targ3 >::Call().


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