[PROSV5] Manage Which Function is Called For 'opcontrol()'

I was wondering if there was a way to manage the functions that get called for operator control and autonomous. For example, right now it calls ‘opcontrol()’ but I want to contain the function within a class so instead it would be ‘Robot::opcontrol()’. Is there anyway to do this?

Implement opcontrol() to just call Robot::opcontrol(). You can’t change which functions the PROS daemon calls.