Main MRPT website > C++ reference for MRPT 1.5.7
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 269 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 271 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 275 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 272 of file metaprogramming.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019