|
NTrace
GPU ray tracing framework
|
#include <AppEnvironment.h>
Inherits Environment.
Public Member Functions | |
| AppEnvironment () | |
| Constructor. More... | |
| virtual void | RegisterOptions () |
| Registers all necessary environment variables. More... | |
Public Member Functions inherited from Environment | |
| virtual void | PrintUsage (ostream &s) const |
| virtual void | SetStaticOptions () |
| void | RegisterOption (const char *name, const OptionType type, const char *abbrev, const char *defValue=NULL) |
| void | SetInt (const char *name, const int value) |
| void | SetFloat (const char *name, const float value) |
| void | SetBool (const char *name, const bool value) |
| void | SetString (const char *name, const char *value) |
| bool | GetBool (const char *name, const bool isFatal=false) const |
| int | GetInt (const char *name, const bool isFatal=false) const |
| float | GetFloat (const char *name, const bool isFatal=false) const |
| double | GetDouble (const char *name, const bool isFatal=false) const |
| bool | GetIntValue (const char *name, int &value, const bool isFatal=false) const |
| bool | GetDoubleValue (const char *name, double &value, const bool isFatal=false) const |
| bool | GetFloatValue (const char *name, float &value, const bool isFatal=false) const |
| bool | GetBoolValue (const char *name, bool &value, const bool isFatal=false) const |
| bool | GetStringValue (const char *name, char *value, const bool isFatal=false) const |
| bool | GetStringValue (const char *name, string &value, const bool isFatal=false) const |
| bool | CheckForSwitch (const int argc, char **argv, const char swtch) const |
| void | ReadCmdlineParams (const int argc, char **argv, const char *optParams) |
| bool | ReadEnvFile (const char *filename) |
| void | ParseCmdline (const int argc, char **argv, const int index) |
| int | GetParamNum () const |
| bool | GetParam (const char name, const int index, char *value) const |
| Environment () | |
| virtual | ~Environment () |
| bool | OptionPresent (const char *name) const |
Additional Inherited Members | |
Static Public Member Functions inherited from Environment | |
| static Environment * | GetSingleton () |
| static void | SetSingleton (Environment *e) |
| static void | DeleteSingleton () |
Static Public Attributes inherited from Environment | |
| static Environment * | mEnvironment = NULL |
Definition at line 41 of file AppEnvironment.h.
|
inline |
Constructor.
Definition at line 47 of file AppEnvironment.h.
|
virtual |
Registers all necessary environment variables.
Definition at line 39 of file AppEnvironment.cpp.