So I have a member function in C++ that takes in an std::function and I want to pass this into a wiringPi function:
std::function
void my_class::on