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

InPortProvider.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00020 /*
00021  * $Log: InPortProvider.h,v $
00022  * Revision 1.4  2007/01/21 09:49:52  n-ando
00023  * The destructor was moved to cpp file.
00024  *
00025  * Revision 1.3  2007/01/06 17:53:42  n-ando
00026  * Interface and its profile publish functions (publishInterfaceProfile()
00027  * and publishInterface()) are added.
00028  *
00029  * Revision 1.2  2006/12/02 18:41:51  n-ando
00030  * A trivial fix.
00031  *
00032  * Revision 1.1  2006/11/27 09:44:40  n-ando
00033  * The first commitment.
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     //    InPortProvider();
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 };     // namespace RTC
00096 #endif // InPortProvider_h
00097 

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