00001 // -*- IDL -*- 00022 #ifndef __RTCInPort_idl__ 00023 #define __RTCInPort_idl__ 00024 00025 00026 #include "RTMBase.idl" 00027 00028 module RTM { 00044 typedef string SubscriptionID; 00045 00046 00054 struct PortProfile 00055 { 00063 string name; 00064 00080 CORBA::TypeCode port_type; 00081 00089 NVList properties; 00090 }; 00091 00092 00111 interface InPort 00112 { 00127 exception Disconnected{}; 00128 00140 void put(in any data) raises(Disconnected); 00141 00142 // Disconnect 00143 // void disconnect(in SubscriptionID ID); 00144 00152 readonly attribute PortProfile profile; 00153 00154 }; 00155 00163 typedef sequence<InPort> InPortList; 00164 00172 typedef sequence<PortProfile> PortProfileList; 00173 00174 }; // end of module RTM 00175 00176 #endif // __RTCInPort_idl__ 00177