Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Public Member Functions | Private Types | Private Attributes
mrpt::utils::metaprogramming::MemberFunctionWrapper< T, V > Class Template Reference

Detailed Description

template<typename T, typename V>
class mrpt::utils::metaprogramming::MemberFunctionWrapper< T, V >

This template encapsulates a member function without arguments and a single object into a function.

Don't use directly. Use the wrapMember function instead.

Definition at line 328 of file metaprogramming.h.

#include <mrpt/utils/metaprogramming.h>

Public Member Functions

 MemberFunctionWrapper (V &o, MemberFunction f)
 
operator() ()
 

Private Types

typedef T(V::* MemberFunction) (void)
 

Private Attributes

V & obj
 
MemberFunction func
 

Member Typedef Documentation

◆ MemberFunction

template<typename T, typename V>
typedef T(V::* mrpt::utils::metaprogramming::MemberFunctionWrapper< T, V >::MemberFunction) (void)
private

Definition at line 331 of file metaprogramming.h.

Constructor & Destructor Documentation

◆ MemberFunctionWrapper()

template<typename T, typename V>
mrpt::utils::metaprogramming::MemberFunctionWrapper< T, V >::MemberFunctionWrapper ( V &  o,
MemberFunction  f 
)
inline

Definition at line 336 of file metaprogramming.h.

Member Function Documentation

◆ operator()()

template<typename T, typename V>
T mrpt::utils::metaprogramming::MemberFunctionWrapper< T, V >::operator() ( )
inline

Member Data Documentation

◆ func

template<typename T, typename V>
MemberFunction mrpt::utils::metaprogramming::MemberFunctionWrapper< T, V >::func
private

◆ obj

template<typename T, typename V>
V& mrpt::utils::metaprogramming::MemberFunctionWrapper< T, V >::obj
private

Definition at line 332 of file metaprogramming.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019