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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
// file : CCF/Example/CIDL/LocalExecutorMapping/test-2.idl
// author : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id : $Id$
#include "test-1.idl"
interface Goof {};
module M2
{
interface I {};
interface J {};
eventtype E supports I, J
{
factory new (in string name);
public string name;
};
valuetype V
{
public long l;
};
component C2 : M1::C1 supports I, J
{
provides Goof pg;
uses Goof ug;
publishes E pe;
emits E me;
consumes E ce;
};
typedef sequence<octet> OctetSeq;
struct S
{
long l;
OctetSeq octet_seq;
};
typedef sequence<S> S_Seq;
exception Ex1
{
string descr;
};
exception Ex2
{
};
home H2 : M1::H1 supports I, J manages C2
{
attribute long l;
attribute M::I ai;
attribute OctetSeq seq;
attribute S_Seq a_s_seq;
void
foo (in long l,
inout boolean b,
out long ol,
in M::I i,
out unsigned long long ull,
inout S_Seq s_seq,
in V v) raises (Ex1, Ex2);
factory new (in long l, in OctetSeq s) raises (Ex2, Ex1);
finder find (in long l, in OctetSeq s) raises (Ex1, Ex2);
};
};
|