Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Global application settings controlling how Visualization Library behaves. More...
#include <GlobalSettings.hpp>
Public Member Functions | |
GlobalSettings () | |
void | setCheckOpenGLStates (bool check_clean) |
If true VL checks at the beginning of each rendering that the OpenGL states are clean and ready to be used by VL. | |
bool | checkOpenGLStates () const |
If true VL checks at the beginning of each rendering that the OpenGL states are clean and ready to be used by VL. | |
void | setVerbosityLevel (EVerbosityLevel verb_level) |
The verbosity level of VL. | |
EVerbosityLevel | verbosityLevel () const |
The verbosity level of VL. | |
const String & | defaultLogPath () const |
The path of the default log file. | |
const String & | defaultDataPath () const |
The path of the default data directory. | |
Protected Attributes | |
EVerbosityLevel | mVerbosityLevel |
bool | mCheckOpenGLStates |
String | mDefaultLogPath |
String | mDefaultDataPath |
Friends | |
class | VisualizationLibrary |
Global application settings controlling how Visualization Library behaves.
Definition at line 41 of file GlobalSettings.hpp.
GlobalSettings::GlobalSettings | ( | ) |
Definition at line 39 of file GlobalSettings.cpp.
References mCheckOpenGLStates, mDefaultDataPath, mDefaultLogPath, mVerbosityLevel, NULL, setCheckOpenGLStates(), setVerbosityLevel(), vl::VEL_VERBOSITY_DEBUG, vl::VEL_VERBOSITY_ERROR, vl::VEL_VERBOSITY_NORMAL, vl::VEL_VERBOSITY_SILENT, and VL_DEBUG_SET_OBJECT_NAME.
void vl::GlobalSettings::setCheckOpenGLStates | ( | bool | check_clean ) | [inline] |
If true
VL checks at the beginning of each rendering that the OpenGL states are clean and ready to be used by VL.
If the test fails it can mean that either there is a bug in VL or that the user did not restore the OpenGL states to a VL friendly state after modifying them.
Definition at line 55 of file GlobalSettings.hpp.
Referenced by GlobalSettings().
bool vl::GlobalSettings::checkOpenGLStates | ( | ) | const [inline] |
If true
VL checks at the beginning of each rendering that the OpenGL states are clean and ready to be used by VL.
If the test fails it can mean that either there is a bug in VL or that the user did not restore the OpenGL states to a VL friendly state after modifying them.
Definition at line 62 of file GlobalSettings.hpp.
void vl::GlobalSettings::setVerbosityLevel | ( | EVerbosityLevel | verb_level ) | [inline] |
The verbosity level of VL.
This applies to all the logs generated via vl::Log::*.
Definition at line 65 of file GlobalSettings.hpp.
Referenced by GlobalSettings().
EVerbosityLevel vl::GlobalSettings::verbosityLevel | ( | ) | const [inline] |
The verbosity level of VL.
This applies to all the logs generated via vl::Log::*.
Definition at line 68 of file GlobalSettings.hpp.
const String& vl::GlobalSettings::defaultLogPath | ( | ) | const [inline] |
The path of the default log file.
Definition at line 71 of file GlobalSettings.hpp.
const String& vl::GlobalSettings::defaultDataPath | ( | ) | const [inline] |
The path of the default data directory.
Definition at line 74 of file GlobalSettings.hpp.
friend class VisualizationLibrary [friend] |
Definition at line 43 of file GlobalSettings.hpp.
EVerbosityLevel vl::GlobalSettings::mVerbosityLevel [protected] |
Definition at line 77 of file GlobalSettings.hpp.
Referenced by GlobalSettings().
bool vl::GlobalSettings::mCheckOpenGLStates [protected] |
Definition at line 78 of file GlobalSettings.hpp.
Referenced by GlobalSettings().
String vl::GlobalSettings::mDefaultLogPath [protected] |
Definition at line 79 of file GlobalSettings.hpp.
Referenced by GlobalSettings().
String vl::GlobalSettings::mDefaultDataPath [protected] |
Definition at line 80 of file GlobalSettings.hpp.
Referenced by GlobalSettings().