libmoost
moost::utils::scope_exit::policy::call_member_function< scopedT * > Struct Template Reference

specialisation of call_member_function for "this" pointers More...

#include <scope_exit.hpp>

Inheritance diagram for moost::utils::scope_exit::policy::call_member_function< scopedT * >:
Collaboration diagram for moost::utils::scope_exit::policy::call_member_function< scopedT * >:

List of all members.

Public Types

typedef scopedT * scoped_type
typedef scoped_type policy_type
typedef void(scopedT::* 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_

Detailed Description

template<typename scopedT>
struct moost::utils::scope_exit::policy::call_member_function< scopedT * >

specialisation of call_member_function for "this" pointers

Definition at line 183 of file scope_exit.hpp.


Member Typedef Documentation

template<typename scopedT >
typedef void(scopedT::* moost::utils::scope_exit::policy::call_member_function< scopedT * >::member_func_t)()

Definition at line 187 of file scope_exit.hpp.

template<typename scopedT >
typedef scoped_type moost::utils::scope_exit::policy::call_member_function< scopedT * >::policy_type

Definition at line 186 of file scope_exit.hpp.

template<typename scopedT >
typedef scopedT* moost::utils::scope_exit::policy::call_member_function< scopedT * >::scoped_type

Reimplemented from moost::utils::scope_exit::policy::policy_base< scopedT * >.

Definition at line 185 of file scope_exit.hpp.


Constructor & Destructor Documentation

template<typename scopedT >
moost::utils::scope_exit::policy::call_member_function< scopedT * >::call_member_function ( scoped_type  scoped,
member_func_t  mf 
) [inline]

Definition at line 189 of file scope_exit.hpp.

template<typename scopedT >
moost::utils::scope_exit::policy::call_member_function< scopedT * >::call_member_function ( scoped_type  scoped) [inline, explicit]

Definition at line 194 of file scope_exit.hpp.


Member Function Documentation

template<typename scopedT >
void moost::utils::scope_exit::policy::call_member_function< scopedT * >::operator() ( void  ) const [inline]

Definition at line 199 of file scope_exit.hpp.


Member Data Documentation

template<typename scopedT >
member_func_t moost::utils::scope_exit::policy::call_member_function< scopedT * >::mf_ [private]

Definition at line 209 of file scope_exit.hpp.


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