diff options
Diffstat (limited to 'modules/CIAO/tests/IDL_Test/Reused_Facet_Interface/Basic.idl')
-rw-r--r-- | modules/CIAO/tests/IDL_Test/Reused_Facet_Interface/Basic.idl | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/modules/CIAO/tests/IDL_Test/Reused_Facet_Interface/Basic.idl b/modules/CIAO/tests/IDL_Test/Reused_Facet_Interface/Basic.idl new file mode 100644 index 00000000000..4e686a47fab --- /dev/null +++ b/modules/CIAO/tests/IDL_Test/Reused_Facet_Interface/Basic.idl @@ -0,0 +1,54 @@ +// $Id$ +//============================================================================= +/** + * @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> + +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; + }; + + eventtype TimeOut {}; + eventtype DataAvailable {}; +}; + +#endif /* CIAO_BASIC_IDL */ |