|
MaterialXWeb 1.39.4
Utilities for using MaterialX Packages with Web clients
|
Public Member Functions | |
| __init__ (self, home) | |
| run (self, host, port, debug=True) | |
| Run the Flask server with SocketIO. | |
Public Attributes | |
| home = home | |
| app = Flask(__name__) | |
| socketio = SocketIO(self.app) | |
Protected Member Functions | |
| _register_routes (self) | |
| Register HTTP routes. | |
| _setup_event_handler_map (self) | |
| Pure virtual method: Must be implemented by subclasses. | |
| _register_socket_events (self) | |
| Register SocketIO events. | |
Definition at line 13 of file materialx_ocio_app.py.
| materialx_ocio_app.MaterialXFlaskApp.__init__ | ( | self, | |
| home ) |
Reimplemented in materialx_ocio_app.materialx_ocio_app.
Definition at line 14 of file materialx_ocio_app.py.
|
protected |
Register HTTP routes.
Definition at line 26 of file materialx_ocio_app.py.
|
protected |
Register SocketIO events.
Definition at line 43 of file materialx_ocio_app.py.
|
protected |
Pure virtual method: Must be implemented by subclasses.
Reimplemented in materialx_ocio_app.materialx_ocio_app.
Definition at line 39 of file materialx_ocio_app.py.
| materialx_ocio_app.MaterialXFlaskApp.run | ( | self, | |
| host, | |||
| port, | |||
| debug = True ) |
Run the Flask server with SocketIO.
Definition at line 51 of file materialx_ocio_app.py.
| materialx_ocio_app.MaterialXFlaskApp.app = Flask(__name__) |
Definition at line 18 of file materialx_ocio_app.py.
| materialx_ocio_app.MaterialXFlaskApp.home = home |
Definition at line 15 of file materialx_ocio_app.py.
| materialx_ocio_app.MaterialXFlaskApp.socketio = SocketIO(self.app) |
Definition at line 19 of file materialx_ocio_app.py.