gr_dispatcher Class Reference

#include <gr_dispatcher.h>

List of all members.


Detailed Description

invoke callbacks based on select.

See also:
gr_select_handler


Public Member Functions

 ~gr_dispatcher ()
bool add_handler (gr_select_handler_sptr handler)
bool del_handler (gr_select_handler_sptr handler)
bool del_handler (gr_select_handler *handler)
void loop (double timeout=10)
 Event dispatching loop.

Friends

gr_dispatcher_sptr gr_make_dispatcher ()


Constructor & Destructor Documentation

gr_dispatcher::~gr_dispatcher  ) 
 


Member Function Documentation

bool gr_dispatcher::add_handler gr_select_handler_sptr  handler  ) 
 

bool gr_dispatcher::del_handler gr_select_handler handler  ) 
 

bool gr_dispatcher::del_handler gr_select_handler_sptr  handler  ) 
 

void gr_dispatcher::loop double  timeout = 10  ) 
 

Event dispatching loop.

Enter a polling loop that only terminates after all gr_select_handlers have been removed. timeout sets the timeout parameter to the select() call, measured in seconds.

Parameters:
timeout maximum number of seconds to block in select.


Friends And Related Function Documentation

gr_dispatcher_sptr gr_make_dispatcher  )  [friend]
 


The documentation for this class was generated from the following files:
Generated on Sun Jan 15 07:54:28 2006 for GNU Radio 2.x by  doxygen 1.4.6