Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::type_dispatcher::callback_base Class Reference

The base class for type dispatcher callbacks. More...

#include <type_dispatcher.hpp>

Inheritance diagram for boost::type_dispatcher::callback_base:

Public Member Functions

 callback_base (void *visitor=0, void *tramp=0) BOOST_NOEXCEPT
 
template<typename ValueT >
 callback_base (void *visitor, void(*tramp)(void *, ValueT const &)) BOOST_NOEXCEPT
 

Static Public Member Functions

template<typename VisitorT , typename T >
static void trampoline (void *visitor, T const &value)
 

Protected Attributes

void * m_pVisitor
 
void * m_pTrampoline
 

Detailed Description

The base class for type dispatcher callbacks.

Constructor & Destructor Documentation

boost::type_dispatcher::callback_base::callback_base ( void *  visitor = 0,
void *  tramp = 0 
)
inlineexplicit
template<typename ValueT >
boost::type_dispatcher::callback_base::callback_base ( void *  visitor,
void(*)(void *, ValueT const &)  tramp 
)
inlineexplicit

Member Function Documentation

template<typename VisitorT , typename T >
static void boost::type_dispatcher::callback_base::trampoline ( void *  visitor,
T const &  value 
)
inlinestatic

Member Data Documentation

void* boost::type_dispatcher::callback_base::m_pTrampoline
protected
void* boost::type_dispatcher::callback_base::m_pVisitor
protected

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