DataPort.idl

Go to the documentation of this file.
00001 // -*- IDL -*-
00021 #ifndef DataInPort_idl
00022 #define DataInPort_idl
00023 
00024 module RTC
00025 {
00026   interface InPortAny
00027   {
00028     void put(in any data);
00029   };
00030 
00031 
00032   interface OutPortAny
00033   {
00034     any get();
00035   };
00036 
00037 };
00038 
00039 
00040 module OpenRTM
00041 {
00042   
00043   enum PortStatus
00044   {
00045     PORT_OK,
00046     PORT_ERROR,
00047     BUFFER_FULL,
00048     BUFFER_EMPTY,
00049     BUFFER_TIMEOUT,
00050     UNKNOWN_ERROR
00051   };
00052 
00053   typedef sequence<octet> CdrData;
00054 
00055   interface InPortCdr
00056   {
00057     PortStatus put(in CdrData data);
00058   };
00059 
00060   interface OutPortCdr
00061   {
00062     PortStatus get(out CdrData data);
00063   };
00064 };
00065 #endif

Generated on Sun May 24 14:09:07 2009 for OpenRTM by  doxygen 1.5.3