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

#include <task_actions.h>

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

Public Types

typedef Ty(* value_type) (void *)
 

Public Member Functions

 task_action_function (value_type func)
 
 ~task_action_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

value_type func_
 

Detailed Description

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

Definition at line 107 of file task_actions.h.

Member Typedef Documentation

template<typename Ty>
typedef Ty(* cotask::task_action_function< Ty >::value_type) (void *)

Definition at line 109 of file task_actions.h.

Constructor & Destructor Documentation

template<typename Ty>
cotask::task_action_function< Ty >::task_action_function ( value_type  func)
inline

Definition at line 112 of file task_actions.h.

template<typename Ty>
cotask::task_action_function< Ty >::~task_action_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>
virtual int cotask::task_action_function< Ty >::operator() ( void *  priv_data)
inlinevirtual

Implements cotask::impl::task_action_impl.

Definition at line 115 of file task_actions.h.

template<typename Ty>
static void cotask::task_action_function< Ty >::placement_destroy ( void *  selfp)
inlinestatic

Field Documentation

template<typename Ty>
value_type cotask::task_action_function< Ty >::func_
private

Definition at line 129 of file task_actions.h.


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