00001 // -*- C++ -*- 00020 /* 00021 * $Log: PublisherFactory.h,v $ 00022 * Revision 1.2.4.1 2007/06/22 10:55:11 n-ando 00023 * The bug of OutPort's disconnect operation was fixed. 00024 * 00025 * Revision 1.2 2007/01/06 18:00:31 n-ando 00026 * Some trivial fixes. 00027 * 00028 * Revision 1.1 2006/11/27 09:44:45 n-ando 00029 * The first commitment. 00030 * 00031 */ 00032 00033 #ifndef PublisherFactory_h 00034 #define PublisherFactory_h 00035 00036 #include <rtm/Properties.h> 00037 00038 namespace RTC 00039 { 00040 class PublisherBase; 00041 class InPortConsumer; 00042 class Properties; 00056 class PublisherFactory 00057 { 00058 public: 00066 PublisherFactory(){}; 00067 00075 virtual ~PublisherFactory(){}; 00076 00084 PublisherBase* create(InPortConsumer* consumer, Properties& property); 00085 00086 void destroy(PublisherBase *publisher); 00087 protected: 00088 00089 private: 00090 00091 }; 00092 00093 }; // namespace RTC 00094 #endif // PublisherFactory_h 00095