invoke callbacks based on select.
More...
#include <gr_dispatcher.h>
invoke callbacks based on select.
- See Also
- gr_select_handler
gr_dispatcher::~gr_dispatcher |
( |
| ) |
|
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. |
The documentation for this class was generated from the following file: