libcopp  1.2.0
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
cotask::task_action_mem_function< Ty, Tc > Class Template Reference

#include <task_actions.h>

Inheritance diagram for cotask::task_action_mem_function< Ty, Tc >:
Inheritance graph
Collaboration diagram for cotask::task_action_mem_function< Ty, Tc >:
Collaboration graph

Public Types

typedef Ty Tc::* value_type
 

Public Member Functions

 task_action_mem_function (value_type func, Tc *inst)
 
 ~task_action_mem_function ()
 
virtual int operator() (void *priv_data)
 
virtual int on_finished (task_impl &)
 

Static Public Member Functions

static void placement_destroy (void *selfp)
 

Private Attributes

Tc * instacne_
 
value_type func_
 

Detailed Description

template<typename Ty, typename Tc>
class cotask::task_action_mem_function< Ty, Tc >

Definition at line 161 of file task_actions.h.

Member Typedef Documentation

template<typename Ty , typename Tc >
typedef Ty Tc::* cotask::task_action_mem_function< Ty, Tc >::value_type

Definition at line 163 of file task_actions.h.

Constructor & Destructor Documentation

template<typename Ty , typename Tc >
cotask::task_action_mem_function< Ty, Tc >::task_action_mem_function ( value_type  func,
Tc *  inst 
)
inline

Definition at line 166 of file task_actions.h.

template<typename Ty , typename Tc >
cotask::task_action_mem_function< Ty, Tc >::~task_action_mem_function ( )
inline

Member Function Documentation

virtual int cotask::impl::task_action_impl::on_finished ( task_impl )
inlinevirtualinherited

Definition at line 24 of file task_action_impl.h.

Referenced by cotask::impl::task_impl::_notify_finished().

template<typename Ty , typename Tc >
virtual int cotask::task_action_mem_function< Ty, Tc >::operator() ( void *  priv_data)
inlinevirtual

Implements cotask::impl::task_action_impl.

Definition at line 169 of file task_actions.h.

template<typename Ty , typename Tc >
static void cotask::task_action_mem_function< Ty, Tc >::placement_destroy ( void *  selfp)
inlinestatic

Field Documentation

template<typename Ty , typename Tc >
value_type cotask::task_action_mem_function< Ty, Tc >::func_
private

Definition at line 185 of file task_actions.h.

template<typename Ty , typename Tc >
Tc* cotask::task_action_mem_function< Ty, Tc >::instacne_
private

Definition at line 184 of file task_actions.h.


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