Navigation and Viewing Framework
Configurable navigation and viewing setups for various display types in the VR lab
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
lib-server.ConfigFileParser.ConfigFileParser Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

def lib-server.ConfigFileParser.ConfigFileParser.__init__ (   self,
  APPLICATION_MANAGER 
)

Custom constructor.

Parameters
APPLICATION_MANAGERReference to the one and only ApplicationManager instance in the setup.

Member Function Documentation

def lib-server.ConfigFileParser.ConfigFileParser.get_next_line_in_file (   self,
  FILE 
)

Gets the next line in the file.

Thereby, empty lines are skipped.

Parameters
FILEThe 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.

Parameters
FILENAMEThe path of the configuration file to be read in.

Member Data Documentation

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.


The documentation for this class was generated from the following file: