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

#include <task_actions.h>

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

Public Types

typedef int 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 Tc>
class cotask::task_action_mem_function< int, Tc >

Definition at line 186 of file task_actions.h.

Member Typedef Documentation

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

Definition at line 188 of file task_actions.h.

Constructor & Destructor Documentation

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

Definition at line 191 of file task_actions.h.

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

Definition at line 192 of file task_actions.h.

Referenced by placement_destroy().

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 Tc >
virtual int cotask::task_action_mem_function< int, Tc >::operator() ( void *  priv_data)
inlinevirtual

Implements cotask::impl::task_action_impl.

Definition at line 194 of file task_actions.h.

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

Definition at line 196 of file task_actions.h.

References ~task_action_mem_function().

Field Documentation

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

Definition at line 206 of file task_actions.h.

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

Definition at line 205 of file task_actions.h.


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