![]() |
Number5
Visualisierung 2 Project - Florian Schober (0828151, f.schober@live.com), Andreas Walch (0926780, walch.andreas89@gmail.com)
|
#include <Configuration.hpp>
Public Member Functions | |
bool | isFullScreen () const |
uvec2 const & | resolution () const |
bool | hasResolution () const |
string const & | windowTitle () const |
string const & | sceneName () const |
PickerUpdateMode | pickerMode () const |
uint | pickerMaxDistance () const |
uint | threadpoolSize () const |
bool | pickerMultiThreaded () const |
bool | skinnningMultiThreaded () const |
Configuration () | |
Private Attributes | |
bool | m_isFullScreen |
uvec2 | m_resolution |
bool | m_hasResolution |
string | m_windowTitle |
PickerUpdateMode | m_pickerMode |
uint | m_pickerMaxDistance |
string | m_sceneName |
uint | m_threadpoolSize |
bool | m_pickerMultiThreaded |
bool | m_skinnningMultiThreaded |
Configuration can be used to access the applications configuration-file-data. It loads the config-file. If the file cannot be found or it doesn't decalre some settings, default-values are provided.
Definition at line 11 of file Configuration.hpp.
Configuration | ( | ) |
Constructs a Configuration-object. Loads settings from the config-file.
Definition at line 5 of file Configuration.cpp.
|
inline |
Accessor to wheter a resolution was defined by the settings file, or not
Definition at line 45 of file Configuration.hpp.
|
inline |
Accessor to wheter the application is fullscreen or not.
Definition at line 35 of file Configuration.hpp.
|
inline |
Accessor to the pickers max-distance
Definition at line 65 of file Configuration.hpp.
|
inline |
|
inline |
Accessor to wheter the picker is multi-threaded or not
Definition at line 75 of file Configuration.hpp.
|
inline |
Accessor to the window-size or the resolution(in fullscreen)
Definition at line 40 of file Configuration.hpp.
|
inline |
Accessor to the initially active scene
Definition at line 55 of file Configuration.hpp.
|
inline |
Accessor to wheter the skinner works multi-threaded or not
Definition at line 80 of file Configuration.hpp.
|
inline |
Accessor to the threadpool-size for parallel tasks
Definition at line 70 of file Configuration.hpp.
|
inline |
Accessor to the window-title
Definition at line 50 of file Configuration.hpp.
|
private |
Wheter a resolution was defined by the settings file, or not
Definition at line 16 of file Configuration.hpp.
|
private |
Wheter the application is fullscreen or not
Definition at line 13 of file Configuration.hpp.
|
private |
The pickers max-distance
Definition at line 21 of file Configuration.hpp.
|
private |
The picker-mode
Definition at line 20 of file Configuration.hpp.
|
private |
Wheter the picker is multi-threaded or not
Definition at line 27 of file Configuration.hpp.
|
private |
The window-size or the resolution(in fullscreen)
Definition at line 15 of file Configuration.hpp.
|
private |
The initially active scene
Definition at line 23 of file Configuration.hpp.
|
private |
Wheter the skinner works multi-threaded or not
Definition at line 28 of file Configuration.hpp.
|
private |
The threadpool-size for parallel tasks
Definition at line 25 of file Configuration.hpp.
|
private |
The window-title
Definition at line 18 of file Configuration.hpp.