#ifndef INTEROUTARGS_T_IDL #define INTEROUTARGS_T_IDL #pragma ciao lem "Base/InterOutArgsTE.idl" #pragma ciao ami4ccm interface "InterOutArgsT::MyFoo" #pragma ciao lem "Base/InterOutArgsTAE.idl" #pragma ciao ami4ccm idl "Base/InterOutArgsTA.idl" module InterOutArgsT { typedef short short_array[5]; // Mixed struct struct TestTopic { string key; long x; }; // String struct struct TopicString { string key; string x_str; }; // Array struct TopicArray { string key; short_array x_array; }; // Union union X_Union switch (short) { case 0: string x_test; case 1: long x_long; }; // Sequence struct test { short x_test; string x_teststr; }; typedef sequence test_seq; enum test_enum { ZERO, ONE, TWO }; exception InternalError { long id; string error_string; }; // Sender/Receiver interface interface MyFoo { void var_outs (in string in_str, out string answer, out double d_cmd, out long l_cmd ) raises (InternalError); void var_div_outs (out TestTopic test_topic, out TopicString topic_str, out TopicArray topic_arr) raises (InternalError); void var_div2_outs (out X_Union x_uni, out test_seq seq) raises (InternalError); void enum_out (out test_enum out_test) raises (InternalError); }; }; #endif