00001
00020 #ifndef InPortProvider_h
00021 #define InPortProvider_h
00022
00023 #include <rtm/NVUtil.h>
00024 #include <string>
00025
00026 namespace RTC
00027 {
00047 class InPortProvider
00048 {
00049 public:
00063
00064
00078 virtual ~InPortProvider();
00079
00097 virtual void publishInterfaceProfile(SDOPackage::NVList& properties);
00098
00116 virtual void publishInterface(SDOPackage::NVList& properties);
00117
00118 protected:
00136 void setDataType(const char* data_type);
00137
00155 void setInterfaceType(const char* interface_type);
00156
00174 void setDataFlowType(const char* dataflow_type);
00175
00193 void setSubscriptionType(const char* subs_type);
00194
00202 SDOPackage::NVList m_properties;
00203
00204 private:
00205 std::string m_dataType;
00206 std::string m_interfaceType;
00207 std::string m_dataflowType;
00208 std::string m_subscriptionType;
00209 };
00210 };
00211 #endif // InPortProvider_h