CARMA C++
Directives.h
1 #ifndef SZA_UTIL_DIRECTIVES_H
2 #define SZA_UTIL_DIRECTIVES_H
3 
4 // If we are using corba for any command or data transport, we need to
5 // include CORBA headers in our code
6 
7 #define DIR_NEED_CORBA (HAVE_CORR | HAVE_DC | HAVE_DELAY)
8 
9 // But we can only use CORBA if both the CORBA libs and the carma tree
10 // exist
11 
12 #define DIR_USE_CORBA (HAVE_CORBA & HAVE_CARMA & DIR_NEED_CORBA)
13 
14 // See if we should use CORBA for antenna comms
15 
16 #define DIR_USE_ANT_CORBA (HAVE_CORBA & HAVE_CARMA & ANT_CORBA)
17 
18 // See if we should use various CARMA subsystems
19 
20 #define DIR_USE_CORR (HAVE_CORBA & HAVE_CARMA & HAVE_CORR & HAVE_SZA)
21 
22 #define DIR_USE_DC (HAVE_CORBA & HAVE_CARMA & HAVE_DC & HAVE_SZA)
23 
24 #define DIR_USE_DELAY (HAVE_CORBA & HAVE_CARMA & HAVE_DELAY & HAVE_SZA)
25 
26 #define DIR_USE_STRIP (HAVE_SZA)
27 
28 #define DIR_USE_WX (HAVE_SZA & HAVE_WX)
29 
30 #define DIR_IS_STABLE (IS_STABLE)
31 
32 #define DIR_HAVE_CARMA (HAVE_CARMA)
33 
34 #define DIR_HAVE_CORR (HAVE_CARMA)
35 
36 #ifdef COMPILE_WITH_DEBUG
37 #define DIR_DEBUG (COMPILE_WITH_DEBUG)
38 #else
39 #define DIR_DEBUG 0
40 #endif
41 
42 #endif // End #ifndef SZA_UTIL_DIRECTIVES_H