libcopp  1.2.1
Namespaces | Data Structures | Typedefs | Enumerations | Functions
cotask Namespace Reference

Namespaces

 core
 
 detail
 
 impl
 
 this_task
 

Data Structures

struct  macro_coroutine
 
struct  macro_task
 
class  task
 
class  task_action_function
 
class  task_action_function< int >
 
class  task_action_functor
 
class  task_action_mem_function
 
class  task_action_mem_function< int, Tc >
 
class  task_manager
 task manager More...
 

Typedefs

typedef void(* placement_destroy_fn_t) (void *)
 

Enumerations

enum  EN_TASK_STATUS {
  EN_TS_INVALID = 0, EN_TS_CREATED, EN_TS_RUNNING, EN_TS_WAITING,
  EN_TS_DONE, EN_TS_CANCELED, EN_TS_KILLED, EN_TS_TIMEOUT
}
 

Functions

template<typename Ty >
void placement_destroy (void *selfp)
 
template<typename Ty >
placement_destroy_fn_t get_placement_destroy (task_action_functor< Ty > *)
 
template<typename Ty >
placement_destroy_fn_t get_placement_destroy (task_action_function< Ty > *)
 
template<typename Ty , typename Tc >
placement_destroy_fn_t get_placement_destroy (task_action_mem_function< Ty, Tc > *)
 
template<typename Ty >
placement_destroy_fn_t get_placement_destroy (Ty *)
 

Detailed Description

standard_new_allocator.h

Created on: 2014年4月1日 Author: owent

Date
2017-05-10 Released under the MIT license

Typedef Documentation

typedef void(* cotask::placement_destroy_fn_t) (void *)

Definition at line 223 of file task_actions.h.

Enumeration Type Documentation

Enumerator
EN_TS_INVALID 
EN_TS_CREATED 
EN_TS_RUNNING 
EN_TS_WAITING 
EN_TS_DONE 
EN_TS_CANCELED 
EN_TS_KILLED 
EN_TS_TIMEOUT 

Definition at line 28 of file task_impl.h.

Function Documentation

template<typename Ty >
placement_destroy_fn_t cotask::get_placement_destroy ( task_action_functor< Ty > *  )
template<typename Ty >
placement_destroy_fn_t cotask::get_placement_destroy ( task_action_function< Ty > *  )

Definition at line 231 of file task_actions.h.

template<typename Ty , typename Tc >
placement_destroy_fn_t cotask::get_placement_destroy ( task_action_mem_function< Ty, Tc > *  )

Definition at line 236 of file task_actions.h.

template<typename Ty >
placement_destroy_fn_t cotask::get_placement_destroy ( Ty *  )

Definition at line 241 of file task_actions.h.

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

Definition at line 214 of file task_actions.h.