summaryrefslogtreecommitdiff
path: root/modules/CIAO/connectors/dds4ccm/impl/dds4ccm_conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/connectors/dds4ccm/impl/dds4ccm_conf.h')
-rw-r--r--modules/CIAO/connectors/dds4ccm/impl/dds4ccm_conf.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/CIAO/connectors/dds4ccm/impl/dds4ccm_conf.h b/modules/CIAO/connectors/dds4ccm/impl/dds4ccm_conf.h
new file mode 100644
index 00000000000..11ac69e581a
--- /dev/null
+++ b/modules/CIAO/connectors/dds4ccm/impl/dds4ccm_conf.h
@@ -0,0 +1,26 @@
+/**
+ * @author Marcel Smit <msmit@remedy.nl>
+ *
+ * $Id$
+ *
+ * Configuration file for DDS4CCM.
+ */
+
+#ifndef DDS4CCM_CONF_H_
+#define DDS4CCM_CONF_H_
+
+/// Defines whether the Reader uses a QueryCondition.
+/// If not, it uses a ContentFilteredTopic.
+#if !defined (DDS4CCM_USES_QUERY_CONDITION)
+# define DDS4CCM_USES_QUERY_CONDITION 0
+#endif /* DDS4CCM_USES_QUERY_CONDITION */
+
+/// Defines whether DDS4CCM does a thread switch when
+/// a DDS callback has been received. If this is not
+/// defined, DDS4CCM uses the DDS thread to handle the
+/// callbacks.
+#if !defined (CIAO_DDS4CCM_CONTEXT_SWITCH)
+# define CIAO_DDS4CCM_CONTEXT_SWITCH 1
+#endif /* CIAO_DDS4CCM_CONTEXT_SWITCH */
+
+#endif /* DDS4CCM_CONF_H_ */