Public Member Functions | Public Attributes | List of all members
boost::function_base Class Reference

#include <function_base.hpp>

Inheritance diagram for boost::function_base:
Inheritance graph
[legend]

Public Member Functions

template<typename F >
bool contains (const F &f) const
 
bool empty () const
 
 function_base ()
 
detail::function::vtable_baseget_vtable () const
 
bool has_trivial_copy_and_destroy () const
 
template<typename Functor >
Functor * target ()
 
template<typename Functor >
const Functor * target () const
 
const detail::sp_typeinfotarget_type () const
 

Public Attributes

detail::function::function_buffer functor
 
detail::function::vtable_basevtable
 

Detailed Description

The function_base class contains the basic elements needed for the function1, function2, function3, etc. classes. It is common to all functions (and as such can be used to tell if we have one of the functionN objects).

Definition at line 630 of file function_base.hpp.

Constructor & Destructor Documentation

boost::function_base::function_base ( )
inline

Definition at line 633 of file function_base.hpp.

Member Function Documentation

template<typename F >
bool boost::function_base::contains ( const F &  f) const
inline

Definition at line 680 of file function_base.hpp.

bool boost::function_base::empty ( void  ) const
inline

Determine if the function is empty (i.e., has no target).

Definition at line 636 of file function_base.hpp.

detail::function::vtable_base* boost::function_base::get_vtable ( ) const
inline

Definition at line 714 of file function_base.hpp.

bool boost::function_base::has_trivial_copy_and_destroy ( ) const
inline

Definition at line 719 of file function_base.hpp.

template<typename Functor >
Functor* boost::function_base::target ( )
inline

Definition at line 650 of file function_base.hpp.

template<typename Functor >
const Functor* boost::function_base::target ( ) const
inline

Definition at line 664 of file function_base.hpp.

const detail::sp_typeinfo& boost::function_base::target_type ( ) const
inline

Retrieve the type of the stored function object, or BOOST_SP_TYPEID(void) if this is empty.

Definition at line 640 of file function_base.hpp.

Member Data Documentation

detail::function::function_buffer boost::function_base::functor
mutable

Definition at line 724 of file function_base.hpp.

detail::function::vtable_base* boost::function_base::vtable

Definition at line 723 of file function_base.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:33