NEOCCA bindings Specification  0.2.8
ServiceProvider.hh
Go to the documentation of this file.
00001 #ifndef ServiceProvider_hh_seen
00002 #define ServiceProvider_hh_seen
00003 namespace neo {
00004 namespace cca {
00005 namespace ports {
00006 
00007 
00008 //===================================================================
00009 
00036 class ServiceProvider : public virtual neo::cca::Port
00037 {
00038 public:
00039         
00040   virtual ~ServiceProvider() {}
00041 
00047   virtual const std::string createService(const std::string & portType)= 0;
00048 
00053   virtual void destroyService(const std::string & portName)= 0;   
00054 
00055 }; // end class ServiceProvider
00056 
00057 }  // end namespace ports
00058 }  // end namespace cca
00059 }  // end namespace neo
00060 
00061 #endif // ServiceProvider_hh_seen