#include <ServiceRegistry.hh>
Public Member Functions | |
virtual | ~ServiceRegistry () |
virtual bool | addService (const std::string &type, ServiceProvider *portProvider)=0 |
Add a ServiceProvider that can be asked to produce service Port's for other components to use subsequently. | |
virtual bool | addSingletonService (const std::string &type, neo::cca::Port *service)=0 |
Add a "reusable" service gov.cca.Port for other components to use subsequently. | |
virtual void | removeService (const std::string &serviceType)=0 |
Inform the framework that this service Port is no longer to be used, subsequent to this call. |
Each binding has to provide a wrapping of this Service.
virtual bool neo::cca::ports::ServiceRegistry::addService | ( | const std::string & | type, | |
ServiceProvider * | portProvider | |||
) | [pure virtual] |
Add a ServiceProvider that can be asked to produce service Port's for other components to use subsequently.
True means success. False means that for some reason, the provider isn't going to function.
virtual bool neo::cca::ports::ServiceRegistry::addSingletonService | ( | const std::string & | type, | |
neo::cca::Port * | service | |||
) | [pure virtual] |
Add a "reusable" service gov.cca.Port for other components to use subsequently.
virtual void neo::cca::ports::ServiceRegistry::removeService | ( | const std::string & | serviceType | ) | [pure virtual] |