summaryrefslogtreecommitdiff
path: root/modules/CIAO/connectors/dds4ccm/idl/dds4ccm_StateListener.idl3p
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/connectors/dds4ccm/idl/dds4ccm_StateListener.idl3p')
-rw-r--r--modules/CIAO/connectors/dds4ccm/idl/dds4ccm_StateListener.idl3p25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/CIAO/connectors/dds4ccm/idl/dds4ccm_StateListener.idl3p b/modules/CIAO/connectors/dds4ccm/idl/dds4ccm_StateListener.idl3p
new file mode 100644
index 00000000000..89e61124fac
--- /dev/null
+++ b/modules/CIAO/connectors/dds4ccm/idl/dds4ccm_StateListener.idl3p
@@ -0,0 +1,25 @@
+/**
+ * @file dds4CCM_StateListener.idl3p
+ *
+ */
+
+#ifndef DDS4CCM_STATELISTENER_IDL3P
+#define DDS4CCM_STATELISTENER_IDL3P
+
+#include "dds4ccm/idl/dds4ccm_Base.idl3"
+
+module CCM_DDS
+{
+ interface StateListener<typename T> {
+ void on_creation (in T an_instance, in DDS::Time_t timestamp);
+ void on_update (in T an_instance, in DDS::Time_t timestamp);
+ void on_deletion (in T an_instance, in DDS::Time_t timestamp);
+ // behaviour
+ // - similar to a get_next, except that different operations are called
+ // depending on the instance state
+ // - triggered only if enabled is the associated ListenerControl
+ // - query filter (if any) in the associated Reader
+ };
+};
+
+#endif