Signals library in c++