libmoost
|
#include <scope_exit.hpp>
Public Types | |
typedef scopedT | scoped_type |
typedef boost::reference_wrapper < scopedT > | policy_type |
typedef void(scoped_type::* | member_func_t )() |
Public Member Functions | |
call_member_function (scoped_type &scoped, member_func_t mf) | |
call_member_function (scoped_type &scoped) | |
void | operator() () const |
Private Attributes | |
member_func_t | mf_ |
Calls a member function of the scoped object. If no member function is specified the void operator()(void) function operator is called
Definition at line 151 of file scope_exit.hpp.
typedef void(scoped_type::* moost::utils::scope_exit::policy::call_member_function< scopedT >::member_func_t)() |
Definition at line 155 of file scope_exit.hpp.
typedef boost::reference_wrapper<scopedT> moost::utils::scope_exit::policy::call_member_function< scopedT >::policy_type |
Definition at line 154 of file scope_exit.hpp.
typedef scopedT moost::utils::scope_exit::policy::call_member_function< scopedT >::scoped_type |
Reimplemented from moost::utils::scope_exit::policy::policy_base< boost::reference_wrapper< scopedT > >.
Definition at line 153 of file scope_exit.hpp.
moost::utils::scope_exit::policy::call_member_function< scopedT >::call_member_function | ( | scoped_type & | scoped, |
member_func_t | mf | ||
) | [inline] |
Definition at line 157 of file scope_exit.hpp.
moost::utils::scope_exit::policy::call_member_function< scopedT >::call_member_function | ( | scoped_type & | scoped | ) | [inline, explicit] |
Definition at line 162 of file scope_exit.hpp.
void moost::utils::scope_exit::policy::call_member_function< scopedT >::operator() | ( | void | ) | const [inline] |
Definition at line 167 of file scope_exit.hpp.
member_func_t moost::utils::scope_exit::policy::call_member_function< scopedT >::mf_ [private] |
Definition at line 177 of file scope_exit.hpp.