Implement general event subscriber using boost::any