Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

OutPortProvider.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00020 /*
00021  * $Log: OutPortProvider.h,v $
00022  * Revision 1.2  2007/01/06 17:58:52  n-ando
00023  * Interface and its profile publish functions (publishInterfaceProfile()
00024  * and publishInterface()) are added.
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 }; // namespace RTC
00101 
00102 #endif // OutPortProvider_h

Generated on Fri Oct 5 05:15:59 2007 for OpenRTM by  doxygen 1.4.1