This template encapsulates a binary member function and a single object into a function expecting the two parameters of the member function.
Don't use directly. Use the wrapMember function instead to avoid explicit template instantiation.
Definition at line 277 of file metaprogramming.h.
#include <mrpt/utils/metaprogramming.h>
Public Types | |
typedef U1 | first_argument_type |
typedef U2 | second_argument_type |
typedef T | result_type |
Public Member Functions | |
BinaryMemberFunctionWrapper (V &o, MemberFunction f) | |
T | operator() (U1 p1, U2 p2) |
Private Types | |
typedef T(V::* | MemberFunction )(U1, U2) |
Private Attributes | |
V & | obj |
MemberFunction | func |
typedef U1 mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::first_argument_type |
Definition at line 283 of file metaprogramming.h.
typedef T(V::* mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::MemberFunction)(U1, U2) [private] |
Definition at line 279 of file metaprogramming.h.
typedef T mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::result_type |
Definition at line 285 of file metaprogramming.h.
typedef U2 mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::second_argument_type |
Definition at line 284 of file metaprogramming.h.
mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::BinaryMemberFunctionWrapper | ( | V & | o, |
MemberFunction | f | ||
) | [inline] |
Definition at line 286 of file metaprogramming.h.
T mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::operator() | ( | U1 | p1, |
U2 | p2 | ||
) | [inline] |
Definition at line 287 of file metaprogramming.h.
References mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::func, and mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::obj.
MemberFunction mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::func [private] |
Definition at line 281 of file metaprogramming.h.
Referenced by mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::operator()().
V& mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::obj [private] |
Definition at line 280 of file metaprogramming.h.
Referenced by mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::operator()().
Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:16:28 UTC 2011 |