]> rtime.felk.cvut.cz Git - frescor/frsh.git/blob - fres/contract/fres_contract_idl.idl
Do not use random contract IDs
[frescor/frsh.git] / fres / contract / fres_contract_idl.idl
1 ////////////////////////////////////////////////////////////////////////////
2 // ---------------------------------------------------------------------- //
3 // Copyright (C) 2006 - 2008 FRESCOR consortium partners:                 //
4 //                                                                        //
5 //   Universidad de Cantabria,              SPAIN                         //
6 //   University of York,                    UK                            //
7 //   Scuola Superiore Sant'Anna,            ITALY                         //
8 //   Kaiserslautern University,             GERMANY                       //
9 //   Univ. Politécnica  Valencia,           SPAIN                        //
10 //   Czech Technical University in Prague,  CZECH REPUBLIC                //
11 //   ENEA                                   SWEDEN                        //
12 //   Thales Communication S.A.              FRANCE                        //
13 //   Visual Tools S.A.                      SPAIN                         //
14 //   Rapita Systems Ltd                     UK                            //
15 //   Evidence                               ITALY                         //
16 //                                                                        //
17 //   See http://www.frescor.org for a link to partners' websites          //
18 //                                                                        //
19 //          FRESCOR project (FP6/2005/IST/5-034026) is funded             //
20 //       in part by the European Union Sixth Framework Programme          //
21 //       The European Union is not liable of any use that may be          //
22 //       made of this code.                                               //
23 //                                                                        //
24 //                                                                        //
25 // based on previous work (FSF) done in the FIRST project                 //
26 //                                                                        //
27 //  Copyright (C) 2005  Mälardalen University, SWEDEN                    //
28 //                      Scuola Superiore S.Anna, ITALY                    //
29 //                      Universidad de Cantabria, SPAIN                   //
30 //                      University of York, UK                            //
31 //                                                                        //
32 //  FSF API web pages: http:marte.unican.es/fsf/docs                      //
33 //                     http:shark.sssup.it/contrib/first/docs/            //
34 //                                                                        //
35 //  This file is part of FORB (Frescor Object Request Broker)             //
36 //                                                                        //
37 // FORB is free software; you can redistribute it and/or modify it        //
38 // under terms of the GNU General Public License as published by the      //
39 // Free Software Foundation; either version 2, or (at your option) any    //
40 // later version.  FORB is distributed in the hope that it will be        //
41 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty    //
42 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU    //
43 // General Public License for more details. You should have received a    //
44 // copy of the GNU General Public License along with FORB; see file       //
45 // COPYING. If not, write to the Free Software Foundation, 675 Mass Ave,  //
46 // Cambridge, MA 02139, USA.                                              //
47 //                                                                        //
48 // As a special exception, including FORB header files in a file,         //
49 // instantiating FORB generics or templates, or linking other files       //
50 // with FORB objects to produce an executable application, does not       //
51 // by itself cause the resulting executable application to be covered     //
52 // by the GNU General Public License. This exception does not             //
53 // however invalidate any other reasons why the executable file might be  //
54 // covered by the GNU Public License.                                     //
55 ////////////////////////////////////////////////////////////////////////////
56
57 /**
58  * @file   fres_contract_idl.idl
59  * @author Michal Sojka <sojkam1@fel.cvut.cz>
60  * @date   Sun Sep  7 17:24:37 2008
61  * 
62  * @brief Definitions of data types and constants for FRESCOR contracts.
63  * 
64  */
65
66 #ifndef _CONTRACT_IDL
67 #define _CONTRACT_IDL
68 module fres {
69         module contract {
70                 /// Pointer to the contract type
71                 native ptr;
72
73                 typedef sequence<ptr> ptr_seq;
74                 
75                 /// Globaly unique contract ID
76                 typedef unsigned long long id_t;
77 //              struct id_t {
78 //                      char byte[8];
79 //              };
80
81                 typedef sequence<id_t> id_seq;
82
83         };
84 };
85
86 #endif