00001
00020 #ifndef OutPortProvider_h
00021 #define OutPortProvider_h
00022
00023 #include <rtm/NVUtil.h>
00024 #include <string>
00025
00026 namespace RTC
00027 {
00085 class OutPortProvider
00086 {
00087 public:
00098 virtual ~OutPortProvider(){};
00099
00123 virtual void publishInterfaceProfile(SDOPackage::NVList& properties);
00124
00150 virtual void publishInterface(SDOPackage::NVList& properties);
00151
00152 protected:
00170 void setPortType(const char* port_type);
00171
00189 void setDataType(const char* data_type);
00190
00208 void setInterfaceType(const char* interface_type);
00209
00227 void setDataFlowType(const char* dataflow_type);
00228
00246 void setSubscriptionType(const char* subs_type);
00247
00255 SDOPackage::NVList m_properties;
00256
00257 private:
00258 std::string m_portType;
00259 std::string m_dataType;
00260 std::string m_interfaceType;
00261 std::string m_dataflowType;
00262 std::string m_subscriptionType;
00263 };
00264 };
00265 #endif // OutPortProvider_h