libcopp  1.1.0
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
cotask::task_action_functor< Ty > Class Template Reference

#include <task_actions.h>

Inheritance diagram for cotask::task_action_functor< Ty >:
Inheritance graph
Collaboration diagram for cotask::task_action_functor< Ty >:
Collaboration graph

Public Types

typedef Ty value_type
 

Public Member Functions

 task_action_functor (const value_type &functor)
 
 ~task_action_functor ()
 
virtual int operator() (void *priv_data)
 
virtual int on_finished (task_impl &)
 

Static Public Member Functions

static void placement_destroy (void *selfp)
 

Private Attributes

value_type functor_
 

Detailed Description

template<typename Ty>
class cotask::task_action_functor< Ty >

Definition at line 74 of file task_actions.h.

Member Typedef Documentation

template<typename Ty>
typedef Ty cotask::task_action_functor< Ty >::value_type

Definition at line 86 of file task_actions.h.

Constructor & Destructor Documentation

template<typename Ty>
cotask::task_action_functor< Ty >::task_action_functor ( const value_type functor)
inline

Definition at line 87 of file task_actions.h.

template<typename Ty>
cotask::task_action_functor< Ty >::~task_action_functor ( )
inline

Definition at line 89 of file task_actions.h.

Referenced by cotask::task_action_functor< Ty >::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 Ty>
virtual int cotask::task_action_functor< Ty >::operator() ( void *  priv_data)
inlinevirtual
template<typename Ty>
static void cotask::task_action_functor< Ty >::placement_destroy ( void *  selfp)
inlinestatic

Field Documentation

template<typename Ty>
value_type cotask::task_action_functor< Ty >::functor_
private

Definition at line 102 of file task_actions.h.


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