API
 
Loading...
Searching...
No Matches
paths.hpp
Go to the documentation of this file.
1/** \file paths.hpp
2 * \brief Defaults for the MagAO-X library
3 * \author Jared R. Males (jaredmales@gmail.com)
4 *
5 * History:
6 * - 2018-07-13 created by JRM
7 */
8
9#ifndef common_paths_hpp
10#define common_paths_hpp
11
12/** \defgroup default_paths Default Paths
13 * \ingroup common
14 *
15 * @{
16 */
17
18#ifndef MAGAOX_path
19 /// The path to the MagAO-X system files
20 /** This directory will have subdirectories including config, log, and sys directories.
21 */
22 #define MAGAOX_path "/opt/MagAOX"
23#endif
24
25#ifndef MAGAOX_configRelPath
26 /// The relative path to the configuration files.
27 /** This is the subdirectory for configuration files.
28 */
29 #define MAGAOX_configRelPath "config"
30#endif
31
32#ifndef MAGAOX_calibRelPath
33 /// The relative path to the calibration files.
34 /** This is the subdirectory for calibration files.
35 */
36 #define MAGAOX_calibRelPath "calib"
37#endif
38
39#ifndef MAGAOX_globalConfig
40 /// The filename for the global configuration file.
41 /** Will be looked for in the config/ subdirectory.
42 */
43 #define MAGAOX_globalConfig "magaox.conf"
44#endif
45
46#ifndef MAGAOX_logRelPath
47 /// The relative path to the log directory.
48 /** This is the subdirectory for logs.
49 */
50 #define MAGAOX_logRelPath "logs"
51#endif
52
53#ifndef MAGAOX_telRelPath
54 /// The relative path to the telemetry directory.
55 /** This is the subdirectory for telemetry.
56 */
57 #define MAGAOX_telRelPath "telem"
58#endif
59
60#ifndef MAGAOX_sysRelPath
61 /// The relative path to the system directory
62 /** This is the subdirectory for the system status files.
63 */
64 #define MAGAOX_sysRelPath "sys"
65#endif
66
67#ifndef MAGAOX_secretsRelPath
68 /// The relative path to the secrets directory. Used for storing passwords, etc.
69 /** This is the subdirectory for secrets.
70 */
71 #define MAGAOX_secretsRelPath "secrets"
72#endif
73
74#ifndef MAGAOX_driverRelPath
75 /// The relative path to the INDI drivers
76 /** This is the subdirectory for the INDI drivers.
77 */
78 #define MAGAOX_driverRelPath "drivers"
79#endif
80
81#ifndef MAGAOX_driverFIFORelPath
82 /// The relative path to the INDI driver FIFOs
83 /** This is the subdirectory for the INDI driver FIFOs.
84 */
85 #define MAGAOX_driverFIFORelPath "drivers/fifos"
86#endif
87
88#ifndef MAGAOX_rawimageRelPath
89 /// The relative path to the raw images directory.
90 /** This is the subdirectory for raw images.
91 */
92 #define MAGAOX_rawimageRelPath "rawimages"
93#endif
94
95#ifndef MAGAOX_cpusetPath
96 /// The absolute path the the cpuset mount point
97 /**
98 */
99 #define MAGAOX_cpusetPath "/opt/MagAOX/cpuset/"
100#endif
101
102///@}
103
104#endif //common_paths_hpp