This template encapsulates an unary member function and a single object into a function expecting the parameter of the member function.
Don't use directly. Use the wrapMember function instead.
Definition at line 299 of file metaprogramming.h.
#include <mrpt/utils/metaprogramming.h>
Public Types | |
| typedef U | argument_type |
| typedef T | result_type |
Public Member Functions | |
| UnaryMemberFunctionWrapper (V &o, MemberFunction f) | |
| T | operator() (U p) |
Private Types | |
| typedef T(V::* | MemberFunction )(U) |
Private Attributes | |
| V & | obj |
| MemberFunction | func |
| typedef U mrpt::utils::metaprogramming::UnaryMemberFunctionWrapper< T, U, V >::argument_type |
Definition at line 305 of file metaprogramming.h.
|
private |
Definition at line 301 of file metaprogramming.h.
| typedef T mrpt::utils::metaprogramming::UnaryMemberFunctionWrapper< T, U, V >::result_type |
Definition at line 306 of file metaprogramming.h.
|
inline |
Definition at line 307 of file metaprogramming.h.
|
inline |
Definition at line 308 of file metaprogramming.h.
References mrpt::utils::metaprogramming::UnaryMemberFunctionWrapper< T, U, V >::func, and mrpt::utils::metaprogramming::UnaryMemberFunctionWrapper< T, U, V >::obj.
|
private |
Definition at line 303 of file metaprogramming.h.
Referenced by mrpt::utils::metaprogramming::UnaryMemberFunctionWrapper< T, U, V >::operator()().
|
private |
Definition at line 302 of file metaprogramming.h.
Referenced by mrpt::utils::metaprogramming::UnaryMemberFunctionWrapper< T, U, V >::operator()().
| Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013 |