What's the problem? Add a function to set the parameters and trigger an update(); provide a constuctor that takes the parameters as arguments and calls the previous function. Straight-up C++.