00001
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef OutPortProvider_h
00030 #define OutPortProvider_h
00031
00032 #include <rtm/NVUtil.h>
00033 #include <string>
00034
00035 namespace RTC
00036 {
00067 class OutPortProvider
00068 {
00069 public:
00077 virtual ~OutPortProvider(){};
00078
00079 virtual void publishInterfaceProfile(SDOPackage::NVList& properties);
00080
00081 virtual void publishInterface(SDOPackage::NVList& properties);
00082
00083 protected:
00084 void setPortType(const char* port_type);
00085 void setDataType(const char* data_type);
00086 void setInterfaceType(const char* interface_type);
00087 void setDataFlowType(const char* dataflow_type);
00088 void setSubscriptionType(const char* subs_type);
00089
00090 SDOPackage::NVList m_properties;
00091
00092 private:
00093 std::string m_portType;
00094 std::string m_dataType;
00095 std::string m_interfaceType;
00096 std::string m_dataflowType;
00097 std::string m_subscriptionType;
00098
00099 };
00100 };
00101
00102 #endif // OutPortProvider_h