Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 4e66254cdef864e783ffdd7162e624750087eb43 (plain) (blame)
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
/*******************************************************************************
 * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * CONTRIBUTORS:
 * 		Thomas Schuetz (initial contribution)
 *
 *******************************************************************************/

/**
 * file etRuntimeConfig.h
 *
 * preprocessor switches that configure the runtime
 *
 * \author Thomas Schuetz
 */

#ifndef ETGLOBALFLAGS_H_
#define ETGLOBALFLAGS_H_

/* runner */
#define ET_RUNNER_ACTIVATE
#undef 	ET_DO_NOT_USE_ARGC_ARGV

/* flags for debugging */

/* MSC logger */

/** switches the logger on */
#define ET_LOGGER_ACTIVATE

/** switches the MSC logger on, needs \ref ET_LOGGER_ACTIVATE */
#define ET_MSC_LOGGER_ACTIVATE

/** switches the logging of asynchronous messages on,  needs \ref ET_MSC_LOGGER_ACTIVATE */
#undef ET_SYNC_MSC_LOGGER_ACTIVATE
/** switches the logging of synchronous messages on,  needs \ref ET_MSC_LOGGER_ACTIVATE */
#define ET_ASYNC_MSC_LOGGER_ACTIVATE

/* data logger */

/** switches the data logger on */
#define ET_DATA_LOGGER_ACTIVATE

/* timing and scheduling */
/* #define FREQUENCY 10L */
/* #define ET_RUNTIME_MAXLOOP 100 */
/* #define ET_RUNTIME_ENDLESS */

/** enable multi threading (e.g. for protection of message queues) */
#define ET_MULTI_THREADING

#endif /* ETGLOBALFLAGS_H_ */

Back to the top