Public Types | Private Types
RTT::internal::UnMember< F > Class Template Reference

#include <UnMember.hpp>

List of all members.

Public Types

typedef
boost::function_types::function_type
< non_member_signature >::type 
type

Private Types

typedef
boost::function_types::components
< F > 
member_signature
typedef boost::mpl::erase
< typename
member_signature::types,
typename boost::mpl::next
< typename boost::mpl::begin
< member_signature >::type >
::type >::type 
non_member_signature

Detailed Description

template<class F>
class RTT::internal::UnMember< F >

This class converts a member function type R (X::)(Args) to a plain function type R (Args) which can be used by a boost::function or similar. If you have a type R(X::*)(Args) ( a function pointer type), use:

 UnMember< boost::remove_pointer<R(X::*)(Args)>::type>::type 

Definition at line 66 of file UnMember.hpp.


Member Typedef Documentation

template<class F>
typedef boost::function_types::components<F> RTT::internal::UnMember< F >::member_signature [private]

Definition at line 68 of file UnMember.hpp.

template<class F>
typedef boost::mpl::erase<typename member_signature::types, typename boost::mpl::next<typename boost::mpl::begin<member_signature>::type>::type>::type RTT::internal::UnMember< F >::non_member_signature [private]

Definition at line 70 of file UnMember.hpp.

template<class F>
typedef boost::function_types::function_type<non_member_signature>::type RTT::internal::UnMember< F >::type

Definition at line 72 of file UnMember.hpp.


The documentation for this class was generated from the following file:


rtt
Author(s): RTT Developers
autogenerated on Fri Sep 9 2016 04:02:20