summaryrefslogtreecommitdiff
path: root/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.idl
blob: d1475e43d084f028349ff0c5806f85b5ea1fbaaa (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
//==============================================================================
/// @file Hello_MyFoo_obj.idl
//==============================================================================

#ifndef HELLO_MYFOO_OBJ_IDL
#define HELLO_MYFOO_OBJ_IDL

#include "Hello_Common_defn.idl"

#pragma ciao lem "Hello_MyFoo_objE.idl"
#pragma ciao ami4ccm interface "Hello::MyFoo_obj"
#pragma ciao lem "Hello_MyFoo_objAE.idl"
//needed for 'uses multiple', not used in this example
#pragma ciao ami4ccm idl "Hello_MyFoo_objA.idl"

module Hello
{
  // Sender/Receiver interface
  interface MyFoo_obj
    {
      long foo (in string in_str, out string answer)
        raises (InternalError);
      void hello (out long answer)
        raises (InternalError);

      attribute short rw_attrib
        getraises (InternalError)
        setraises (InternalError);

      readonly attribute short ro_attrib
        raises (InternalError);
    };
};

#endif