00001
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #ifndef InPortProvider_h
00035 #define InPortProvider_h
00036
00037 #include <rtm/NVUtil.h>
00038 #include <string>
00039
00040 namespace RTC
00041 {
00051 class InPortProvider
00052 {
00053 public:
00061
00062
00070 virtual ~InPortProvider(){};
00071
00072 virtual void publishInterfaceProfile(SDOPackage::NVList& properties);
00073
00074 virtual void publishInterface(SDOPackage::NVList& properties);
00075
00076 protected:
00077 void setDataType(const char* data_type);
00078 void setInterfaceType(const char* interface_type);
00079 void setDataFlowType(const char* dataflow_type);
00080 void setSubscriptionType(const char* subs_type);
00081
00082 SDOPackage::NVList m_properties;
00083
00084 private:
00085 std::string m_dataType;
00086 std::string m_interfaceType;
00087 std::string m_dataflowType;
00088 std::string m_subscriptionType;
00089
00090
00091
00092 };
00093
00094 };
00095 #endif // InPortProvider_h
00096