blob: 7e2601bb79b430f7c7c7f245e319c04dcb386743 (
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
|
// $Id$
#if !defined (AMI4CCM_IDL_H)
#define AMI4CCM_IDL_H
#include <Components.idl>
#pragma ciao lem "connectors/ami4ccm/ami4ccm/ami4ccmE.idl"
module CCM_AMI
{
native UserExceptionBase;
/// Exception holder to rethrow the original exception
local interface ExceptionHolder
{
void raise_exception() raises (UserExceptionBase);
};
/// Base interface for the Callback model
local interface ReplyHandler
{
};
/// Base class for all AMI4CCM connectors
connector AMI4CCM_Base
{
};
/**
* Templated Connector module for AMI4CCM. Expects
* two template arguments, the original interface and
* its AMI4CCM counterpart
*/
module Connector_T<interface T, interface AMI4CCM_T>
{
porttype AMI4CCM_Port_Type
{
provides AMI4CCM_T ami4ccm_provides;
uses T ami4ccm_uses;
};
connector AMI4CCM_Connector : AMI4CCM_Base
{
port AMI4CCM_Port_Type ami4ccm_port;
};
};
};
#endif /* AMI4CCM_IDL_H */
|