Orocos Real-Time Toolkit  2.8.3
gnulinux-config.h
Go to the documentation of this file.
1 #ifndef RTT_TARGET_gnulinux_H
2 #define RTT_TARGET_gnulinux_H
3 
4 #define OROCFG_CORELIB_REALTIME_TOOLKIT 1
5 #define OROCFG_CORELIB_REALTIME_TOOLKIT_IMPORT 1
6 
7 /* #undef OS_NO_ASM */
8 #ifdef OS_NO_ASM
9 #define OROBLD_OS_NO_ASM
10 #endif
11 
12 #define OS_AGNOSTIC
13 #ifdef OS_AGNOSTIC
14 #define OROBLD_OS_AGNOSTIC
15 #endif
16 
17 #define ORONUM_OS_MAX_THREADS 8
18 #define OROSEM_OS_PERIODIC_THREADS_MAX_OVERRUN -1
19 #define OROSEM_OS_LOCK_MEMORY 1
20 
21 #define ORO_ACT_DEFAULT_ACTIVITY
22 /* #undef ORO_ACT_DEFAULT_SEQUENTIAL */
23 #define OS_HAVE_MAIN
24 #define OS_HAVE_IOSTREAM
25 #define OS_HAVE_STREAMS
26 /* #undef OS_THREAD_SCOPE */
27 #define OS_RT_MALLOC
28 #ifdef OS_THREAD_SCOPE
29 #define OROPKG_OS_THREAD_SCOPE
30 #endif
31 
32 /* #undef ORO_OS_LINUX_CAP_NG */
33 
34 #define ORO_HAVE_PTHREAD_SETNAME_NP
35 #define ORO_HAVE_BOOST_UUID
36 /* #undef ORO_HAVE_LIBUUID */
37 
38 /* #undef ORO_OS_USE_BOOST_THREAD */
39 #ifdef ORO_OS_USE_BOOST_THREAD
40 # ifndef BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
41 # define BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
42 # endif
43 # ifndef BOOST_THREAD_DONT_USE_CHRONO
44 # define BOOST_THREAD_DONT_USE_CHRONO
45 # endif
46 #endif
47 
48 /* #undef CONFIG_FORCE_UP */
49 
50 #define ORO_SIGNALLING_OPERATIONS
51 /* #undef ORO_SIGNALLING_PORTS */
52 
53 /* #undef OS_EMBEDDED */
54 #ifdef OS_EMBEDDED
55 #define ORO_EMBEDDED
56 #endif
57 
58 /* #undef OS_NOEXCEPTIONS */
59 #ifdef OS_NOEXCEPTIONS
60 #define ORO_OS_NOEXCEPTIONS
61 #endif
62 
63 #if !defined(OS_EMBEDDED) || defined(OS_EMBEDDED_SCRIPTING)
64 #define OROPKG_EXECUTION_PROGRAM_PARSER
65 #endif
66 
67 #define PLUGINS_ENABLE_SCRIPTING
68 
69 #define ORO_REMOTING
70 
71 /* #undef ORO_NO_EMIT_CORBA_IOR */
72 
73 /* #undef OROBLD_DISABLE_LOGGING */
74 /* #undef OROSEM_PRINTF_LOGGING */
75 #define OROSEM_FILE_LOGGING
76 #define OROSEM_REMOTE_LOGGING
77 /* #undef OROSEM_LOG4CPP_LOGGING */
78 #define ORONUM_LOGGING_BUFSIZE 1000
79 
80 #define OROPKG_OS
81 #define OROPKG_CORELIB_EVENTS
82 #define OROPKG_CORELIB_REPORTING
83 #define OROPKG_DEVICE_INTERFACE
84 
85 #define OROPKG_EXECUTION
86 #define OROPKG_EXECUTION_ENGINE 1
87 #define OROPKG_EXECUTION_PROGRAM_PROCESSOR
88 #define OROPKG_EXECUTION_ENGINE_EVENTS
89 #define OROPKG_EXECUTION_ENGINE_COMMANDS
90 #define OROPKG_EXECUTION_ENGINE_PROGRAMS
91 #define OROPKG_EXECUTION_ENGINE_STATEMACHINES
92 #define ORONUM_EXECUTION_PROC_QUEUE_SIZE 16
93 
95 #define PLUGINS_ENABLE_MARSHALLING
96 #ifdef PLUGINS_ENABLE_MARSHALLING
97 /* #undef OROPKG_SUPPORT_XERCES_C */
98 #define OROPKG_CORELIB_PROPERTIES_MARSHALLING
99 #define OROPKG_CORELIB_PROPERTIES_MARSHALLING_CPF 1
100 #define ORODAT_CORELIB_PROPERTIES_MARSHALLING_INCLUDE "marsh/CPFMarshaller.hpp"
101 #define OROCLS_CORELIB_PROPERTIES_MARSHALLING_DRIVER CPFMarshaller
102 #define ORODAT_CORELIB_PROPERTIES_DEMARSHALLING_INCLUDE "marsh/TinyDemarshaller.hpp"
103 #define OROCLS_CORELIB_PROPERTIES_DEMARSHALLING_DRIVER TinyDemarshaller
104 #endif
105 
106 // Target detection macros for users:
107 // Backwards compatibility:
108 #define OROPKG_OS_GNULINUX
109 
110 // New format:
111 #define OROCOS_TARGET_GNULINUX 1
112 
113 #define OROCOS_TARGET_NAME "gnulinux"
114 
115 // Safety check:
116 #ifndef OROPKG_OS_GNULINUX
117 #error "Configuration error: OROPKG_OS_GNULINUX not defined !"
118 #endif
119 
120 #endif