|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
#include <usServiceRegistration.h>


Public Member Functions | |
| ServiceRegistration () | |
Creates an invalid ServiceRegistration object. You can use this object in boolean expressions and it will evaluate to false. More... | |
| ServiceRegistrationBase & | operator= (int null) |
Releases any resources held or locked by this ServiceRegistrationBase and renders it invalid. More... | |
| ServiceRegistrationBase & | operator= (const ServiceRegistrationBase ®istration) |
| Copy assignment operator. More... | |
| ServiceReference< I1 > | GetReference (InterfaceType< I1 >) const |
Returns a ServiceReference object for a service being registered. More... | |
| ServiceReference< I2 > | GetReference (InterfaceType< I2 >) const |
Returns a ServiceReference object for a service being registered. More... | |
| ServiceReference< I3 > | GetReference (InterfaceType< I3 >) const |
Returns a ServiceReference object for a service being registered. More... | |
Public Member Functions inherited from us::ServiceRegistrationBase | |
| ServiceRegistrationBase (const ServiceRegistrationBase ®) | |
| Copy constructor. More... | |
| operator bool_type () const | |
A boolean conversion operator converting this ServiceRegistrationBase object to true if it is valid and to false otherwise. A SeriveRegistration object is invalid if it was default-constructed or was invalidated by assigning 0 to it. More... | |
| ServiceRegistrationBase & | operator= (int null) |
Releases any resources held or locked by this ServiceRegistrationBase and renders it invalid. More... | |
| ~ServiceRegistrationBase () | |
| Destructor. More... | |
| ServiceReferenceBase | GetReference (const std::string &interfaceId=std::string()) const |
Returns a ServiceReference object for a service being registered. More... | |
| void | SetProperties (const ServiceProperties &properties) |
| Updates the properties associated with a service. More... | |
| void | Unregister () |
Unregisters a service. Remove a ServiceRegistrationBase object from the framework service registry. All ServiceRegistrationBase objects associated with this ServiceRegistrationBase object can no longer be used to interact with the service once unregistration is complete. More... | |
| bool | IsAvailable () const |
| Returns whether the service is still registered. More... | |
| bool | operator< (const ServiceRegistrationBase &o) const |
| Compare two ServiceRegistrationBase objects. More... | |
| bool | operator== (const ServiceRegistrationBase ®istration) const |
| Equality comparison operator. More... | |
| bool | operator== (std::nullptr_t) const noexcept |
| Equality comparison with nullptr. More... | |
| ServiceRegistrationBase & | operator= (const ServiceRegistrationBase ®istration) |
| Copy assignment operator. More... | |
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 39 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 49 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 66 of file usServiceRegistration.h.
References us::ServiceRegistrationBase::GetReference().
|
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 70 of file usServiceRegistration.h.
References us::ServiceRegistrationBase::GetReference().
|
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 74 of file usServiceRegistration.h.
References us::ServiceRegistrationBase::GetReference().
| ServiceRegistrationBase& us::ServiceRegistrationBase::operator= |
Copy assignment operator.
| ServiceRegistrationBase& us::ServiceRegistrationBase::operator= |
Releases any resources held or locked by this ServiceRegistrationBase and renders it invalid.