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 251 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 257 of file metaprogramming.h.
|
private |
Definition at line 253 of file metaprogramming.h.
typedef T mrpt::utils::metaprogramming::UnaryMemberFunctionWrapper< T, U, V >::result_type |
Definition at line 258 of file metaprogramming.h.
|
inline |
Definition at line 259 of file metaprogramming.h.
|
inline |
Definition at line 260 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 255 of file metaprogramming.h.
Referenced by mrpt::utils::metaprogramming::UnaryMemberFunctionWrapper< T, U, V >::operator()().
|
private |
Definition at line 254 of file metaprogramming.h.
Referenced by mrpt::utils::metaprogramming::UnaryMemberFunctionWrapper< T, U, V >::operator()().
Page generated by Doxygen 1.8.14 for MRPT 1.4.0 SVN: at Mon Mar 5 22:51:34 UTC 2018 |