NEOCCA bindings Specification  0.2.8
ServiceProvider.hh
Go to the documentation of this file.
1 #ifndef ServiceProvider_hh_seen
2 #define ServiceProvider_hh_seen
3 namespace neo {
4 namespace cca {
5 namespace ports {
6 
7 
8 //===================================================================
9 
36 class ServiceProvider : public virtual neo::cca::Port
37 {
38 public:
39 
40  virtual ~ServiceProvider() {}
41 
47  virtual const std::string createService(const std::string & portType)= 0;
48 
53  virtual void destroyService(const std::string & portName)= 0;
54 
55 }; // end class ServiceProvider
56 
57 } // end namespace ports
58 } // end namespace cca
59 } // end namespace neo
60 
61 #endif // ServiceProvider_hh_seen
NOT YET DEFINED IN CCA.SIDL: ServiceProvider interface implements a non-singleton service Port...
Definition: ServiceProvider.hh:36
A pure-virtual tag interface to identify a function set capable of being exported to or imported from...
Definition: Port.hh:17
virtual const std::string createService(const std::string &portType)=0
Create the Port for the Service, informing the framework through "addProvidesPort()" on the originati...
virtual ~ServiceProvider()
Definition: ServiceProvider.hh:40
This is neoclassic – the ::classic::gov::cca headers updated to be similar to the official CCA speci...
Definition: neocca.hh:62
virtual void destroyService(const std::string &portName)=0
Informs the originating component that the instance of the provided service is no longer needed...