Libmacro  0.2
Libmacro is an extensible macro and hotkey library.
mcr_IDispatcher Struct Reference

#include <idispatcher.h>

Public Attributes

struct mcr_contextctx
 
void(* deinit )(struct mcr_IDispatcher *)
 
mcr_IDispatcher_add_fnc add
 
void(* clear )(struct mcr_IDispatcher *)
 
mcr_IDispatcher_dispatch_fnc dispatch
 
mcr_IDispatcher_modify_fnc modifier
 
mcr_IDispatcher_remove_fnc remove
 
void(* trim )(struct mcr_IDispatcher *)
 

Detailed Description

Blocking Dispatcher, dispatches into mcr_DispatchReceiver.

This is just the function table. Other members are intended to exist elsewhere.

Definition at line 91 of file idispatcher.h.

Member Data Documentation

§ add

mcr_IDispatcher_add_fnc mcr_IDispatcher::add

Add to receivers depending on a signal data.

Definition at line 98 of file idispatcher.h.

§ clear

void(* mcr_IDispatcher::clear) (struct mcr_IDispatcher *)

Clear all receivers.

Definition at line 100 of file idispatcher.h.

§ ctx

struct mcr_context* mcr_IDispatcher::ctx

opt

Definition at line 93 of file idispatcher.h.

§ deinit

void(* mcr_IDispatcher::deinit) (struct mcr_IDispatcher *)

Notify being removed.

Definition at line 96 of file idispatcher.h.

§ dispatch

mcr_IDispatcher_dispatch_fnc mcr_IDispatcher::dispatch

Dispatch and return blocking status.

Definition at line 102 of file idispatcher.h.

§ modifier

mcr_IDispatcher_modify_fnc mcr_IDispatcher::modifier

Change modifiers from the given signal.

Definition at line 104 of file idispatcher.h.

§ remove

mcr_IDispatcher_remove_fnc mcr_IDispatcher::remove

Remove given receiver.

Definition at line 106 of file idispatcher.h.

§ trim

void(* mcr_IDispatcher::trim) (struct mcr_IDispatcher *)

Minimize allocated data

Definition at line 108 of file idispatcher.h.


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