00001 // -*- IDL -*- 00027 /* 00028 * $Log: RTCInPort.idl,v $ 00029 * Revision 1.1.1.1 2005/05/12 09:06:18 n-ando 00030 * Public release. 00031 * 00032 * 00033 */ 00034 00035 #ifndef __RTCInPort_idl__ 00036 #define __RTCInPort_idl__ 00037 00038 00039 #include "RTMBase.idl" 00040 00041 module RTM { 00057 typedef string SubscriptionID; 00058 00059 00067 struct PortProfile 00068 { 00076 string name; 00077 00093 CORBA::TypeCode port_type; 00094 00102 NVList properties; 00103 }; 00104 00105 00124 interface InPort 00125 { 00140 exception Disconnected{}; 00141 00153 void put(in any data) raises(Disconnected); 00154 00155 // Disconnect 00156 // void disconnect(in SubscriptionID ID); 00157 00165 readonly attribute PortProfile profile; 00166 00167 }; 00168 00176 typedef sequence<InPort> InPortList; 00177 00185 typedef sequence<PortProfile> PortProfileList; 00186 00187 }; // end of module RTM 00188 00189 #endif // __RTCInPort_idl__ 00190