-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathServiceSettings.h
More file actions
63 lines (46 loc) · 1.84 KB
/
ServiceSettings.h
File metadata and controls
63 lines (46 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
///////////////////////////////////////////////////////////
// ServiceSettings.h
// Implementation of the Class ServiceSettings
// Created on: 30-Sau-2014 17:06:18
// Original author: Povilas
///////////////////////////////////////////////////////////
#if !defined(SERVICESETTINGS_H)
#define SERVICESETTINGS_H
#include <string>
/** \brief Class holds static attributes with the service settings
*
*/
class ServiceSettings
{
public:
/** \brief Constructor
*/
ServiceSettings();
/** \brief Destructor
*/
virtual ~ServiceSettings();
/** \brief Initilaizes runtime environment variables
* \return bool success
*
*/
static bool initialize();
static std::string localDataFileSavePath; /**< Local file path to data directory */
static std::string httpDataFileSavePath; /**< Path to public HTTP data directory */
static std::string dataFileExtension; /**< efault data file extension */
static std::string logingConfFilePath; /**< Path to logging config file */
static int lenghtOfTmpFileName; /**< Lenght of the file name */
static int keepFilesInDirectory; /**< Time in seconds how lon files will be kept in data directory */
static std::string wsdlPath; /**< Path to wsdl file */
static int noOfProcessors; /**< Number of processors that may be used by the algorithms */
static int runDestination; /**< Indicates where the algorithms must be run - 1 MII cluster, 2 - VU MIF cluster */
static std::string pathToMPIExecutable; /**< Path to mpi.exe or mpiexec.exe */
static std::string workingDirMPI; /**< MPI working directory */
static std::string pathToAlgorithmsExe; /**< Path to cluster algorithms implementation exe */
private:
/** \brief Returns EXE path
* \return std::string of the execution
*
*/
static std::string getExePath();
};
#endif //!defined(SERVICESETTINGS_H)