Allolib
1.0
C++ Components For Interactive Multimedia
|
The HtmlInterfaceServer class runs an interface.simpleserver.js server and builds the html interface for the registered set of controllers and presets. More...
Public Member Functions | |
HtmlInterfaceServer (std::string pathToInterfaceJs="../interface.js", bool autorun=true) | |
HtmlInterfaceServer & | addParameter (Parameter ¶m, std::string interfaceName="") |
HtmlInterfaceServer & | addParameterServer (ParameterServer ¶mServer, std::string interfaceName="") |
HtmlInterfaceServer & | addPresetServer (PresetServer &presetServer, std::string interfaceName="") |
HtmlInterfaceServer & | operator<< (Parameter ¶m) |
HtmlInterfaceServer & | operator<< (ParameterServer ¶mServer) |
HtmlInterfaceServer & | operator<< (PresetServer &presetServer) |
void | runInterfaceJs () |
The HtmlInterfaceServer class runs an interface.simpleserver.js server and builds the html interface for the registered set of controllers and presets.
The HtmlInterfaceServer class runs an html service that provides a GUI for Parameter objects. It runs interface.js in the background, so it relies on an existing working installation of interface.js and interface.simpleserver.js in particular. The class generates the html file for interface.js from the registered parameters. Because it uses Parameter obejcts, the HTML GUI can be kept in sync with other control interfaces like ParameterGUI and other devices that set the parameters via OSC.
Definition at line 84 of file al_HtmlInterfaceServer.hpp.