Navigation and Viewing Framework
Configurable navigation and viewing setups for various display types in the VR lab
|
Class associated to a ApplicationManager instance in order to parse and load XML configuration files for the setup. More...
Public Member Functions | |
def | __init__ |
Custom constructor. More... | |
def | parse |
Parses a XML configuration file, saves settings and creates navigations and users. More... | |
def | get_next_line_in_file |
Gets the next line in the file. More... | |
Public Attributes | |
APPLICATION_MANAGER | |
Reference to the one and only ApplicationManager instance in the setup. More... | |
enable_coupling_animation | |
Boolean indicating if an animation should be done when a coupling of Navigations is initiated. More... | |
Class associated to a ApplicationManager instance in order to parse and load XML configuration files for the setup.
Gets a reference to ApplicationManager and calls the create_navigation and create_standard_user functions according to the settings read from the configuration file.
def lib-server.ConfigFileParser.ConfigFileParser.__init__ | ( | self, | |
APPLICATION_MANAGER | |||
) |
Custom constructor.
APPLICATION_MANAGER | Reference to the one and only ApplicationManager instance in the setup. |
def lib-server.ConfigFileParser.ConfigFileParser.get_next_line_in_file | ( | self, | |
FILE | |||
) |
Gets the next line in the file.
Thereby, empty lines are skipped.
FILE | The opened file to get the line from. |
def lib-server.ConfigFileParser.ConfigFileParser.parse | ( | self, | |
FILENAME | |||
) |
Parses a XML configuration file, saves settings and creates navigations and users.
FILENAME | The path of the configuration file to be read in. |
lib-server.ConfigFileParser.ConfigFileParser.APPLICATION_MANAGER |
Reference to the one and only ApplicationManager instance in the setup.
lib-server.ConfigFileParser.ConfigFileParser.enable_coupling_animation |
Boolean indicating if an animation should be done when a coupling of Navigations is initiated.