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