hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Namespaces | Typedefs | Functions
events.H File Reference
#include <functional>
Include dependency graph for events.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 hobbes
 

Typedefs

typedef void(* hobbes::eventhandler) (int fd, void *ud)
 
typedef bool(* hobbes::timerfunc) ()
 

Functions

void hobbes::addTimer (timerfunc f, int millisecInterval)
 
void hobbes::registerEventHandler (int fd, const std::function< void(int)> &fn, bool vn=false)
 
void hobbes::registerEventHandler (int fd, eventhandler f, void *ud, bool vn=false)
 
void hobbes::unregisterEventHandler (int fd)
 
bool hobbes::stepEventLoop ()
 
void hobbes::runEventLoop ()
 
void hobbes::runEventLoop (int microsecondDuration)