Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::detail::msg_dispatcher Class Reference

Public Types

typedef msg_packet_tag msg_packet
 
typedef void(* timer_proc_type )(thread_t tid)
 
typedef void(* event_proc_type )(Display *, msg_packet_tag &)
 
typedef int(* event_filter_type )(XEvent &, msg_packet_tag &)
 
typedef std::list< msg_packet_tagmsg_queue_type
 

Public Member Functions

 msg_dispatcher (Display *disp)
 
 ~msg_dispatcher ()
 
void set (timer_proc_type timer_proc, event_proc_type event_proc, event_filter_type filter)
 
void insert (Window wd)
 
void erase (Window wd)
 
void dispatch (Window modal)
 
template<typename MsgFilter >
void dispatch (MsgFilter msg_filter_fn)
 

Member Typedef Documentation

typedef int(* nana::detail::msg_dispatcher::event_filter_type)(XEvent &, msg_packet_tag &)
typedef void(* nana::detail::msg_dispatcher::event_proc_type)(Display *, msg_packet_tag &)
typedef void(* nana::detail::msg_dispatcher::timer_proc_type)(thread_t tid)

Constructor & Destructor Documentation

nana::detail::msg_dispatcher::msg_dispatcher ( Display *  disp)
inline
nana::detail::msg_dispatcher::~msg_dispatcher ( )
inline

Member Function Documentation

void nana::detail::msg_dispatcher::dispatch ( Window  modal)
inline
template<typename MsgFilter >
void nana::detail::msg_dispatcher::dispatch ( MsgFilter  msg_filter_fn)
inline
void nana::detail::msg_dispatcher::erase ( Window  wd)
inline
void nana::detail::msg_dispatcher::insert ( Window  wd)
inline
void nana::detail::msg_dispatcher::set ( timer_proc_type  timer_proc,
event_proc_type  event_proc,
event_filter_type  filter 
)
inline