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

#include <task_actions.h>

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

Public Types

typedef int(* 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<>
class cotask::task_action_function< int >

Definition at line 133 of file task_actions.h.

Member Typedef Documentation

typedef int(* cotask::task_action_function< int >::value_type) (void *)

Definition at line 135 of file task_actions.h.

Constructor & Destructor Documentation

Definition at line 138 of file task_actions.h.

Definition at line 139 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().

virtual int cotask::task_action_function< int >::operator() ( void *  priv_data)
inlinevirtual

Implements cotask::impl::task_action_impl.

Definition at line 141 of file task_actions.h.

static void cotask::task_action_function< int >::placement_destroy ( void *  selfp)
inlinestatic

Definition at line 143 of file task_actions.h.

References ~task_action_function().

Field Documentation

Definition at line 153 of file task_actions.h.


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