39#include "../compiler/compiler.h"
45#define __PLOOC_CLASS_USE_STRICT_TEMPLATE__
47#if defined(__VSF_DELEGATE_CLASS_IMPLEMENT)
48# define __PLOOC_CLASS_IMPLEMENT__
49# undef __VSF_DELEGATE_CLASS_IMPLEMENT
50#elif defined(__VSF_DELEGATE_CLASS_INHERIT__)
51# define __PLOOC_CLASS_INHERIT__
52# undef __VSF_DELEGATE_CLASS_INHERIT__
55#include "../ooc_class.h"
62#define EVENT_RT_UNREGISTER 4
77 delegate_handler_t *next_ptr;
80end_def_class(delegate_handler_t)
88 delegate_handler_t *event_ptr;
89 delegate_handler_t *blocked_list_ptr;
90 delegate_handler_t **handler_pptr;
93end_def_class(delegate_t)
113extern delegate_handler_t *delegate_handler_init(
114 delegate_handler_t *handler_ptr,
123extern
vsf_err_t register_delegate_handler( delegate_t *event_ptr,
124 delegate_handler_t *handler_ptr);
131extern
vsf_err_t unregister_delegate_handler( delegate_t *event_ptr,
132 delegate_handler_t *handler_ptr);
139extern
fsm_rt_t invoke_delegate( delegate_t *event_ptr,
void *param_ptr);
vsf_err_t
Definition __type.h:42
delegate_t * delegate_init(delegate_t *event_ptr)
initialize event !
Definition delegate.c:62
fsm_rt_t delegate_handler_func_t(void *arg_ptr, void *param_ptr)
Definition delegate.h:67
fsm_rt_t
Definition vsf_fsm.h:315
def_class(vsf_stream_fifo_t, which(vsf_stream_tx_t TX;vsf_stream_rx_t RX;), private:vsf_slist_queue_t union { vsf_stream_fifo_cfg_t cfg;struct { vsf_stream_dat_rdy_evt_t tDataReadyEventHandling;vsf_stream_dat_drn_evt_t tDataDrainEventHandling;vsf_stream_status_t Status;#if !defined(VSF_PBUF_QUEUE_CFG_ATOM_ACCESS) vsf_protect_region_t *pregion;#endif };};) end_def_class(vsf_stream_fifo_t) extern vsf_err_t vsf_stream_fifo_init(vsf_stream_fifo_t *obj_ptr
dcl_class(vsf_pool_t) typedef void vsf_pool_item_init_evt_handler_t(uintptr_t target_ptr