EventEmitter in nodeJS way, for c++, using c++11 lambdas Read samples to get idea how it works Tested only on MacBookPro09