summaryrefslogtreecommitdiff
path: root/modules/CIAO/connectors/dds4ccm/idl/dds4ccm_StateListener.idl3p
blob: 35f0bded5fbb0dbba67eed563e93d84f2ba42d55 (plain)
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
// $Id$

/**
 * @file dds4ccm_StateListener.idl3p
 *
 */

#ifndef DDS4CCM_STATELISTENER_IDL3P
#define DDS4CCM_STATELISTENER_IDL3P

#include "connectors/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 /* DDS4CCM_STATELISTENER_IDL3P */