libcopp  1.2.1
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 109 of file task_actions.h.

Member Typedef Documentation

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

Definition at line 111 of file task_actions.h.

Constructor & Destructor Documentation

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

Definition at line 114 of file task_actions.h.

template<typename Ty >
cotask::task_action_function< Ty >::~task_action_function ( )

Member Function Documentation

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

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)

Implements cotask::impl::task_action_impl.

Definition at line 117 of file task_actions.h.

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

Field Documentation

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

Definition at line 132 of file task_actions.h.

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