00001 00006 #include <string> 00007 00008 #ifndef SETTINGS_H_ 00009 #define SETTINGS_H_ 00010 00014 struct Settings { 00015 00019 unsigned numThreads; 00020 00024 unsigned maxCapacity; 00025 00029 unsigned GCInterval; 00030 00034 unsigned logLevel; 00035 00039 unsigned logBufferLength; 00040 00044 unsigned logInterval; 00045 00049 std::string logDirectory; 00050 00054 Settings() { 00055 00056 numThreads = 0; 00057 maxCapacity = 0; 00058 GCInterval = 0; 00059 logLevel = 0; 00060 logBufferLength = 0; 00061 logInterval = 0; 00062 logDirectory = "logs"; 00063 00064 } 00065 00066 }; 00067 00068 #endif /* SETTINGS_H_ */