summaryrefslogtreecommitdiff
path: root/CIAO/tests/IDL_Test/Reused_Facet_Interface/Basic.idl
blob: 79525f433a058934d0973cbe0c78916f2c45a5fd (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
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
//=============================================================================
/**
 * @file Basic.idl
 *
 * Definition of events, and common interfaces used in the BasicSP module.
 *
 * @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
 *         Jeff Parsons <j.parsons@vanderbilt.edu>
 */
//=============================================================================

#ifndef CIAO_BASIC_IDL
#define CIAO_BASIC_IDL

#include <Components.idl>

#pragma ciao lem "BasicE.idl"

module Extra
{
  exception NoReason {};
  exception NoRhyme {};

  interface Superfluous
  {
    attribute string useless_attr;
    long superfluous_op (in string empty_arg)
      raises (NoReason);
  };

  interface Supernumerary
  {
    void supernumerary_op (out string dummy_arg)
      raises (NoRhyme, NoReason);
  };
};

module Basic
{
  interface ReadData : Extra::Superfluous
  {
    string get_data ();
  };

  interface AnalyzeData
  {
    void perform_analysis (inout string data);
    attribute boolean fine_tooth_comb;
  };
#if !defined (CCM_NOEVENT)
  eventtype TimeOut {};
  eventtype DataAvailable {};
#endif
};

#endif /* CIAO_BASIC_IDL */