|
NEOCCA bindings Specification
0.2.8
|
NOT YET DEFINED IN CCA.SIDL: ServiceRegistry is a Port that is primordially provided by the framework and can be fished out by a component wishing to provide service Ports. More...
#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. More... | |
| 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. More... | |
| 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. More... | |
Public Member Functions inherited from neo::cca::Port | |
| virtual | ~Port () |
| obligatory virtual destructor More... | |
NOT YET DEFINED IN CCA.SIDL: ServiceRegistry is a Port that is primordially provided by the framework and can be fished out by a component wishing to provide service Ports.
Each binding has to provide a wrapping of this Service.
|
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.
|
pure virtual |
Add a "reusable" service gov.cca.Port for other components to use subsequently.
|
pure virtual |
Inform the framework that this service Port is no longer to be used, subsequent to this call.
This is likely to cause an exception unless all the ports obtained from the previously added services have been released and disconnected.
1.8.13