Easy-to-use event device library in C++