If you want to implement the init in c++ with a delay then you can use lambda with timers
Most likely the inline option would be the shortest route.