Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
#include <usServiceRegistration.h>
Public Member Functions | |
ServiceRegistration () | |
ServiceRegistrationBase & | operator= (int null) |
ServiceRegistrationBase & | operator= (const ServiceRegistrationBase ®istration) |
ServiceReference< I1 > | GetReference (InterfaceType< I1 >) const |
ServiceReference< I2 > | GetReference (InterfaceType< I2 >) const |
ServiceReference< I3 > | GetReference (InterfaceType< I3 >) const |
Public Member Functions inherited from us::ServiceRegistrationBase | |
ServiceRegistrationBase (const ServiceRegistrationBase ®) | |
operator bool_type () const | |
ServiceRegistrationBase & | operator= (int null) |
~ServiceRegistrationBase () | |
ServiceReferenceBase | GetReference (const std::string &interfaceId=std::string()) const |
void | SetProperties (const ServiceProperties &properties) |
void | Unregister () |
bool | operator< (const ServiceRegistrationBase &o) const |
bool | operator== (const ServiceRegistrationBase ®istration) const |
ServiceRegistrationBase & | operator= (const ServiceRegistrationBase ®istration) |
A registered service.
The framework returns a ServiceRegistration
object when a ModuleContext::RegisterService()
method invocation is successful. The ServiceRegistration
object is for the private use of the registering module and should not be shared with other modules.
The ServiceRegistration
object may be used to update the properties of the service or to unregister the service.
S | Class type of the service interface |
Definition at line 48 of file usServiceRegistration.h.
|
inline |
Creates an invalid ServiceRegistration object. You can use this object in boolean expressions and it will evaluate to false
.
Definition at line 58 of file usServiceRegistration.h.
|
inline |
Returns a ServiceReference
object for a service being registered.
The ServiceReference
object may be shared with other modules.
std::logic_error | If this ServiceRegistration object has already been unregistered or if it is invalid. |
ServiceReference
object. Definition at line 75 of file usServiceRegistration.h.
|
inline |
Returns a ServiceReference
object for a service being registered.
The ServiceReference
object may be shared with other modules.
std::logic_error | If this ServiceRegistration object has already been unregistered or if it is invalid. |
ServiceReference
object. Definition at line 79 of file usServiceRegistration.h.
|
inline |
Returns a ServiceReference
object for a service being registered.
The ServiceReference
object may be shared with other modules.
std::logic_error | If this ServiceRegistration object has already been unregistered or if it is invalid. |
ServiceReference
object. Definition at line 83 of file usServiceRegistration.h.
ServiceRegistrationBase& us::ServiceRegistrationBase::operator= |
ServiceRegistrationBase& us::ServiceRegistrationBase::operator= |
Releases any resources held or locked by this ServiceRegistrationBase
and renders it invalid.