#include <Configuration.h>

Public Member Functions | |
| void | processEvent (SDL_Event &event) |
| Method to handle events from SDL. | |
| bool | isVbo () |
| Getter for Vertex Buffer Object config. | |
| bool | isFbo () |
| Getter for Frame Buffer Object config. | |
| GLfloat | getFboSampleFactor () |
| Getter for Frame Buffer Object downsampling. | |
| bool | isShader () |
| Getter for Shader config. | |
| void | setShader (bool shader) |
| Getter for shader config. | |
| bool | isPause () |
| Getter for Pause. | |
| virtual string | toString () const |
| Returns a textual representation. | |
| virtual string | className () const |
| Returns the class name of the object. | |
| virtual enum classId | classId () const |
| Returns the class id of the object. | |
Static Public Member Functions | |
| static Configuration * | getInstance () |
| Getter for configuration. | |
Private Member Functions | |
| Configuration () | |
| The private standard constructor. | |
| Configuration (const Configuration &source) | |
| The private copy constructor. | |
| ~Configuration () | |
| The private destructor. | |
Private Attributes | |
| bool | vbo |
| Vertexbuffer object config. | |
| bool | fbo |
| Framebuffer object config. | |
| GLfloat | fboSampleFactor |
| Framebuffer downsample. | |
| bool | shader |
| Shader config. | |
| bool | pause |
| Pause. | |
Static Private Attributes | |
| static Configuration * | instance = 0 |
| The singleton instance. | |
This object may be used for 'global' variables that influence the program in a major capacity.
| Configuration::Configuration | ( | ) | [private] |
The private standard constructor.
TEMP!!!!
Global variable switches
| Configuration::Configuration | ( | const Configuration & | source | ) | [private] |
The private copy constructor.
Does nothing, may never be called.
| Configuration::~Configuration | ( | ) | [private] |
The private destructor.
Does nothing.
| Configuration * Configuration::getInstance | ( | ) | [static] |
Getter for configuration.
Creates the singleton instance if there isn't any.
| void Configuration::processEvent | ( | SDL_Event & | event | ) | [virtual] |
Method to handle events from SDL.
| event | The SDL Event to be evaluated |
Implements EventListener.
| bool Configuration::isVbo | ( | ) |
Getter for Vertex Buffer Object config.
| bool Configuration::isFbo | ( | ) |
Getter for Frame Buffer Object config.
| GLfloat Configuration::getFboSampleFactor | ( | ) |
Getter for Frame Buffer Object downsampling.
| bool Configuration::isShader | ( | ) |
| void Configuration::setShader | ( | bool | shader | ) |
Getter for shader config.
| bool Configuration::isPause | ( | ) |
Getter for Pause.
| string Configuration::toString | ( | ) | const [virtual] |
Returns a textual representation.
Implements EventListener.
| string Configuration::className | ( | ) | const [virtual] |
Returns the class name of the object.
Implements EventListener.
| enum classId Configuration::classId | ( | ) | const [virtual] |
Configuration * Configuration::instance = 0 [static, private] |
The singleton instance.
The sole instance of this object.
bool Configuration::vbo [private] |
Vertexbuffer object config.
bool Configuration::fbo [private] |
Framebuffer object config.
GLfloat Configuration::fboSampleFactor [private] |
Framebuffer downsample.
bool Configuration::shader [private] |
Shader config.
bool Configuration::pause [private] |
Pause.
1.5.6