C++ class to control rock-based systems via rock-webapp