00001 // -*- C++ -*- 00020 #ifndef PublisherFactory_h 00021 #define PublisherFactory_h 00022 00023 #include <rtm/Properties.h> 00024 00025 namespace RTC 00026 { 00027 class PublisherBase; 00028 class InPortConsumer; 00029 class Properties; 00030 00051 class PublisherFactory 00052 { 00053 public: 00067 PublisherFactory(){}; 00068 00082 virtual ~PublisherFactory(){}; 00083 00126 PublisherBase* create(InPortConsumer* consumer, Properties& property); 00127 00145 void destroy(PublisherBase *publisher); 00146 protected: 00147 00148 private: 00149 00150 }; 00151 }; // namespace RTC 00152 #endif // PublisherFactory_h 00153