Allows multiple service objects for a service to be obtained. More...


Public Member Functions | |
| InterfaceMap | GetService () const | 
| Returns a service object as a InterfaceMap instance for the referenced service.  More... | |
| void | UngetService (const InterfaceMap &service) | 
| Releases a service object for the referenced service.  More... | |
| ServiceReferenceU | GetServiceReference () const | 
| Returns the ServiceReference for this ServiceObjects object.  More... | |
Allows multiple service objects for a service to be obtained.
This is a specialization of the ServiceObjects class template for "void", which maps to all service interface types.
| InterfaceMap ServiceObjects< void >::GetService | ( | ) | const | 
Returns a service object as a InterfaceMap instance for the referenced service.
This method is the same as ServiceObjects<S>::GetService() except for the return type. Further, this method will always return an empty InterfaeMap object when the referenced service has been unregistered.
| std::logic_error | If the ModuleContext used to create this ServiceObjects object is no longer valid. | 
| ServiceReferenceU ServiceObjects< void >::GetServiceReference | ( | ) | const | 
Returns the ServiceReference for this ServiceObjects object.
| void ServiceObjects< void >::UngetService | ( | const InterfaceMap & | service | ) | 
Releases a service object for the referenced service.
This method is the same as ServiceObjects<S>::UngetService() except for the parameter type.
| service | An InterfaceMap object previously provided by this ServiceObjects object. | 
| std::logic_error | If the ModuleContext used to create this ServiceObjects object is no longer valid. | 
| std::invalid_argument | If the specified service was not provided by this ServiceObjects object. |